Closed photomatix18 closed 1 year ago
Hi there,
Can you please verify that your returned data has the same format as described in the docs here?
https://github.com/jokob-sk/Pi.Alert/tree/main/front/plugins/snmp_discovery
This issue might be relevant too: https://github.com/jokob-sk/Pi.Alert/issues/256
This is my output
iso.3.6.1.2.1.4.22.1.2.3.192.168.20.1 "52 54 00 BC CC D4 "
Compared to what is expected
iso.3.6.1.2.1.3.1.1.2.3.1.192.168.1.2 "6C 6C 6C 6C 6C 6C "
The only difference I can see is the amount of characters in the strings. Would that affect anything?
Hi!
Thanks for checking!
The SNMP Discovery script is pretty simple:
The processing of the output is pretty strict and tested only on the mentioned use-case.
I tried fixing the script for your input, but I'd need you to test this to verify this fix:
https://github.com/jokob-sk/Pi.Alert/commit/a318a15cad0d1835b871b4fd27e0a5c040bd7e67
To test this, grab the latest dev build here:
https://registry.hub.docker.com/r/jokobsk/pi.alert_dev
If this doesn't work, feel free to submit a PR to the above code file that would process pfsense entries appropriately.
Thanks, j
Fantastic, that works!
Keeping open until in production image.
Would this theoretically also work with OPNsense as well since they're somewhat similar?
It should is the protocol is respected. You can test this in the _dev
image :)
Should be included in the latest release > Closing
Describe the issue I can't seem to get Pi.Alert to ingest the ARP tables from my pfSense box. When I run
snmpwalk -v 2c -c public -OXsq 192.168.0.1 .1.3.6.1.2.1.4.22.1.2
from the docker cli, I get the expected output so I know the docker container is able to receive the info.Paste last few lines from
pialert.log
Paste your
pialert.conf
(remove personal info)Paste your
docker-compose.yml
and.env
(remove personal info)docker run