Graph's Not Displaying Data (Gentoo)

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Gentoovian
Posts: 2
Joined: Wed May 17, 2006 7:50 pm

Graph's Not Displaying Data (Gentoo)

Post by Gentoovian »

Everything installed fine. but i am plauged it seems with the graphs not showing data for the local host machine. Any help is welcome.

PHP Sysinfo
http://gentoovian.ath.cx/phpsysinfo/


See link below to see the site and what it is displaying
http://gentoovian.ath.cx/cacti/graph_view.php

-------------------------------------------
Logs
-------------------------------------------
DragonServ log # cat cacti.log
04/02/2006 04:43:59 PM - SYSTEM STATS: Time:1.1429 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
05/17/2006 12:34:42 PM - SYSTEM STATS: Time:1.0986 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
05/17/2006 02:12:12 PM - SYSTEM STATS: Time:6.0969 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 02:13:27 PM - SYSTEM STATS: Time:10.0973 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 02:29:15 PM - SYSTEM STATS: Time:6.0703 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 08:31:53 PM - SYSTEM STATS: Time:7.3577 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 08:34:09 PM - SYSTEM STATS: Time:6.1132 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6

-------------------------------------------
Permisions
-------------------------------------------

DragonServ cacti # ls -al rra/
total 392
drwxr-xr-x 2 apache apache 4096 Apr 2 21:43 .
drwxr-xr-x 10 apache apache 4096 Apr 1 00:17 ..
-rw-r--r-- 2 apache apache 0 Apr 1 00:16 .placeholder
-rw-r--r-- 1 apache apache 47840 May 17 20:34 gentoovian_server_users_8.rrd
-rw-r--r-- 1 apache apache 141488 May 17 20:34 localhost_load_1min_5.rrd
-rw-r--r-- 1 apache apache 47840 May 17 20:34 localhost_mem_buffers_3.rrd
-rw-r--r-- 1 apache apache 47840 May 17 20:34 localhost_mem_swap_4.rrd
-rw-r--r-- 1 apache apache 47840 May 17 20:34 localhost_proc_7.rrd
-rw-r--r-- 1 apache apache 47840 May 17 20:34 localhost_users_6.rrd

-------------------------------------------
Poller When Ran from directory
-------------------------------------------
DragonServ cacti # php poller.php
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.02
OK u:0.01 s:0.00 r:1.03
OK u:0.01 s:0.00 r:1.04
OK u:0.01 s:0.01 r:1.05
OK u:0.01 s:0.01 r:1.06

jmadrid2
Posts: 43
Joined: Thu May 04, 2006 9:32 am
Location: Bayonne, NJ

Post by jmadrid2 »

Go into the Console, then click on Settings and change the Poller Logging Level to DEBUG. This will give alot more verbose info so you can see exactly what is going on. From your graphs all your queries are returning NAN. This should give you a better idea as to what is going on.
Gentoovian
Posts: 2
Joined: Wed May 17, 2006 7:50 pm

Post by Gentoovian »

Here is what i got. for both the log and poller now.

04/02/2006 04:43:59 PM - SYSTEM STATS: Time:1.1429 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
05/17/2006 12:34:42 PM - SYSTEM STATS: Time:1.0986 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
05/17/2006 02:12:12 PM - SYSTEM STATS: Time:6.0969 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 02:13:27 PM - SYSTEM STATS: Time:10.0973 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 02:29:15 PM - SYSTEM STATS: Time:6.0703 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 08:31:53 PM - SYSTEM STATS: Time:7.3577 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 08:34:09 PM - SYSTEM STATS: Time:6.1132 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/17/2006 09:06:34 PM - SYSTEM STATS: Time:6.0989 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/18/2006 06:18:16 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/cacti/cmd.php 0 2]
05/18/2006 06:18:17 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
05/18/2006 06:18:17 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/localhost/htdocs/cacti
05/18/2006 06:18:17 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/localhost/htdocs/cacti
05/18/2006 06:18:17 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/localhost/htdocs/cacti/script_server.php
05/18/2006 06:18:17 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for 'DragonServ'.
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /var/www/localhost/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 3988
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /var/www/localhost/htdocs/cacti/scripts/linux_memory.pl SwapFree:, output: 497780
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /var/www/localhost/htdocs/cacti/scripts/loadavg_multi.pl, output: 1min:2.77 5min:1.97 10min:1.28
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /var/www/localhost/htdocs/cacti/scripts/unix_users.pl, output: 3
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /var/www/localhost/htdocs/cacti/scripts/unix_processes.pl, output: 116
05/18/2006 06:18:17 AM - CMDPHP: Poller[0] Host[1] DS[8] CMD: perl /var/www/localhost/htdocs/cacti/scripts/unix_users.pl, output: 3
05/18/2006 06:18:17 AM - POLLER: Poller[0] Parsed MULTI output field '1min:2.77' [map 1min->load_1min]
05/18/2006 06:18:17 AM - POLLER: Poller[0] Parsed MULTI output field '5min:1.97' [map 5min->load_5min]
05/18/2006 06:18:17 AM - POLLER: Poller[0] Parsed MULTI output field '10min:1.28' [map 10min->load_15min]
05/18/2006 06:18:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1147933096:3988
05/18/2006 06:18:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1147933096:497780
05/18/2006 06:18:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1147933096:2.77:1.97:1.28
05/18/2006 06:18:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_users_6.rrd --template users 1147933096:3
05/18/2006 06:18:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_proc_7.rrd --template proc 1147933096:116
05/18/2006 06:18:17 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/gentoovian_server_users_8.rrd --template users 1147933096:3
05/18/2006 06:18:23 AM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
05/18/2006 06:18:23 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
05/18/2006 06:18:23 AM - CMDPHP: Poller[0] Time: 6.4951 s, Theads: N/A, Hosts: 2
05/18/2006 06:18:23 AM - SYSTEM STATS: Time:7.2710 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:10 RRDsProcessed:6
05/18/2006 06:18:23 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/cacti/poller_commands.php]
05/18/2006 06:18:23 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/cacti/poller_export.php]




-------------------------------
DragonServ cacti # php poller.php
05/18/2006 06:20:27 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
05/18/2006 06:20:28 AM - POLLER: Poller[0] Parsed MULTI output field '1min:1.50' [map 1min->load_1min]
05/18/2006 06:20:28 AM - POLLER: Poller[0] Parsed MULTI output field '5min:1.81' [map 5min->load_5min]
05/18/2006 06:20:28 AM - POLLER: Poller[0] Parsed MULTI output field '10min:1.31' [map 10min->load_15min]
05/18/2006 06:20:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1147933227:4020
05/18/2006 06:20:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1147933227:497780
05/18/2006 06:20:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1147933227:1.50:1.81:1.31
05/18/2006 06:20:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_users_6.rrd --template users 1147933227:3
05/18/2006 06:20:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/localhost_proc_7.rrd --template proc 1147933227:115
05/18/2006 06:20:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/gentoovian_server_users_8.rrd --template users 1147933227:3
OK u:0.00 s:0.00 r:1.08
OK u:0.00 s:0.00 r:1.09
OK u:0.00 s:0.00 r:1.10
OK u:0.00 s:0.01 r:1.12
OK u:0.00 s:0.01 r:1.13
OK u:0.00 s:0.01 r:1.14
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest