problem with dispalying graphs in cacti

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

Moderators: Developers, Moderators

amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

problem with dispalying graphs in cacti

Post by amelenit »

Hi,

After i had installed plugins in cacti like ntop and thold , i discover that i can't display the graphs even for the localhost any ideas plzz

thx
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with dispalying graphs in cacti

Post by gandalf »

This is which version of Cacti, please?
And please show a screenshot or describe most exactly what happens when trying to display any graph
R.
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

this is cacti 0.8.7h
[img]/home/amel/Bureau/Screenshot-4.png[/img]
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

this is the screen shot
Screenshot-4.png
Screenshot-4.png (19.28 KiB) Viewed 1607 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with dispalying graphs in cacti

Post by gandalf »

But the graph obviously shows up, it only has no recent data in it. If this is the real problem, please consider 2nd link of my sig to start debugging
R.
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

when i tried to test the poller this is what it gives me
/usr/bin/php /var/www/cactiNew/poller.php
04/19/2012 12:15:00 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 5232 seconds have passed since the last poll!
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_SYSDESC - assumed 'AVAIL_SNMP_GET_SYSDESC' in /var/www/cactiNew/lib/ping.php on line 253
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 260
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.01
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.04
OK u:0.00 s:0.00 r:0.05
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_SYSDESC - assumed 'AVAIL_SNMP_GET_SYSDESC' in /var/www/cactiNew/lib/ping.php on line 253
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 260
No log handling enabled - turning on stderr logging
snmp_build: unknown failurePHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_SYSDESC - assumed 'AVAIL_SNMP_GET_SYSDESC' in /var/www/cactiNew/lib/ping.php on line 253
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 260


the graphs doesn't appear :'(
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with dispalying graphs in cacti

Post by gandalf »

amelenit wrote:PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
The files seems to be messed up. The constant is defined in an include file which is not found,as the message suggests. The path "cactiNew" looks quite weird to me.
R.
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

cactiNew is the name of the path i renamed it, it was cacti in the begining that it
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with dispalying graphs in cacti

Post by gandalf »

Did you reload the poller items cache after renaming the directories?
R.
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

how to relaod it ?
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

any response plzzzz!!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with dispalying graphs in cacti

Post by gandalf »

php -q ./cli/rebuild_poller_cache.php should do
R.
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

this is the message that i got with your command ?

>WARNING: Do not interrupt this script. Rebuilding the Poller Cache can take quite some time
what should i do??
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with dispalying graphs in cacti

Post by gandalf »

amelenit wrote:when i tried to test the poller this is what it gives me
/usr/bin/php /var/www/cactiNew/poller.php
04/19/2012 12:15:00 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 5232 seconds have passed since the last poll!
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_SYSDESC - assumed 'AVAIL_SNMP_GET_SYSDESC' in /var/www/cactiNew/lib/ping.php on line 253
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 260
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.01
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.04
OK u:0.00 s:0.00 r:0.05
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_SYSDESC - assumed 'AVAIL_SNMP_GET_SYSDESC' in /var/www/cactiNew/lib/ping.php on line 253
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 260
No log handling enabled - turning on stderr logging
snmp_build: unknown failurePHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 247
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_SYSDESC - assumed 'AVAIL_SNMP_GET_SYSDESC' in /var/www/cactiNew/lib/ping.php on line 253
PHP Notice: Use of undefined constant AVAIL_SNMP_GET_NEXT - assumed 'AVAIL_SNMP_GET_NEXT' in /var/www/cactiNew/lib/ping.php on line 260


the graphs doesn't appear :'(
Verify, that those errors went away. If not, please correct the cacti setup which then is broken
R.
amelenit
Posts: 15
Joined: Tue Mar 27, 2012 6:14 am

Re: problem with dispalying graphs in cacti

Post by amelenit »

how to correct it ? should i reinstall it ??
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest