gaps in all bandwidth graphs
-
- Posts: 616
- Joined: Tue Oct 16, 2012 12:28 am
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: gaps in all bandwidth graphs
To safely downgrade to the current supported version please download our latest release Nagios XI source tarball, unzip it, then navigate to:
Then run the upgrade script in the directory.
Code: Select all
cd /tmp/nagiosxi/subcomponents/pnp/
-
- Posts: 616
- Joined: Tue Oct 16, 2012 12:28 am
Re: gaps in all bandwidth graphs
I did the change you suggested but i still have error on perfdata.log any suggestions graphs still have gaps...
012-12-27 22:30:44 [32051] [1] RRDs::update ERROR /usr/local/nagios/share/perfdata/tec-jnpr/Google_cache_Aggregate_Link_Bandwidth.rrd: illegal attempt to update using time 1356636630 when last update time is 1356636633 (minimum one second step)
2012-12-27 22:30:44 [32051] [1] Found Performance Data for ssb-2950 / 2727_ssb_2950_1_0_5_ssb_malc_2_1_1_1_2_FE_RJ45_XX_Bandwidth (in=0Mb/s;75;90 out=0Mb/s;75;90)
012-12-27 22:30:44 [32051] [1] RRDs::update ERROR /usr/local/nagios/share/perfdata/tec-jnpr/Google_cache_Aggregate_Link_Bandwidth.rrd: illegal attempt to update using time 1356636630 when last update time is 1356636633 (minimum one second step)
2012-12-27 22:30:44 [32051] [1] Found Performance Data for ssb-2950 / 2727_ssb_2950_1_0_5_ssb_malc_2_1_1_1_2_FE_RJ45_XX_Bandwidth (in=0Mb/s;75;90 out=0Mb/s;75;90)
Zajil NMS
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: gaps in all bandwidth graphs
These errors lead me to believe you have more than one process trying to submit the data to the rrd
lets
Also, open /etc/init.d/npcd
make sure the top uncommented lines match
lets
Code: Select all
service npcd stop
killall -9 npcd
service npcd start
make sure the top uncommented lines match
Code: Select all
PREFIX=/usr/local/nagios
BIN=$PREFIX/bin/npcd
CONF=$PREFIX/etc/pnp/npcd.cfg
-
- Posts: 616
- Joined: Tue Oct 16, 2012 12:28 am
Re: gaps in all bandwidth graphs
I did what you suggested .... still there is error on perfdata.log
2012-12-27 22:43:19 [17987] [1] RRDs::update ERROR /usr/local/nagios/share/perfdata/tec-jnpr/Aggregate_Link_to_SKB_JNPR_Bandwidth.rrd: illegal attempt to update using time 1356637389 when last update time is 1356637389 (minimum one second step)
2012-12-27 22:43:19 [17987] [1] Found Performance Data for tec-jnpr / Peerapps_Internet_Interface_Bandwidth (in=0Gb/s;2;3 out=0Gb/s;2;3)
2012-12-27 22:43:19 [17987] [1] RRDs::update ERROR /usr/local/nagios/share/perfdata/tec-jnpr/Aggregate_Link_to_SKB_JNPR_Bandwidth.rrd: illegal attempt to update using time 1356637389 when last update time is 1356637389 (minimum one second step)
2012-12-27 22:43:19 [17987] [1] Found Performance Data for tec-jnpr / Peerapps_Internet_Interface_Bandwidth (in=0Gb/s;2;3 out=0Gb/s;2;3)
Zajil NMS
-
- Posts: 616
- Joined: Tue Oct 16, 2012 12:28 am
Re: gaps in all bandwidth graphs
yes it is ....\
PREFIX=/usr/local/nagios
BIN=$PREFIX/bin/npcd
CONF=$PREFIX/etc/pnp/npcd.cfg
PREFIX=/usr/local/nagios
BIN=$PREFIX/bin/npcd
CONF=$PREFIX/etc/pnp/npcd.cfg
Zajil NMS
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: gaps in all bandwidth graphs
have you installed rrdcached?
-
- Posts: 616
- Joined: Tue Oct 16, 2012 12:28 am
Re: gaps in all bandwidth graphs
i had installed it before ... but now after this upgrade rrdcached seems not there ... should i install it again...
Zajil NMS
-
- Posts: 616
- Joined: Tue Oct 16, 2012 12:28 am
Re: gaps in all bandwidth graphs
Ok i reinstalled rrdcached but still Bandwidth output is still in=0Mb/s;750;900 out=0Mb/s
2012-12-27 23:36:03 [26282] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/mgf-7200/2121_mgf_7200_1_0_2_mgf_3750_1_1_0_1_1GE_SC_0A_Bandwidth.rrd 1356640550:0:0
2012-12-27 23:36:03 [26282] [1] Found Performance Data for sal-3750-1 / 0707_sal_3750_1_1_0_34_sal_malc_1_1_1_1_2_1GE_RJ45_XX_Bandwidth (in=0Mb/s;750;900 out=0Mb/s;750;900)
2012-12-27 23:36:03 [26282] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/mgf-7200/2121_mgf_7200_1_0_2_mgf_3750_1_1_0_1_1GE_SC_0A_Bandwidth.rrd 1356640550:0:0
2012-12-27 23:36:03 [26282] [1] Found Performance Data for sal-3750-1 / 0707_sal_3750_1_1_0_34_sal_malc_1_1_1_1_2_1GE_RJ45_XX_Bandwidth (in=0Mb/s;750;900 out=0Mb/s;750;900)
Zajil NMS
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: gaps in all bandwidth graphs
can you please send the output of the following
as well as the output if any from running
Code: Select all
cat /etc/mrtg/mrtg.cfg|head -n 40
Code: Select all
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg