Graphs missing data polling correctly
Moderators: Developers, Moderators
Graphs missing data polling correctly
I'm having an issue with my graphs. They all seem to have little slivers of white space where there is no data being transmitted, but there is data going through, I'm wondering how to make them solid or why they are not in the first place. Attatched is a picture to show what I mean.
Thanks
Thanks
- Attachments
-
- graph_image.php.png (49.07 KiB) Viewed 4725 times
Looks like the cacti poller is unable connect to devices every once in a while. Change the logging level in cacti to medium and watch it. When you get the gaps, whats going on?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I seem to have a lot of logs (in excess of 150MB) all filled with the following
02/19/2008 10:25:01 AM - SPINE: Poller[0] Host[23] ERROR: Empty result [10.1.101.68]: '/var/www/html/scripts/getCanopySmStats.pl 10.1.101.68 Canopy power'
02/19/2008 10:25:01 AM - SPINE: Poller[0] Host[23] DS[164] WARNING: Result from SCRIPT not valid. Partial Result: ...
Which makes sense because I know the PL scripts failed to work after canopy updated their SMs. Nothing specific to the empty values though.
02/19/2008 10:25:01 AM - SPINE: Poller[0] Host[23] ERROR: Empty result [10.1.101.68]: '/var/www/html/scripts/getCanopySmStats.pl 10.1.101.68 Canopy power'
02/19/2008 10:25:01 AM - SPINE: Poller[0] Host[23] DS[164] WARNING: Result from SCRIPT not valid. Partial Result: ...
Which makes sense because I know the PL scripts failed to work after canopy updated their SMs. Nothing specific to the empty values though.
1) increase the memory / timeout values in your php.ini config.
2) increase the timeout to the device(s) which are having problems.
2) increase the timeout to the device(s) which are having problems.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Search is your friend...
memory_limit and max_execution_time
They are also displayed in Utilities -> Technical Support
memory_limit and max_execution_time
They are also displayed in Utilities -> Technical Support
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
You increased the timeout to the devices in Cacti which were having problems too?
Once again, look in your cacti log file when the gaps appear. Did the device go down? Was cacti able to retrieve data from them? getCanopySmStats.pl is not relevant (to me) because you didn't post graphs with them having issues. The two you posted are pure snmp queries.
Once again, look in your cacti log file when the gaps appear. Did the device go down? Was cacti able to retrieve data from them? getCanopySmStats.pl is not relevant (to me) because you didn't post graphs with them having issues. The two you posted are pure snmp queries.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Okay, re-did my cacti install. Only one device and localhost. Getting the following errors.
02/27/2008 06:01:17 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '135', Max Runtime '58', Poller Runs: '1'
02/27/2008 06:01:17 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '300' second Cron, but 135 seconds have passed since the last poll!
02/27/2008 06:01:17 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '0', Max Runtime '58', Poller Runs: '1'
02/27/2008 06:01:17 PM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '60' seconds, with a minimum Cron period of '60' seconds, but only 0 seconds have passed since the poller last ran.
02/27/2008 06:01:17 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '135', Max Runtime '58', Poller Runs: '1'
02/27/2008 06:01:17 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '300' second Cron, but 135 seconds have passed since the last poll!
02/27/2008 06:01:17 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '0', Max Runtime '58', Poller Runs: '1'
02/27/2008 06:01:17 PM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '60' seconds, with a minimum Cron period of '60' seconds, but only 0 seconds have passed since the poller last ran.
I suggest you stick with 5 min cron and polling for 0.8.7. re-set both of those in cacti's settings. Also make sure you only have one entry in your crontab invoking cacti.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
RE-SET them both to 5 min.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest