Page 1 of 2
Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Thu Feb 18, 2021 12:43 am
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..!!
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Thu Feb 18, 2021 6:00 pm
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!
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Mon Feb 22, 2021 3:21 pm
by sneha.irali
Sure, Let me check on the pulg in provided and get back to you.
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Tue Feb 23, 2021 3:49 pm
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.
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Mon Mar 01, 2021 4:06 am
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.
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Mon Mar 01, 2021 5:07 am
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".
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Mon Mar 01, 2021 7:08 pm
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
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Thu Mar 04, 2021 2:29 am
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
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Thu Mar 04, 2021 2:33 am
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
Re: Setup F5 device monitoring on Nagios XI 8.5.1
Posted: Thu Mar 04, 2021 3:40 am
by sneha.irali
b/w for the same device I see as 0:
OK - Current BW in: 0Mbps Out: 0Mbps