Hi. I am getting desperate over bandwidth monitoring.
I've added a CISCO router to the Nagios XI monitoring and used "Network Switch / Router" wizard.
I've added both port numbers and port names and the bandwidth they all show is 0!!!
When I've added manually an snmp_check with ifHCInOctets/ifHCOutOctets on one of the interfaces of CISCO
it started monitoring.
I attach two printscreens which show that wizard created bandwidth checks show 0 Mbps and
the two manual checks not only show numbers, but the numbers change - so they actually do monitor.
Bandwidth monitoring (again)
Bandwidth monitoring (again)
You do not have the required permissions to view the files attached to this post.
Re: Bandwidth monitoring (again)
davidha,
Lets look at the raw data:
Go into the command lineof your Nagios XI box and move to /var/lib/mrtg/
Look at the rrds that exist and pick one, use that ones filename in place of <filename>
rrdtool fetch <filename> AVERAGE --start -1h
What is this returning?
Lets look at the raw data:
Go into the command lineof your Nagios XI box and move to /var/lib/mrtg/
Look at the rrds that exist and pick one, use that ones filename in place of <filename>
rrdtool fetch <filename> AVERAGE --start -1h
What is this returning?
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Bandwidth monitoring (again)
rrdtool fetch 172.21.52.1_3.rrd AVERAGE --start -1h
ds0 ds1
1314853800: nan nan
1314854100: nan nan
1314854400: nan nan
1314854700: nan nan
1314855000: nan nan
1314855300: nan nan
1314855600: nan nan
1314855900: nan nan
1314856200: nan nan
1314856500: nan nan
1314856800: nan nan
1314857100: nan nan
1314857400: nan nan
ds0 ds1
1314853800: nan nan
1314854100: nan nan
1314854400: nan nan
1314854700: nan nan
1314855000: nan nan
1314855300: nan nan
1314855600: nan nan
1314855900: nan nan
1314856200: nan nan
1314856500: nan nan
1314856800: nan nan
1314857100: nan nan
1314857400: nan nan
Re: Bandwidth monitoring (again)
And just to add some more info - I've added monitoring for CISCO 3750x and it also shows zero bandwidth
Re: Bandwidth monitoring (again)
Can you try this?:
chmod 777 /var/lib/mrtg -R
Then wait a bit and check the RRDs again?
chmod 777 /var/lib/mrtg -R
Then wait a bit and check the RRDs again?
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Bandwidth monitoring (again)
I did it and have got the same result.
Re: Bandwidth monitoring (again)
davidha,
It sounds like there is some location/permissions snafu with MRTG. Since you've already chmod'd that directory, crack open the mrtg.cfg at
/etc/mrtg/mrtg.cfg
You'll need to nuke the part of the config file (do not nuke all of it) that begins like this:
until the end of the device config. Then go ahead and re-add it in Nagios XI.
It sounds like there is some location/permissions snafu with MRTG. Since you've already chmod'd that directory, crack open the mrtg.cfg at
/etc/mrtg/mrtg.cfg
You'll need to nuke the part of the config file (do not nuke all of it) that begins like this:
Code: Select all
######################################################################
# System: PROCURVE J9449A
# Description: HP ProCurve 1810G - 8 GE, P.1.17, eCos-2.0
# Contact:
# Location:
######################################################################
### Interface 1 >> Descr: 'Port:-1-Gigabit---Level' | Name: '' | Ip: '' | Eth: '' ###
Target[192.168.5.43_1]: 1:nagiosprivate@192.168.5.43:::::1
SetEnv[192.168.5.43_1]: MRTG_INT_IP="" MRTG_INT_DESCR="Port:-1-Gigabit---Level"
MaxBytes[192.168.5.43_1]: 12500000
Title[192.168.5.43_1]: Traffic Analysis for 1 -- PROCURVE J9449A
PageTop[192.168.5.43_1]: <h1>Traffic Analysis for 1 -- PROCURVE J9449A</h1>
<div id="sysdetails">
<table>
......
Nicholas Scott
Former Nagios employee
Former Nagios employee