Problems with Host Performance graphs and Bandwidth

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: Problems with Host Performance graphs and Bandwidth

Post by David.adder »

Hi Scott,

Now I get this:

ls -l /usr/local/nagios/var/spool/perfdata|wc -l
5
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Problems with Host Performance graphs and Bandwidth

Post by scottwilkerson »

This all seems normal, lets manually run mrtg to make sure we don't have errors

Code: Select all

env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: Problems with Host Performance graphs and Bandwidth

Post by David.adder »

I get some messages as this one:

SNMP Error:
no response received
SNMPv2c_Session (remote host: "IP_ADDRESS" [IP_ADDRESS].161)
community: "community"
request ID: 1208057573
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 492
SNMPGET Problem for ifHCInOctets.1 ifHCOutOctets.1 on community@IP_ADDRESS:::::2:v4only
at /usr/bin/mrtg line 2202
2013-01-24 18:05:09: WARNING: skipping because at least the query for ifHCInOctets.1 on IP_ADDRESS did not succeed
2013-01-24 18:05:09: WARNING: no data for ifHCInOctets&ifHCOutOctets:publicadder@IP_ADDRESS. Skipping further queries for Host IP_ADDRESS in this round.
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: Problems with Host Performance graphs and Bandwidth

Post by David.adder »

Sorry Scott, I've just get so many messages now here...

2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10120.rrd with '1359047109:26244:850202842' /var/lib/mrtg/172.18.11.254_10120.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10122.rrd with '1359047109:56970839400879:138769842170889' /var/lib/mrtg/172.18.11.254_10122.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10124.rrd with '1359047109:44318279:1085862287' /var/lib/mrtg/172.18.11.254_10124.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10128.rrd with '1359047109:29231084:1179765908' /var/lib/mrtg/172.18.11.254_10128.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10130.rrd with '1359047109:7931469390202:6156971637309' /var/lib/mrtg/172.18.11.254_10130.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10132.rrd with '1359047109:18199417050029:19614825472460' /var/lib/mrtg/172.18.11.254_10132.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10134.rrd with '1359047109:0:0' /var/lib/mrtg/172.18.11.254_10134.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10135.rrd with '1359047109:18690670342483:10197138025991' /var/lib/mrtg/172.18.11.254_10135.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10136.rrd with '1359047109:270614774676:3019080000' /var/lib/mrtg/172.18.11.254_10136.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10138.rrd with '1359047109:283941745884:3123378488' /var/lib/mrtg/172.18.11.254_10138.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10140.rrd with '1359047109:668988187593:417096024144' /var/lib/mrtg/172.18.11.254_10140.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10142.rrd with '1359047109:48121559900358:27059480400669' /var/lib/mrtg/172.18.11.254_10142.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10144.rrd with '1359047109:1046651457475:1240828083766' /var/lib/mrtg/172.18.11.254_10144.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)
2013-01-24 18:10:51: ERROR: Cannot update /var/lib/mrtg/172.18.11.254_10146.rrd with '1359047109:1583648495100:3741699166214' /var/lib/mrtg/172.18.11.254_10146.rrd: illegal attempt to update using time 1359047109 when last update time is 1359047109 (minimum one second step)

There are much more
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: Problems with Host Performance graphs and Bandwidth

Post by gm_rajkumar »

Hi,
I am also facing the same issue, i have tried all the steps however i have got the same result. Let me know if anything else needs to be checked further.. thanks!!
Regards,
Raj.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems with Host Performance graphs and Bandwidth

Post by slansing »

Are those RRD files related in any way? The hosts or services?

@gm_rajkumar If you are experiencing this exact issue please feel free to follow along with this thread, however if your issue deviates please open a new thread and note this thread as an example.
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: Problems with Host Performance graphs and Bandwidth

Post by gm_rajkumar »

Hi slansing,

Thanks for the response back, Yes I'm also facing the same issue on my Cisco switch/router and devices other than i can able to see the graphs.

Thursdays, 31 January 2013 at 8:39: ERROR: Cannot update /var/lib/mrtg/10.10.10.1_119.rrd with '1359607154:U:U' /var/lib/mrtg/10.10.10.1_119.rrd: illegal attempt to update using time 1359607154 when last update time is 1396614058 (minimum one second step)

Let me know if you need further over this.. ..thanks!!

Regards,
Raj.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems with Host Performance graphs and Bandwidth

Post by slansing »

David.adder,

Can you link a copy of your mrtg.cfg file? You may have duplicate entries for these objects:

Code: Select all

/etc/mrtg/mrtg.cfg



Edit: I'm linking a dev to this thread, if we find a solution you will be notified on yours as well Raj, thanks!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Problems with Host Performance graphs and Bandwidth

Post by mguthrie »

Can you post the text output from the Admin->System Profile page?

It seems like rrdtool is complaining about the timestamps, I'm wondering if there's maybe a time zone or time syncing issue between the server and the network device.
David.adder
Posts: 74
Joined: Thu Jan 17, 2013 8:44 am
Location: Spain

Re: Problems with Host Performance graphs and Bandwidth

Post by David.adder »

Hi mgutrhie:

Nagios XI Installation Profile

Download Profile
System:

Nagios XI Version : 2012R1.4
SRVBOXASDC1009 2.6.32-220.el6.x86_64 x86_64
CentOS release 6.2 (Final)
Gnome is not installed
Apache Information

PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17
Server Name: monitor.adderbox.com
Server Address: 172.18.1.8
Server Port: 80
Date/Time

PHP Timezone: Not set
PHP Time: Fri, 01 Feb 2013 10:34:20 +0100
System Time: Fri, 01 Feb 2013 10:34:20 +0100
Nagios XI Data

nagios (pid 26137) is running...
NPCD running (pid 24067).
ndo2db (pid 20023) is running...
CPU Load 15: 6.30
Total Hosts: 722
Total Services: 2921
Function 'get_base_uri' returns: http://nagios./nagiosxi/
Function 'get_base_url' returns: http://nagios./nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://nagios./nagiosxi/includes/compon ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Ping Test localhost

Running:
/bin/ping -c 3 localhost 2>&1
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.679 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.125 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.025/0.276/0.679/0.287 ms
Test wget To locahost

WGET From URL: http://localhost/nagiosql/index.php
Running:
/usr/bin/wget http://localhost/nagiosql/index.php
--2013-02-01 10:34:22-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5128 (5.0K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'

0K ..... 100% 320M=0s

2013-02-01 10:34:22 (320 MB/s) - `/tmp/nagiosql_index.tmp' saved [5128/5128]