Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices without names in arp-scan are not able to be pushed to InfluxDB #124

Closed
teh-hippo opened this issue Sep 6, 2024 · 0 comments · Fixed by #125
Closed

Devices without names in arp-scan are not able to be pushed to InfluxDB #124

teh-hippo opened this issue Sep 6, 2024 · 0 comments · Fixed by #125

Comments

@teh-hippo
Copy link
Contributor

Several devices on my network cause the following error message:

2024/09/06 15:18:55 ERROR invalid: unable to parse 'WatchYourLAN,IP=192.168.0.14,iface=eth0,name=,mac=aa:bb:cc:dd:11:22,known=0 state=1': missing tag value

I was able to trace this back to internal/influx/influx.go, where the oneHist name being blank caused the writeAPI to error.

Example, working line:
"WatchYourLAN,IP=10.0.0.5, iface=eth1,name=espressif,mac=aa:bb:cc:dd:11:22,known=0 state=1"

Problematic line:
"WatchYourLAN,IP=10.0.0.14,iface=eth1,name=,mac=aa:bb:cc:dd:11:23,known=0 state=1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant