Gaps in Cacti graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
adsanchez
Posts: 3
Joined: Tue Jan 29, 2013 8:48 am

Gaps in Cacti graph

Post by adsanchez »

Hi,
I have seen in some of the graphs some gaps, i´ve tried some thing and it´s not a problem with the poller, i changed from cmd to spine and the gaps continue, i have 1 cron and what i see it´s that it´s not updating the rrd correctly and i don´t know how to fix it
I apreciate the advices!

This is an example of the cacti log
03/06/2013 09:30:28 PM - SYSTEM STATS: Time:26.9299 Method:cmd.php Processes:1000 Threads:N/A Hosts:103 HostsPerProcess:1 DataSources:1150 RRDsProcessed:560
03/06/2013 09:25:27 PM - SYSTEM STATS: Time:25.9351 Method:cmd.php Processes:1000 Threads:N/A Hosts:103 HostsPerProcess:1 DataSources:1150 RRDsProcessed:557
03/06/2013 09:20:29 PM - SYSTEM STATS: Time:28.0907 Method:cmd.php Processes:1000 Threads:N/A Hosts:103 HostsPerProcess:1 DataSources:1150 RRDsProcessed:536
03/06/2013 09:15:28 PM - SYSTEM STATS: Time:26.8463 Method:cmd.php Processes:1000 Threads:N/A Hosts:103 HostsPerProcess:1 DataSources:1150 RRDsProcessed:550
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Gaps in Cacti graph

Post by gandalf »

Please see 2nd link of my sig to find some hints that may show more information to nail this problem down
R.
adsanchez
Posts: 3
Joined: Tue Jan 29, 2013 8:48 am

Re: Gaps in Cacti graph

Post by adsanchez »

Hi thanks for the reply

Some examples of Cacti Log:
CMDPHP: Poller[0] WARNING: SNMP GetNext Timeout for Host:
CMDPHP: Poller[0] Host[84] ERROR: HOST EVENT: Host is DOWN Message: SNMP not performed due to setting or ping result., ICMP ping Timed out
CMDPHP: Poller[0] WARNING: SNMP GetNext Timeout for Host:'x.x.x.x', and OID:'.1.3'
CMDPHP: Poller[0] Host[77] DS[228] WARNING: Result from SNMP not valid. Partial Result: U

Snmpget
iso.3 = No Such Object available on this agent at this OID
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Gaps in Cacti graph

Post by gandalf »

You've got it!
Usually, a target conforming to SNMP standards should return the next available object when doing a GETNEXT for .1.3
Your target is not the first that does not conform _really_ to that. You may want to change the ".1.3" in lib/snmp.php by any OID that works for you. You should be warned: this change will apply to ALL targets - you need to find an OID that works for all your targets. Or you might select a different downed host detection method.

R.
adsanchez
Posts: 3
Joined: Tue Jan 29, 2013 8:48 am

Re: Gaps in Cacti graph

Post by adsanchez »

Thanks i´m going to try! but why it works for some devices?
vel
Posts: 19
Joined: Fri Dec 23, 2011 1:01 am

Re: Gaps in Cacti graph

Post by vel »

Hi,

I have just installed CactiEZ 0.7 v I am finding lot gaps in my cacti graph when run poller.php i am getting the below output with out any error pls help me to solve this graph gap issue.



Waiting on 1 of 2 pollers.
03/25/2013 05:17:58 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
03/25/2013 05:17:58 PM - SYSTEM STATS: Time:8.4410 Method:cmd.php Processes:2 Threads:N/A Hosts:17 HostsPerProcess:9 DataSources:2022 RRDsProcessed:900
03/25/2013 05:17:58 PM - WEATHERMAP: Poller[0] Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information

03/25/2013 05:17:58 PM - WEATHERMAP: Poller[0] [Map 7] simple.conf: Map: /var/www/html/plugins/weathermap/configs/simple.conf -> /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.html & /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.png
03/25/2013 05:17:58 PM - WEATHERMAP: Poller[0] [Map 7] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
03/25/2013 05:17:58 PM - WEATHERMAP: Poller[0] [Map 7] simple.conf: Wrote map to /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.png and /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.thumb.png
03/25/2013 05:17:58 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Mon, 25 Mar 13 17:17:58 +0530: 1 maps were run in 0 seconds with 0 warnings.
03/25/2013 05:18:00 PM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
03/25/2013 05:18:00 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 134, Data Sources: traffic_in(DS[1277]), traffic_out(DS[1277]), traffic_in(DS[1278]), traffic_out(DS[1278]), traffic_in(DS[1279]), traffic_out(DS[1279]), traffic_in(DS[1280]), traffic_out(DS[1280]), traffic_in(DS[1281]), traffic_out(DS[1281]), traffic_in(DS[1282]), traffic_out(DS[1282]), traffic_in(DS[1283]), traffic_out(DS[1283]), traffic_in(DS[1284]), traffic_out(DS[1284]), traffic_in(DS[1285]), traffic_out(DS[1285]), traffic_in(DS[1286]), traffic_out(DS[1286]), Additional Issues Remain. Only showing first 20
Waiting on 2 of 2 pollers.
OK u:0.00 s:0.00 r:0.06
OK u:0.00 s:0.00 r:0.06
OK u:0.00 s:0.00 r:0.06
OK u:0.00 s:0.00 r:0.06
OK u:0.00 s:0.00 r:0.06
03/25/2013 05:18:00 PM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
03/25/2013 05:18:00 PM - SYSTEM STATS: Time:0.5353 Method:cmd.php Processes:2 Threads:N/A Hosts:17 HostsPerProcess:9 DataSources:2022 RRDsProcessed:5
03/25/2013 05:18:00 PM - WEATHERMAP: Poller[0] Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information

03/25/2013 05:18:00 PM - WEATHERMAP: Poller[0] [Map 7] simple.conf: Map: /var/www/html/plugins/weathermap/configs/simple.conf -> /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.html & /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.png
03/25/2013 05:18:01 PM - WEATHERMAP: Poller[0] [Map 7] simple.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
03/25/2013 05:18:01 PM - WEATHERMAP: Poller[0] [Map 7] simple.conf: Wrote map to /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.png and /var/www/html/plugins/weathermap/output/590118d30dd62a6ec265.thumb.png
03/25/2013 05:18:01 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Mon, 25 Mar 13 17:18:01 +0530: 1 maps were run in 1 seconds with 0 warnings.
[root@localhost html]#
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Gaps in Cacti graph

Post by gandalf »

This is unrelated. Please open a new thread
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests