No Data on Catci Graphs
Moderators: Developers, Moderators
No Data on Catci Graphs
All,
I have installed Cacti on a RH9 box running rrdtool-1.0.45-1.fr and PHP 4.3.11.
I have installed Cacti successfully using an RPM build, cacti-0.8.6d.rh9.i386.rpm.
I have the web GUI up and have added one SNMP enabled router following instructions provided at http://forums.cacti.net/about2116.html and http://www.cacti.net/downloads/docs/htm ... _unix.html.
The problem is there is no data showing in the graphics - they are simply blank.
I have configured all of the paths under Settings > Paths and confirmed that RRDTool 1.0.x is set. I have also added:
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
To the crontab as instructed.
When I manually run the command manually I get:
[root@rh1 bin]# /usr/bin/php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.11
#!/usr/bin/php -q
06/15/2005 06:49:45 PM - CMDPHP: Poller[0] Time: 1.1548 s, Theads: N/A, Hosts: 2
[root@rh1 bin]#
Does anyone have advice/input on what I may be doing wrong?
I have installed Cacti on a RH9 box running rrdtool-1.0.45-1.fr and PHP 4.3.11.
I have installed Cacti successfully using an RPM build, cacti-0.8.6d.rh9.i386.rpm.
I have the web GUI up and have added one SNMP enabled router following instructions provided at http://forums.cacti.net/about2116.html and http://www.cacti.net/downloads/docs/htm ... _unix.html.
The problem is there is no data showing in the graphics - they are simply blank.
I have configured all of the paths under Settings > Paths and confirmed that RRDTool 1.0.x is set. I have also added:
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
To the crontab as instructed.
When I manually run the command manually I get:
[root@rh1 bin]# /usr/bin/php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.11
#!/usr/bin/php -q
06/15/2005 06:49:45 PM - CMDPHP: Poller[0] Time: 1.1548 s, Theads: N/A, Hosts: 2
[root@rh1 bin]#
Does anyone have advice/input on what I may be doing wrong?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Have you confirmed the permissions of the rra and log directory. Are they read/write for the cactiuser?
Also, please turn up Poller Logging Level and post one pass of the poller from the cacti.log. If you do not want to post it, you are more than welcome to email it to me.
Also, please turn up Poller Logging Level and post one pass of the poller from the cacti.log. If you do not want to post it, you are more than welcome to email it to me.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Results
Hi Rony,
Thank you for your response.
The permissions are:
drwxr-xr-x 2 cactiuser cactiuser 4096 Jun 15 18:51 log
drwxr-xr-x 2 cactiuser cactiuser 4096 Jun 15 18:29 rra
And the log:
06/17/2005 01:04:29 AM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid. Partial Result:
06/17/2005 01:04:30 AM - CMDPHP: Poller[0] Time: 1.3462 s, Theads: N/A, Hosts: 2
06/17/2005 01:04:41 AM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid. Partial Result:
06/17/2005 01:04:41 AM - CMDPHP: Poller[0] Time: 1.3348 s, Theads: N/A, Hosts: 2
Thoughts?
Thank you for your response.
The permissions are:
drwxr-xr-x 2 cactiuser cactiuser 4096 Jun 15 18:51 log
drwxr-xr-x 2 cactiuser cactiuser 4096 Jun 15 18:29 rra
And the log:
06/17/2005 01:04:29 AM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid. Partial Result:
06/17/2005 01:04:30 AM - CMDPHP: Poller[0] Time: 1.3462 s, Theads: N/A, Hosts: 2
06/17/2005 01:04:41 AM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid. Partial Result:
06/17/2005 01:04:41 AM - CMDPHP: Poller[0] Time: 1.3348 s, Theads: N/A, Hosts: 2
Thoughts?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yah, set your Settings->General->Poller Logging Level to Debug and post one pass of the poller from your cacti.log.
It should tell us more about what is going on.
It should tell us more about what is going on.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Output
Hi,
Here's the output:
==
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/html/cacti
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/html/cacti
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/html/cacti/script_server.php
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 49$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.33 $
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_users.pl, output: 1
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 93
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get availa$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get availa$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get availa$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for 'rtr1.petrapartn$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid. Partial Result:
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: snmp_oid, oid: , output: U
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] CMD: perl /var/www/html/cacti/scripts/ping.pl rtr1.(domain), outp$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Time: 1.3817 s, Theads: N/A, Hosts: 2
==
Thoughts?
Here's the output:
==
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/html/cacti
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/html/cacti
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/html/cacti/script_server.php
06/17/2005 11:33:32 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/17/2005 11:33:32 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 49$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.33 $
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_users.pl, output: 1
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 93
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get availa$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get availa$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get availa$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for 'rtr1.petrapartn$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid. Partial Result:
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: snmp_oid, oid: , output: U
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] CMD: perl /var/www/html/cacti/scripts/ping.pl rtr1.(domain), outp$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_out, oid: .1.3.6.1.2.1.2$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Host[2] SNMP: v2: rtr1.(domain), dsname: traffic_in, oid: .1.3.6.1.2.1.2.$
06/17/2005 11:33:33 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/17/2005 11:33:33 AM - CMDPHP: Poller[0] Time: 1.3817 s, Theads: N/A, Hosts: 2
==
Thoughts?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yes, please repost without copying from the editor window. I need to see the full lines.
Also, if you run poller.php manually from the command line as the cactiuser, what is that output? Please post that as well.
Also, if you run poller.php manually from the command line as the cactiuser, what is that output? Please post that as well.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Info
Hi,
Here is the full information:
==
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/html/cacti
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/html/cacti
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/html/cacti/script_server.php
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 72676
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1557316
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:5.40 5min:2.04 10min:1.52
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_users.pl, output: 0
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 94
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda1, output: 81684
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda1, output: 14186
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda3, output: 31898804
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda3, output: 3051120
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hdb, output: 37392476
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hdb, output: 116664
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for 'rtr1.-.net'.
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 150398647
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 468076982
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] CMD: perl /var/www/html/cacti/scripts/ping.pl rtr1.-.net, output: 0.865
06/18/2005 02:45:23 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Time: 5.8835 s, Theads: N/A, Hosts: 2
The other output you requested is:
===
bash-2.05b$ whoami
cactiuser
bash-2.05b$ /usr/bin/php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.11
#!/usr/bin/php -q
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 77060
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1557316
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:1.29 5min:1.53 10min:1.38
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_users.pl, output: 1
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 95
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda1, output: 81684
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda1, output: 14186
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda3, output: 31898808
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda3, output: 3051116
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hdb, output: 37392476
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hdb, output: 116664
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for 'rtr1.-.net'.
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 150263560
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 467932134
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] CMD: perl /var/www/html/cacti/scripts/ping.pl rtr1.-.net, output: 0.891
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Time: 1.3202 s, Theads: N/A, Hosts: 2
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
bash-2.05b$
==
Thanks for your help.
Here is the full information:
==
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/html/cacti
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/html/cacti
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/html/cacti/script_server.php
06/18/2005 02:45:22 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 72676
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1557316
06/18/2005 02:45:22 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:5.40 5min:2.04 10min:1.52
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_users.pl, output: 0
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 94
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda1, output: 81684
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda1, output: 14186
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda3, output: 31898804
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda3, output: 3051120
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hdb, output: 37392476
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hdb, output: 116664
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for 'rtr1.-.net'.
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 150398647
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 468076982
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Host[2] CMD: perl /var/www/html/cacti/scripts/ping.pl rtr1.-.net, output: 0.865
06/18/2005 02:45:23 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/18/2005 02:45:23 AM - CMDPHP: Poller[0] Time: 5.8835 s, Theads: N/A, Hosts: 2
The other output you requested is:
===
bash-2.05b$ whoami
cactiuser
bash-2.05b$ /usr/bin/php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.11
#!/usr/bin/php -q
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 77060
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1557316
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:1.29 5min:1.53 10min:1.38
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_users.pl, output: 1
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 95
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda1, output: 81684
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda1, output: 14186
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda3, output: 31898808
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda3, output: 3051116
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hdb, output: 37392476
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hdb, output: 116664
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for 'rtr1.-.net'.
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 150263560
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: rtr1.-.net, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 467932134
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Host[2] CMD: perl /var/www/html/cacti/scripts/ping.pl rtr1.-.net, output: 0.891
06/18/2005 02:41:57 AM - CMDPHP: Poller[0] Time: 1.3202 s, Theads: N/A, Hosts: 2
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
bash-2.05b$
==
Thanks for your help.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Sorry was not even near a computer most of the weekend.
What are you running from cron for the poller?
I have this feeling that you are running cmd.php where you should be running poller.php.
You ask, why is this? Well, because the poller.php will call the selected poller to gather the data from the devices. Then poller.php will update/create the rrd files after the data collection has occured. I don't see any lines in the log that tell me that you are running poller.php. There are no update CACTI2RRD lines in the log.
Also, you may have to clear you poller_output table of extra values. Run the following query on your cacti database:
Let me know if you got it working.
What are you running from cron for the poller?
I have this feeling that you are running cmd.php where you should be running poller.php.
You ask, why is this? Well, because the poller.php will call the selected poller to gather the data from the devices. Then poller.php will update/create the rrd files after the data collection has occured. I don't see any lines in the log that tell me that you are running poller.php. There are no update CACTI2RRD lines in the log.
Also, you may have to clear you poller_output table of extra values. Run the following query on your cacti database:
Code: Select all
delete from poller_output;
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 0 guests