RDDTool says OK but no graph appear
Moderators: Developers, Moderators
RDDTool says OK but no graph appear
Hi,
I have problem with Cacti. My Graphs are here but they are all empty
I don't have too much graphs, just the default:
Localhost - Load Average
Localhost - Logged in Users
Localhost - Memory Usage
Localhost - Processes
Help me please, I don't understand where it comes from
I have problem with Cacti. My Graphs are here but they are all empty
I don't have too much graphs, just the default:
Localhost - Load Average
Localhost - Logged in Users
Localhost - Memory Usage
Localhost - Processes
Help me please, I don't understand where it comes from
- Attachments
-
- graph_image.png (22.01 KiB) Viewed 2803 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
It is possible, that this device does not respond to those snmp requests. Switch Settings -> Logging Level to DEBUg for ONE polling cycle and look at ./log/cacti.log. Watch out for warnings and find the failing OID in the previous line.
You may try to snmpwalk againt this OID from command line to verify
Reinhard
You may try to snmpwalk againt this OID from command line to verify
Reinhard
I have this logs. Where could be the problem ? :
Could it be this the problem ?:
What's wrong ?
Code: Select all
06/22/2006 02:55:01 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
06/22/2006 02:55:01 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
06/22/2006 02:55:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/usr/share/cacti/site')"
06/22/2006 02:55:01 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
06/22/2006 02:55: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 1]
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from host where (disabled = '' and id >= 0 and id <= 1) ORDER by id"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT * from poller_item WHERE (host_id >= 0 and host_id <= 1) ORDER by host_id"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND (host_id >= 0 and host_id <= 1))"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '0.00000', max_time = '0.00000', cur_time = '0', avg_time = '0', total_polls = '24', failed_polls = '0', availability = '100' where hostname = '127.0.0.1'"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_reindex.data_query_id, poller_reindex.action, poller_reindex.op, poller_reindex.assert_value, poller_reindex.arg1 from poller_reindex where poller_reindex.host_id=1"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 33040
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (3,'mem_buffers','2006-06-22 14:55:02','33040')"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 979924
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (4,'mem_swap','2006-06-22 14:55:02','979924')"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.01 10min:0.00
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (5,'','2006-06-22 14:55:02','1min:0.00 5min:0.01 10min:0.00')"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl , output: 2
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (6,'users','2006-06-22 14:55:02','2')"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 127
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (7,'proc','2006-06-22 14:55:02','127')"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Time: 0.1294 s, Theads: N/A, Hosts: 1
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select data_template_rrd.data_source_name, data_input_fields.data_name from (data_template_rrd,data_input_fields) where data_template_rrd.data_input_field_id=data_input_fields.id and data_template_rrd.local_data_id=5"
06/22/2006 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
06/22/2006 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.01' [map 5min->load_5min]
06/22/2006 02:55:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='3' and rrd_name='mem_buffers' and time='2006-06-22 14:55:02'"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='4' and rrd_name='mem_swap' and time='2006-06-22 14:55:02'"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='5' and rrd_name='' and time='2006-06-22 14:55:02'"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='6' and rrd_name='users' and time='2006-06-22 14:55:02'"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='7' and rrd_name='proc' and time='2006-06-22 14:55:02'"
06/22/2006 02:55:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1150980902:33040
06/22/2006 02:55:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1150980902:979924
06/22/2006 02:55: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 1150980902:0.00:0.01:0.00
06/22/2006 02:55:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1150980902:2
06/22/2006 02:55:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1150980902:127
06/22/2006 02:55:02 PM - SYSTEM STATS: Time:1.0566 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.0566 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5')"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
Code: Select all
No host availability check possible for '127.0.0.1'
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
That script is designed for localhost only and does not use SNMP. When you view localhost in the device list, do you get an SNMP error at the top? When you see it in the list, do you see that the host is marked as down?
Is this localhost? Or a remote host?
What operating system is Cacti running on?
Is this localhost? Or a remote host?
What operating system is Cacti running 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]
Thank you for your answer.
At the top of the device list, I get "SNMP not in use". No errors. The host isn't marked down.
It's on a localhost, I'm running cacti-0.8.6h, and my OS is a Debian Testing.
I've made 2 month a cacti installation and I encounterd no one problem. Very strange what happend here !
At the top of the device list, I get "SNMP not in use". No errors. The host isn't marked down.
It's on a localhost, I'm running cacti-0.8.6h, and my OS is a Debian Testing.
I've made 2 month a cacti installation and I encounterd no one problem. Very strange what happend here !
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Um, turn logging up to Debug and watch the log for one polling cycle in debug mode, see if anything stands out to explain 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]
It stoped to work. I don't know why I had a graph for a few and now it stopped. I use cmd, but I don't have the same result each time.
When I launched cmd, I had:
and now:
Any ideas ?
When I launched cmd, I had:
Code: Select all
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
06/22/2006 04:29:59 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]
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
06/22/2006 04:30:00 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.03' [map 1min->load_1min]
06/22/2006 04:30:00 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.07' [map 5min->load_5min]
06/22/2006 04:30:00 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.01' [map 10min->load_15min]
06/22/2006 04:30:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1150986599:34264
06/22/2006 04:30:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1150986599:979924
06/22/2006 04:30:00 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 1150986599:0.03:0.07:0.01
06/22/2006 04:30:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1150986599:2
06/22/2006 04:30:00 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1150986599:127
06/22/2006 04:30:00 PM - SYSTEM STATS: Time:1.0631 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:5 RRDsProcessed:5
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
Code: Select all
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
06/22/2006 04:47:04 PM - SYSTEM STATS: Time:1.0592 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:5 RRDsProcessed:5
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
OK u:0.01 s:0.00 r:0.02
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You are suppose to launch poller.php, not cmd.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]
[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]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You did not provide an snmp community string for that device. So it is assumed that you won't use SNMP. And that in turn results in no SNMP data gathering. So, set up your snmp daemon on that target device, start the daemon/service and verify bynerdman wrote:I have this logs. Where could be the problem ? :
What's wrong ?Code: Select all
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP ... 06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
Code: Select all
snmpwalk -c <your community> -v 1 <target host> system
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
This is only needed if you want to monitor interface traffic. But as far as I understood it, we where only trying to get the local scripts to work properly.lvm wrote:You did not provide an snmp community string for that device. So it is assumed that you won't use SNMP. And that in turn results in no SNMP data gathering. So, set up your snmp daemon on that target device, start the daemon/service and verify bynerdman wrote:I have this logs. Where could be the problem ? :
What's wrong ?Code: Select all
06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP ... 06/22/2006 02:55:02 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
ReinhardCode: Select all
snmpwalk -c <your community> -v 1 <target host> system
[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]
I started a new topic because I have some strange graphs :
http://forums.cacti.net/viewtopic.php?t=14411
http://forums.cacti.net/viewtopic.php?t=14411
Who is online
Users browsing this forum: No registered users and 2 guests