We are utilizing a different flag on net-snmp and there is a bug in old versions that has invalid output.
@murrant Thanks again for the reply,
So the only way to fix my issue is to upgrade net-snmp?
Thanks,
-Mike
@mvoity Hmm, I just looked through the code and Iām wrong about net-snmp. We arenāt using that new flag here.
The devices you are having issues with are IOS-XR? I donāt see that we have any test data for IOS-XR BGP. Perhaps something is different on them than IOS and IOS-XE.
Would you be willing to send me some test data?
./scripts/collect-snmp-data.php -m bgp-peers -h HOSTNAME
You can either sanitize it yourself or send me the data privately and Iāll sanitize it for you.
Have you been able to see anything with the logs and info i provided you?
The alerts are still active for my ASR9006, and the sessions are still up.
Thanks!
-Mike
I have a patch I was working on but not finished yet. Iād appreciate if you test it after it is done.
Sorry for not replying sooner -
how do i merge -
bash-4.1$ ./daily.sh
Updating to latest codebase FAIL
error: Your local changes to ātests/snmpsim/iosxr.snmprecā would be overwritten by merge. Aborting.
Please, commit your changes or stash them before you can merge.
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
./scripts/github-remove
Thanks for your reply,
I am not sure I follow you -
bash-4.1$ ./scripts/github-remove
Traceback (most recent call last):
File ā./scripts/github-removeā, line 3, in
from subprocess import call, check_output
ImportError: cannot import name check_output
Cool, python <2.7
Just
git checkout tests/snmpsim/iosxr.snmprec
./daily.sh
@murrant I meant to reply earlier, Work and Life has gotten in the way.
That fix didnāt remove the alerts.
What data do you need to look at it deeper?
-Mike
Run ./daily.sh
as the librenms user again and paste the output.
here you go:
[root@librenms librenms]# su librenms
bash-4.1$ pwd
/opt/librenms
bash-4.1$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updated from 5af51fa to 7b6e4f9 OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Looks like it is updating ok now. Delete the entry from the notifications table in the database. Likely something odd happened to you and now this notification is āorphanedā.
@murrant
The BGP alerts thing we had a few months ago has re-appeared.
I have deleted the alert and then re-added it. Still showing alerts down that are actually up.
What debug info do you need.
-Mike
We talked about this about 6 months ago.
I went into the "bgpPeers " table and deleted all the peers that had bad /no information -
Here is one with good information -
I think it may be a bad MIB or its not doing the SNMPwalk correctly.
Ideas?
-Mike