Setup F5 device monitoring on Nagios xi 8.5.1

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

Hi Team,

I want to Setup F5 device monitoring on Nagios xi 8.5.1, what is the procedure I have to follow.

Can anyone help me out here.

Thanks in advance..!!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by ssax »

We don't have any official F5 plugins but you can see the 3rd party ones we have here:

https://exchange.nagios.org/directory/P ... rk-Gear/F5

You can follow this guide here for most plugins:

https://assets.nagios.com/downloads/nag ... ios-xi.pdf

A lot of customers use this plugin:

https://labs.consol.de/nagios/check_nwc ... index.html

Which requires a different setup:

Code: Select all

wget https://labs.consol.de/assets/downloads/nagios/check_nwc_health-8.3.1.tar.gz
tar zxf check_nwc_health-8.3.1.tar.gz
cd check_nwc_health-8.3.1
./configure
make all
make install
Then test it out against the F5:

Code: Select all

/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode cpu-load
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode hardware-health
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode memory-usage
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode disk-usage
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode interface-usage
/usr/local/nagios/libexec/check_nwc_health --hostname X.X.X.X -t 60 --community 'yourcommunity' --mode interface-errors
You can see the plugin help for other options:

Code: Select all

/usr/local/nagios/libexec/check_nwc_health -h
If you have any questions on a specific plugin, please link the plugin to us and send any errors you are seeing and the command you are running.

Thank you!
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

Sure, Let me check on the pulg in provided and get back to you.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by benjaminsmith »

Hi,
Sure, Let me check on the pulg in provided and get back to you.
Sounds good. Just update the post when you are ready.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

Hi,

I added the F5 devices using the network switch/router wizard, it was successful. But for few device ports I see the below o/p. What can cause this problem..?

This o/p is for both utilization and port status.

[root@nagios: /usr/local/nagios/libexec]# ./check_ifoperstatnag 1296 -v3 -u 'xyz' -A 'abcdef' -a 'SHA' -l 'authNoPriv' 10.x.x.x
UNKNOWN - No info is being retrieved

Note: I have hided the snmp username and password.
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

I checked for SNMP as well it is responding.

few ports on the same device are returning the values and few say this "no info being retrieved".
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by ssax »

What does this output?

Code: Select all

snmpget -v3 -u 'xyz' -A 'abcdef' -a 'SHA' -l 'authNoPriv' 10.x.x.x ifOperStatus.1296
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

[root@nagios: /usr/local/nagios/libexec]# ./check_ifoperstatnag 1296 -v3 -u 'xyz' -A 'abcdef' -a 'SHA' -l 'authNoPriv' 10.x.x.x
UNKNOWN - No info is being retrieved
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

here is the o/p:

$snmpget -v3 -l authNoPriv -u xyz -a SHA -A 'abcdef' 10.x.x.x ifOperStatus.1296
IF-MIB::ifOperStatus.1296 = No Such Instance currently exists at this OID
sneha.irali
Posts: 141
Joined: Fri Jan 15, 2021 3:56 am

Re: Setup F5 device monitoring on Nagios xi 8.5.1

Post by sneha.irali »

b/w for the same device I see as 0:

OK - Current BW in: 0Mbps Out: 0Mbps