Cacti not graphing properly but Zenoss is?

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

Moderators: Developers, Moderators

MoreDakka
Posts: 44
Joined: Wed Jul 04, 2007 12:57 pm

Post by MoreDakka »

I'm not sure if I'm supplying the information that BSOD is looking for.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

That 'Poller Output Table not Empty' error is a big issue. Do you have custom scripts running that aren't finishing in a timely manor?

Stick with the cmd.php poller until you've solved the problems.

With the cacti logging level set to medium, let it run a few cycles. Are devices going down, data not getting returned from queries, other errors ? The cacti log will contain the reasons why you have 'choppy' graphs.
MoreDakka
Posts: 44
Joined: Wed Jul 04, 2007 12:57 pm

Post by MoreDakka »

BSOD2600 wrote:That 'Poller Output Table not Empty' error is a big issue. Do you have custom scripts running that aren't finishing in a timely manor?

Stick with the cmd.php poller until you've solved the problems.

With the cacti logging level set to medium, let it run a few cycles. Are devices going down, data not getting returned from queries, other errors ? The cacti log will contain the reasons why you have 'choppy' graphs.
The log doesn't show anything timing out, while set on medium it shows data gathering and no errors. The only error I get is the Poller Output table error I listed to you.
MoreDakka
Posts: 44
Joined: Wed Jul 04, 2007 12:57 pm

Post by MoreDakka »

I'm continuing through that debugging, going through some cli scripts however I can't find this one in the cacti directory:

poller_output_empty.php

I tried to locate that on the entire system and that file doesn't exist. Will that be part of the problem?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

It should be in the \cacti\cli\ folder. If not, I strongly question your methods of upgrading cacti which could be an underlying problem. That missing file is not the cause of your issues since it's only meant to be run manually.

The cacti log file shows that devices are always up and returning data -- even when there are gaps in the graphs?
MoreDakka
Posts: 44
Joined: Wed Jul 04, 2007 12:57 pm

Post by MoreDakka »

I followed the upgrade instructions to the letter. However it seems I can't search for files all that well..haha, found that under cacti/cli like you mentioned. However trying to run it giver me:

[root@monitor cli]# php poller_output_empty.php
X-Powered-By: PHP/5.2.0
Content-type: text/html

[root@monitor cli]# php poller_output_empty.php --help
X-Powered-By: PHP/5.2.0
Content-type: text/html


Could this be telling us something, it's like php isn't running the script properly.

Thanks again for all your help BSOD.
MoreDakka
Posts: 44
Joined: Wed Jul 04, 2007 12:57 pm

Post by MoreDakka »

I do have this error lately, not sure why it wasn't showing up before:

PHPSVR: Poller[0] Maximum runtime of 292 seconds exceeded for the Script Server. Exiting.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If the script server does not end in time, please investigate the scripts taht are running under the script server. Make sure they have a meaningful timeout
Reinhard
MoreDakka
Posts: 44
Joined: Wed Jul 04, 2007 12:57 pm

Post by MoreDakka »

So that problem with the graphs not generating properly seems to be fixed. Increased the number of concurrent poller processes from 1 -> 6 and it split the device load from 188 -> 32 per process. It's able to finish running and graphs are generating. Now onto another problem I'll create a new thread for it as this title isn't correct.

Thanks for everyone's help.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests