problem with dispalying graphs in cacti
Moderators: Developers, Moderators
problem with dispalying graphs in cacti
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
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
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem with dispalying graphs in cacti
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.
And please show a screenshot or describe most exactly what happens when trying to display any graph
R.
Re: problem with dispalying graphs in cacti
this is cacti 0.8.7h
[img]/home/amel/Bureau/Screenshot-4.png[/img]
[img]/home/amel/Bureau/Screenshot-4.png[/img]
Re: problem with dispalying graphs in cacti
this is the screen shot
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem with dispalying graphs in cacti
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.
R.
Re: problem with dispalying graphs in cacti
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 :'(
/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 :'(
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem with dispalying graphs in cacti
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.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
R.
Re: problem with dispalying graphs in cacti
cactiNew is the name of the path i renamed it, it was cacti in the begining that it
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem with dispalying graphs in cacti
Did you reload the poller items cache after renaming the directories?
R.
R.
Re: problem with dispalying graphs in cacti
how to relaod it ?
Re: problem with dispalying graphs in cacti
any response plzzzz!!
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem with dispalying graphs in cacti
php -q ./cli/rebuild_poller_cache.php should do
R.
R.
Re: problem with dispalying graphs in cacti
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??
>WARNING: Do not interrupt this script. Rebuilding the Poller Cache can take quite some time
what should i do??
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: problem with dispalying graphs in cacti
Verify, that those errors went away. If not, please correct the cacti setup which then is brokenamelenit 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 :'(
R.
Re: problem with dispalying graphs in cacti
how to correct it ? should i reinstall it ??
Who is online
Users browsing this forum: No registered users and 1 guest