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
Nagios xi 5.4.7 and Cisco C9500 bandwidth monitor
-
- Posts: 11
- Joined: Tue Apr 30, 2019 11:31 am
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Nagios xi 5.4.7 and Cisco C9500 bandwidth monitor
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?
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
-
- Posts: 11
- Joined: Tue Apr 30, 2019 11:31 am
Re: Nagios xi 5.4.7 and Cisco C9500 bandwidth monitor
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
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
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Nagios xi 5.4.7 and Cisco C9500 bandwidth monitor
Please run these commands:
Then wait 15 minutes and see if they are not working.
Code: Select all
chown -R apache.nagios /var/lib/mrtg
chmod -R 775 /var/lib/mrtg
-
- Posts: 11
- Joined: Tue Apr 30, 2019 11:31 am
Re: Nagios xi 5.4.7 and Cisco C9500 bandwidth monitor
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Nagios xi 5.4.7 and Cisco C9500 bandwidth monitor
Locking thread to prevent duplicate work, please continue in your open ticket with the same topicCSOST 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