Check BGP Peer State with Mikrotik

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
achahine21
Posts: 8
Joined: Thu Jun 07, 2018 12:31 am

Check BGP Peer State with Mikrotik

Post by achahine21 »

Dears,

Kindly note that i'm trying to get the status of a BGP peer between my mikrotik router and my Customer usingNAGIOS.
I tried this plugin:
https://exchange.nagios.org/components/ ... 9&cf_id=29
But i got the below output:

Code: Select all

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.15.3.1.2.192.168.60.17

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.4.1.9.9.187.1.2.4.1.1.192.168.60.17.1.1

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.15.3.1.12.192.168.60.17

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.15.3.1.13.192.168.60.17

expr: syntax error
expr: syntax error
expr: non-integer argument
expr: non-integer argument
line: neighbor:192.168.60.17:sent::received:
./check_bgp_neighbors.sh: line 107: [: -eq: unary operator expected
Failed: status: prefixes: sent: received:
It's look like the problem is related to the OIDs, but i'm not able to find any new OIDs or new scripts.

Please let me know if there's any other way to get the status of BGP Peer with mikrotik router.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Check BGP Peer State with Mikrotik

Post by tgriep »

That message usually points to the device not responding to the OID's so you may want to verify that it is setup to be polled by SNMP and that is there are any settings that have to be enabled in the device, make sure they are.

Also, take a look at this link for more things to try.
http://www.net-snmp.org/wiki/index.php/ ... cations_09

Last, check with the manufacturer to see if the BGP status can be viewed by SNMP.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked