Page 1 of 1

Nagios XI 5.4.7 and Cisco C9500 bandwidth monitor

Posted: Tue Sep 22, 2020 4:22 pm
by CSOST
Hello all

I have Nagios 5.4.7 that monitor network equipment, we added new cisco switch C9500 to the network and we used the SNMP wizard to add the info from the cisco .

seems that Nagios open new services to read the bandwidth from the cisco switch but currently all of them show 0 MB
Check_command : check_xi_service_mrtgraf

Commandview : $USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$

and for $1ARG1 : 192.168.20.67_1.rrd
$arg2$ 500.0,500.0
$ARG3$ 800.0,800.0
$ARG4$ M

most of the ports are 25 GB port and some are 1 GB for managment, but none of them send any bandwidth info , what is the best way or plugin to read the bandwidth info from new cisco switces to nagios XI ?

thank you

Re: Nagios XI 5.4.7 and Cisco C9500 bandwidth monitor

Posted: Wed Sep 23, 2020 4:32 pm
by ssax
You added them with Configure > Configuration Wizards > Network / Switch Router wizard, correct?

Please debug via this KB article:

https://support.nagios.com/kb/article/n ... hs-29.html

You'll need to wait 15 or so for data to start showing up once they've been added.

What is the output of these commands?

Code: Select all

ls -ld /var/lib/mrtg
ls -l /var/lib/mrtg

Re: Nagios XI 5.4.7 and Cisco C9500 bandwidth monitor

Posted: Fri Sep 25, 2020 9:48 am
by CSOST
Hello, thank u for the info

so we have
drwxr-xr-x. 2 root root 12288 Sep 25 14:54 /var/lib/mrtg

and then u have list of files
-rw-r--r-- 1 root root 105312 Sep 5 11:29 XX.XX.XX.XX_30.rrd for example

Re: Nagios XI 5.4.7 and Cisco C9500 bandwidth monitor

Posted: Mon Sep 28, 2020 9:32 am
by ssax
Please run these commands:

Code: Select all

chown -R apache.nagios /var/lib/mrtg
chmod -R 775 /var/lib/mrtg
Then wait 15 minutes and see if they are not working.

Re: Nagios XI 5.4.7 and Cisco C9500 bandwidth monitor

Posted: Tue Sep 29, 2020 7:36 am
by CSOST
Thank you, i tried that but still no luck, network bandwidth shows 0b on all ports even that the switch itself shows data been transmit

Re: Nagios XI 5.4.7 and Cisco C9500 bandwidth monitor

Posted: Tue Sep 29, 2020 7:55 am
by scottwilkerson
CSOST wrote:Thank you, i tried that but still no luck, network bandwidth shows 0b on all ports even that the switch itself shows data been transmit
Locking thread to prevent duplicate work, please continue in your open ticket with the same topic