Debian, cacti 0.8.6c - no graphs

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

Moderators: Developers, Moderators

jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Debian, cacti 0.8.6c - no graphs

Post by jmeyerdo »

Hello!

I made a fresh install of cacti 0.8.6c (Debian-package) and added some required packes: snmpd, etc.

Everything seems to log fine but no graphs are displayed (only the icon for missing image).

The log for last cron-poll is:

Code: Select all

12/28/2005 03:30:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/28/2005 03:30:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www
12/28/2005 03:30:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
12/28/2005 03:30:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
12/28/2005 03:30:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 18496
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 3906000
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.03 10min:0.00
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl, output: 2
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 92
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '212.227.94.106'.
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46377030998
12/28/2005 03:30:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4103917395
12/28/2005 03:30:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/28/2005 03:30:03 PM - CMDPHP: Poller[0] Time: 0.5415 s, Theads: N/A, Hosts: 2
12/28/2005 03:30:03 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
12/28/2005 03:30:03 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.03' [map 5min->load_5min]
12/28/2005 03:30:03 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
12/28/2005 03:30:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1135780202:18496
12/28/2005 03:30:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1135780202:3906000
12/28/2005 03:30:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1135780202:0.00:0.03:0.00
12/28/2005 03:30:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1135780202:2
12/28/2005 03:30:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1135780202:92
12/28/2005 03:30:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_17.rrd --template traffic_in:traffic_out 1135780202:46377030998:4103917395
12/28/2005 03:30:03 PM - SYSTEM STATS: Time: 1.1382 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
The log for starting poller.php manually by hand is:

Code: Select all

12/28/2005 03:38:18 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/cmd.php 0 2]
Waiting on 1/1 pollers.
12/28/2005 03:38:19 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.01' [map 1min->load_1min]
12/28/2005 03:38:19 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.03' [map 5min->load_5min]
12/28/2005 03:38:19 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
12/28/2005 03:38:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1135780698:19040
12/28/2005 03:38:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1135780698:3906000
12/28/2005 03:38:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1135780698:0.01:0.03:0.00
12/28/2005 03:38:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1135780698:2
12/28/2005 03:38:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1135780698:90
12/28/2005 03:38:19 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_17.rrd --template traffic_in:traffic_out 1135780698:46377135483:4104183028
12/28/2005 03:38:19 PM - SYSTEM STATS: Time: 1.0328 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.01
It would be great if you could give me any further hints how to go ahead with searching for the error...

Kind regards, Jens
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Confirm that the version of rrdtool you have installed, probably 1.2.x, is set correctly in the cacti settings.
[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]
jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Post by jmeyerdo »

Hello!

Version of rrdtool is: RRDtool 1.0.49

Path to rrdtool is set in webinterface of cacti (Settings) correctly.
Or do you mean another configuration-option?

Kind regards, Jens
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Yes, in Settings->General->Required Tool Versions->RRDTool Utility Version, should match the version of RRDTool you are running.

Are you running apache in a chroot?

Also, do you have SELinux enabled?
[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]
jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Post by jmeyerdo »

Hi!

Thank you very much for your further answer...

The option "Settings->General->Required Tool Versions->RRDTool Utility Version" is not available in my version.
In "General" I can only configure: "Event Logging, Poller Specific Logging, SNMP Defaults (SNMP Utility Version, ...), Other defaults"

Perhaps it is helpful to check if the the link to the (broken) image is correct:
http://www.jalb-server.net/cacti/graph_ ... 1135788393

I am not running apache in chroot and selinux is not enabled.

Kind regards, Jens
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I forgot to ask this before, what version are you running?
[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]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Also, have you ran the poller at least one time?
[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]
jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Post by jmeyerdo »

Sorry, I only mentioned in subject of topic: cacti 0.8.6c

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

Post by gandalf »

I don't have access to your URL. But please click on the wrench next to the image to see the rrdtool graph statements. Copy them to cli and run from there. rrdtool will give you error messages...
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

The debug output from the graphs are good, I checked that.

I need to know if the poller has ran.
[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]
jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Post by jmeyerdo »

Hi!

In my crontab there is the following entry:

Code: Select all

*/5 * * * * /usr/share/cacti/site/poller.php >/dev/null 2>&1
Polling seems to be fine - see logfile of last 20 minutes:

Code: Select all

12/28/2005 09:55:02 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/cmd.php 0 2]
12/28/2005 09:55:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/28/2005 09:55:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
12/28/2005 09:55:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
12/28/2005 09:55:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
12/28/2005 09:55:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] SNMP: SNMP not performed due to setting or ping result.
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 45828
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 3906036
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.16 5min:0.05 10min:0.02
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl, output: 2
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 93
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
12/28/2005 09:55:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '212.227.94.106'.
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4130607435
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387187942
12/28/2005 09:55:03 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.16' [map 1min->load_1min]
12/28/2005 09:55:03 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.05' [map 5min->load_5min]
12/28/2005 09:55:03 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.02' [map 10min->load_15min]
12/28/2005 09:55:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1135803302:45828
12/28/2005 09:55:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1135803302:3906036
12/28/2005 09:55:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1135803302:0.16:0.05:0.02
12/28/2005 09:55:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1135803302:2
12/28/2005 09:55:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1135803302:93
12/28/2005 09:55:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_17.rrd --template traffic_out:traffic_in 1135803302:4130607435:46387187942
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4130607435
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387187942
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: snmp_oid, oid: , output: U
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4130607435
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387187942
12/28/2005 09:55:03 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/28/2005 09:55:03 PM - CMDPHP: Poller[0] Time: 1.2423 s, Theads: N/A, Hosts: 2
12/28/2005 09:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_21.rrd --template traffic_in:traffic_out 1135803302:46387187942:4130607435
12/28/2005 09:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_snmp_oid_20.rrd --template snmp_oid 1135803302:U
12/28/2005 09:55:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_19.rrd --template traffic_in:traffic_out 1135803302:46387187942:4130607435
12/28/2005 09:55:04 PM - SYSTEM STATS: Time: 2.0649 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
12/28/2005 10:00:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/cmd.php 0 2]
12/28/2005 10:00:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/28/2005 10:00:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
12/28/2005 10:00:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
12/28/2005 10:00:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
12/28/2005 10:00:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] SNMP: SNMP not performed due to setting or ping result.
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 45952
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 3906036
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.05 5min:0.03 10min:0.00
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl, output: 2
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 93
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '212.227.94.106'.
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4131006329
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387226565
12/28/2005 10:00:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.05' [map 1min->load_1min]
12/28/2005 10:00:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.03' [map 5min->load_5min]
12/28/2005 10:00:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
12/28/2005 10:00:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1135803601:45952
12/28/2005 10:00:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1135803601:3906036
12/28/2005 10:00:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1135803601:0.05:0.03:0.00
12/28/2005 10:00:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1135803601:2
12/28/2005 10:00:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1135803601:93
12/28/2005 10:00:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_17.rrd --template traffic_out:traffic_in 1135803601:4131006329:46387226565
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4131006329
12/28/2005 10:00:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387226565
12/28/2005 10:00:03 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
12/28/2005 10:00:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: snmp_oid, oid: , output: U
12/28/2005 10:00:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4131006329
12/28/2005 10:00:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387226565
12/28/2005 10:00:03 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/28/2005 10:00:03 PM - CMDPHP: Poller[0] Time: 1.2552 s, Theads: N/A, Hosts: 2
12/28/2005 10:00:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_21.rrd --template traffic_in:traffic_out 1135803601:46387226565:4131006329
12/28/2005 10:00:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_snmp_oid_20.rrd --template snmp_oid 1135803601:U
12/28/2005 10:00:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_19.rrd --template traffic_in:traffic_out 1135803601:46387226565:4131006329
12/28/2005 10:00:03 PM - SYSTEM STATS: Time: 2.1405 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
12/28/2005 10:05:02 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/cmd.php 0 2]
12/28/2005 10:05:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/28/2005 10:05:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
12/28/2005 10:05:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
12/28/2005 10:05:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
12/28/2005 10:05:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] SNMP: SNMP not performed due to setting or ping result.
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 68116
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 3906036
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.16 5min:0.04 10min:0.01
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl, output: 2
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 94
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
12/28/2005 10:05:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '212.227.94.106'.
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4132734360
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387378184
12/28/2005 10:05:03 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.16' [map 1min->load_1min]
12/28/2005 10:05:03 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.04' [map 5min->load_5min]
12/28/2005 10:05:03 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.01' [map 10min->load_15min]
12/28/2005 10:05:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1135803902:68116
12/28/2005 10:05:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1135803902:3906036
12/28/2005 10:05:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1135803902:0.16:0.04:0.01
12/28/2005 10:05:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1135803902:2
12/28/2005 10:05:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1135803902:94
12/28/2005 10:05:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_17.rrd --template traffic_out:traffic_in 1135803902:4132734360:46387378184
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4132734360
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387378184
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: snmp_oid, oid: , output: U
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4132734360
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387378184
12/28/2005 10:05:03 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/28/2005 10:05:03 PM - CMDPHP: Poller[0] Time: 1.0734 s, Theads: N/A, Hosts: 2
12/28/2005 10:05:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_21.rrd --template traffic_in:traffic_out 1135803902:46387378184:4132734360
12/28/2005 10:05:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_snmp_oid_20.rrd --template snmp_oid 1135803902:U
12/28/2005 10:05:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_19.rrd --template traffic_in:traffic_out 1135803902:46387378184:4132734360
12/28/2005 10:05:04 PM - SYSTEM STATS: Time: 2.0355 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
12/28/2005 10:10:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/cmd.php 0 2]
12/28/2005 10:10:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/28/2005 10:10:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
12/28/2005 10:10:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
12/28/2005 10:10:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
12/28/2005 10:10:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] SNMP: SNMP not performed due to setting or ping result.
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 59444
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 3906036
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.01 10min:0.00
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl, output: 2
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[1] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 93
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] PING: Host is Alive
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 2 items in the auto reindex cache for '212.227.94.106'.
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4133521601
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387518946
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4133521601
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387518946
12/28/2005 10:10:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
12/28/2005 10:10:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.01' [map 5min->load_5min]
12/28/2005 10:10:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1135804202:59444
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1135804202:3906036
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1135804202:0.00:0.01:0.00
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1135804202:2
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1135804202:93
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_17.rrd --template traffic_out:traffic_in 1135804202:4133521601:46387518946
12/28/2005 10:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_19.rrd --template traffic_out:traffic_in 1135804202:4133521601:46387518946
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
12/28/2005 10:10:02 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: snmp_oid, oid: , output: U
12/28/2005 10:10:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 4133521601
12/28/2005 10:10:03 PM - CMDPHP: Poller[0] Host[2] SNMP: v2: 212.227.94.106, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 46387518946
12/28/2005 10:10:03 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/28/2005 10:10:03 PM - CMDPHP: Poller[0] Time: 0.9586 s, Theads: N/A, Hosts: 2
12/28/2005 10:10:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_traffic_in_21.rrd --template traffic_in:traffic_out 1135804202:46387518946:4133521601
12/28/2005 10:10:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/jalbserver_net_snmp_oid_20.rrd --template snmp_oid 1135804202:U
12/28/2005 10:10:03 PM - SYSTEM STATS: Time: 2.0534 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
@Reinhard/lvm: Sorry, I don't know exactly what you mean...

Kind regards, Jens
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Does the user that runs the poller have read/write access to the rra dir and the files within that directory?
[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]
jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Post by jmeyerdo »

I tried with user www-data (owner of directory and files), specified in /etc/cron.d/cacti also (before trying now as user root).

All relevant files in /var/lib/cacti/rra/ are updated every 5 minutes with poll.

Is this what you wanted to know?

Thank you for all your help,
kind regards, Jens
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Man you have me puzzled here...

Do you have fast_cgi enabled in php?
[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]
jmeyerdo
Posts: 26
Joined: Mon May 02, 2005 7:11 am
Location: Dortmund, Germany

Post by jmeyerdo »

Hi!

Thank you rony (and all) for all the help.
fast_cgi is not enabled - as I can see.

I made further tests today:
Reading/graphing with drraw (cgi-tool) works without problems. So polling and writing .rrd-files seem to work fine.

I checked configuration-table in database.
Is the following entry ok?

Code: Select all

path_webroot  /usr/share/cacti/site 
In webdirectory I made a symbolic link to this directory - webinterface works fine.

Is it necessary to specify the path to the directory with the .rrd-files? If yes, where?

I would greatly appreciation if anybody can give me further hints what to check...

Kind regards, Jens
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests