Graphs missing data polling correctly

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Graphs missing data polling correctly

Post by Nitr0 »

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
Attachments
graph_image.php.png
graph_image.php.png (49.07 KiB) Viewed 4724 times
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

I'm also getting the same issues on localhost
Attachments
graph_image.php.png
graph_image.php.png (31.56 KiB) Viewed 4717 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

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.
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

bump
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) increase the memory / timeout values in your php.ini config.

2) increase the timeout to the device(s) which are having problems.
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

BSOD2600 wrote:1) increase the memory / timeout values in your php.ini config.

2) increase the timeout to the device(s) which are having problems.
Do you have the specific php.ini variables on hand?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Search is your friend...

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]
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

Nitr0 wrote:
BSOD2600 wrote:1) increase the memory / timeout values in your php.ini config.

2) increase the timeout to the device(s) which are having problems.
Do you have the specific php.ini variables on hand?
Nevermind, I found them, still didn't change anything. Any other ideas?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

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.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

I had them set to 5 but I'm getting the same errors.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

RE-SET them both to 5 min.
Nitr0
Posts: 25
Joined: Thu Jan 24, 2008 7:53 pm

Post by Nitr0 »

BSOD2600 wrote:RE-SET them both to 5 min.
I did, same errors.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests