php scripts work, but not graphing

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Here is your issue, sorry for the confusion:
02/19/2007 09:26:10 AM - CMDPHP: Poller[0] Host[5] DS[45] SERVER: php c:/Inetpub/wwwroot/cacti/scripts/ss_mem_conn.php 10.10.10.253, output: U
02/19/2007 09:26:10 AM - PHPSVR: Poller[0] WARNING: Function does not exist
02/19/2007 09:26:10 AM - PHPSVR: Poller[0] DEBUG: INC: 'php' FUNC: 'c:/Inetpub/wwwroot/cacti/scripts/ss_mem_conn.php' PARMS: '10.10.10.253'
02/19/2007 09:26:10 AM - CMDPHP: Poller[0] Host[5] DS[45] WARNING: Result from SERVER not valid. Partial Result: Warning: include_onc
You have prefaced the script server command with the "php". You are caught between a traditional script, which is aways prefixed using "php" and a script server script, which includes the following syntax:

<path_to_script> <function_within_script> <arguments>

You are doing the following:

<php binary> <path_to_script> <arguments>

You have added 1 thing incorrectly and removed the function name.

If you address these two things in your Data Input Method and then Repopulate your poller cache. You will have fixed that problem at least.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
za
Posts: 44
Joined: Thu Nov 09, 2006 10:39 am

i've try.. but..

Post by za »

Hi and thanks for the hint.. unfortunately it's not so simple..
this is my poller cache related to the script
Astaro - ping Script Server: c:/Inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 10.10.10.250
RRD: c:\Inetpub\wwwroot\cacti\rra\astaro_time_63.rrd
<script_path> <function> <arguments>
this time i think it's ok.

Still no data in my graph,still no errors in my log.. argh!!
this is the log.. maybe a bit longer
As you can see i've marked a row where it seems that the script cacht some data.. but finally i don't have nothing on my graph ... ARGHHH!!
02/19/2007 11:43:39 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:43:39 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:43:39 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:43:39 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:43:39 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:43:31 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:43:31 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:43:31 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:43:31 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:43:31 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:43:10 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:43:10 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:43:10 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:43:10 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:43:10 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:43:06 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:43:06 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:43:06 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:43:06 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:43:06 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:42:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:42:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:42:43 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:42:43 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:42:43 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:42:23 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:42:23 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:42:23 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:42:23 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:42:23 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:42:19 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:42:19 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:42:19 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:42:19 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:42:19 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:41:58 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:41:58 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:41:58 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:41:58 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:41:58 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:41:56 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:41:56 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:41:56 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:41:56 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:41:56 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:3.9655 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:40 RRDsProcessed:21')"
02/19/2007 11:41:50 PM - SYSTEM STATS: Time:3.9655 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:40 RRDsProcessed:21
02/19/2007 11:41:50 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\vpn_concentrator_traffic_in_38.rrd --template traffic_out:traffic_in 1171924909:153576996:1203788747
02/19/2007 11:41:50 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\vpn_concentrator_traffic_in_39.rrd --template traffic_in:traffic_out 1171924909:1358605040:1904901804
02/19/2007 11:41:50 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\vpn_concentrator_traffic_in_40.rrd --template traffic_out:traffic_in 1171924909:0:0
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='38' and rrd_name='traffic_in' and time='2007-02-19 23:41:49'"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='38' and rrd_name='traffic_out' and time='2007-02-19 23:41:49'"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='39' and rrd_name='traffic_out' and time='2007-02-19 23:41:49'"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='39' and rrd_name='traffic_in' and time='2007-02-19 23:41:49'"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='40' and rrd_name='traffic_in' and time='2007-02-19 23:41:49'"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='40' and rrd_name='traffic_out' and time='2007-02-19 23:41:49'"
02/19/2007 11:41:50 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) "
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] Time: 2.4196 s, Theads: N/A, Hosts: 9
02/19/2007 11:41:50 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (40, 'traffic_out', '2007-02-19 23:41:49', '0')"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] Host[6] DS[40] SNMP: v1: 10.254.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 0
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (40, 'traffic_in', '2007-02-19 23:41:49', '0')"
02/19/2007 11:41:50 PM - CMDPHP: Poller[0] Host[6] DS[40] SNMP: v1: 10.254.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 0
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (39, 'traffic_in', '2007-02-19 23:41:49', '1358605040')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[6] DS[39] SNMP: v1: 10.254.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 1358605040
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (39, 'traffic_out', '2007-02-19 23:41:49', '1904901804')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[6] DS[39] SNMP: v1: 10.254.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1904901804
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_58.rrd --template traffic_in:traffic_out 1171924908:175223176:175223251
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_57.rrd --template traffic_in:traffic_out 1171924908:1808787168:1808787239
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_56.rrd --template traffic_in:traffic_out 1171924908:0:0
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_55.rrd --template traffic_in:traffic_out 1171924908:0:0
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_54.rrd --template traffic_in:traffic_out 1171924908:1658340:1658340
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_53.rrd --template traffic_in:traffic_out 1171924908:0:0
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_52.rrd --template traffic_in:traffic_out 1171924908:0:0
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_51.rrd --template traffic_in:traffic_out 1171924908:3870547367:3971454941
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_50.rrd --template traffic_out:traffic_in 1171924908:0:0
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_49.rrd --template traffic_out:traffic_in 1171924908:0:0
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\terra_proc_23.rrd --template proc 1171924908:52
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_time_63.rrd --template time 1171924908:U
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_traffic_in_25.rrd --template traffic_in:traffic_out 1171924908:793356617:2877977469
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_traffic_in_20.rrd --template traffic_out:traffic_in 1171924908:3418051195:3382805723
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_traffic_in_19.rrd --template traffic_out:traffic_in 1171924908:1163823777:1175306580
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_traffic_in_18.rrd --template traffic_out:traffic_in 1171924908:4250490160:1642422719
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_traffic_in_9.rrd --template traffic_in:traffic_out 1171924908:1512956222:2630679674
02/19/2007 11:41:49 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\astaro_traffic_in_8.rrd --template traffic_in:traffic_out 1171924908:4125140402:1543669862
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='58' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='58' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='57' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='57' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='56' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='56' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='55' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='55' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='54' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='54' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='53' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='53' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='52' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='52' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='51' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='51' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='50' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='50' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='49' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='49' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='23' and rrd_name='proc' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='63' and rrd_name='time' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='25' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='25' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='20' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='20' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='19' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='19' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='18' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='18' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='9' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='9' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='8' and rrd_name='traffic_out' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='8' and rrd_name='traffic_in' and time='2007-02-19 23:41:48'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (38, 'traffic_in', '2007-02-19 23:41:49', '1203788747')"
02/19/2007 11:41:49 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=63"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[6] DS[38] SNMP: v1: 10.254.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1203788747
02/19/2007 11:41:49 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) LIMIT 10000"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (38, 'traffic_out', '2007-02-19 23:41:49', '153576996')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[6] DS[38] SNMP: v1: 10.254.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 153576996
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='100650844' where host_id='6' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[6] RECACHE: Processing 1 items in the auto reindex cache for '10.254.0.254'.
02/19/2007 11:41:49 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=6"
02/19/2007 11:41:49 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 = '2007-02-08 06:43:58', status_last_error = 'Host did not respond to SNMP', min_time = '0.48000', max_time = '110.48000', cur_time = '4.92', avg_time = '10.3438553239', total_polls = '4507', failed_polls = '1188', availability = '73.6410028844' where hostname = '10.254.0.254'"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[6] SNMP: Host responded to SNMP
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (58, 'traffic_out', '2007-02-19 23:41:48', '175223251')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[58] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 175223251
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (58, 'traffic_in', '2007-02-19 23:41:48', '175223176')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[58] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 175223176
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (57, 'traffic_out', '2007-02-19 23:41:48', '1808787239')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[57] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 1808787239
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (57, 'traffic_in', '2007-02-19 23:41:48', '1808787168')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[57] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1808787168
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (56, 'traffic_out', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[56] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 0
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (56, 'traffic_in', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[56] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 0
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (55, 'traffic_out', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[55] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 0
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (55, 'traffic_in', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[55] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (54, 'traffic_out', '2007-02-19 23:41:48', '1658340')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[54] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 1658340
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (54, 'traffic_in', '2007-02-19 23:41:48', '1658340')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[54] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 1658340
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (53, 'traffic_out', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[53] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 0
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (53, 'traffic_in', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:49 PM - CMDPHP: Poller[0] Host[5] DS[53] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (52, 'traffic_out', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[52] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (52, 'traffic_in', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[52] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (51, 'traffic_out', '2007-02-19 23:41:48', '3971454941')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[51] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 3971454941
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (51, 'traffic_in', '2007-02-19 23:41:48', '3870547367')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[51] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 3870547367
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (50, 'traffic_in', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[50] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (50, 'traffic_out', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[50] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (49, 'traffic_in', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[49] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (49, 'traffic_out', '2007-02-19 23:41:48', '0')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] DS[49] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 0
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='3607087900' where host_id='5' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] RECACHE: Processing 1 items in the auto reindex cache for '10.10.10.253'.
02/19/2007 11:41:48 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=5"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '2007-02-19 05:25:35', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'Host did not respond to SNMP', min_time = '0.00000', max_time = '131.10000', cur_time = '4.58', avg_time = '5.95130874355', total_polls = '7172', failed_polls = '1', availability = '99.9860568879' where hostname = '10.10.10.253'"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (23, 'proc', '2007-02-19 23:41:48', '52')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[3] DS[23] SNMP: v1: 192.168.1.13, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 52
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='36374394' where host_id='3' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '192.168.1.13'.
02/19/2007 11:41:48 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=3"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '2007-02-19 05:25:34', status_rec_date = '2007-01-23 12:45:02', status_last_error = 'Host did not respond to SNMP', min_time = '0.00000', max_time = '201.42000', cur_time = '4.57', avg_time = '4.9585225013', total_polls = '5762', failed_polls = '5', availability = '99.9132245748' where hostname = '192.168.1.13'"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (63, 'time', '2007-02-19 23:41:48', 'min:0.5000 avg:4.4867 max:17.7500 dev:6.3716 loss:0.0000')"
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
************************************************************
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[63] SERVER: c:/Inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 10.10.10.250, output: min:0.5000 avg:4.4867 max:17.7500 dev:6.3716 loss:0.0000
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
*************************************************************
************************************************************

02/19/2007 11:41:48 PM - PHPSVR: Poller[0] DEBUG: INC: 'c:/Inetpub/wwwroot/cacti/scripts/ss_fping.php' FUNC: 'ss_fping' PARMS: '10.10.10.250'
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (25, 'traffic_out', '2007-02-19 23:41:48', '2877977469')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[25] SNMP: v1: 10.10.10.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 2877977469
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (25, 'traffic_in', '2007-02-19 23:41:48', '793356617')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[25] SNMP: v1: 10.10.10.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 793356617
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (20, 'traffic_in', '2007-02-19 23:41:48', '3382805723')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 10.10.10.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 3382805723
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (20, 'traffic_out', '2007-02-19 23:41:48', '3418051195')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 10.10.10.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 3418051195
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (19, 'traffic_in', '2007-02-19 23:41:48', '1175306580')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 10.10.10.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 1175306580
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (19, 'traffic_out', '2007-02-19 23:41:48', '1163823777')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 10.10.10.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 1163823777
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (18, 'traffic_in', '2007-02-19 23:41:48', '1642422719')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 10.10.10.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 1642422719
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (18, 'traffic_out', '2007-02-19 23:41:48', '4250490160')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 10.10.10.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 4250490160
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (9, 'traffic_out', '2007-02-19 23:41:48', '2630679674')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 10.10.10.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 2630679674
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (9, 'traffic_in', '2007-02-19 23:41:48', '1512956222')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 10.10.10.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 1512956222
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (8, 'traffic_out', '2007-02-19 23:41:48', '1543669862')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 10.10.10.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1543669862
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (8, 'traffic_in', '2007-02-19 23:41:48', '4125140402')"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 10.10.10.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 4125140402
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='392657129' where host_id='2' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.10.10.250'.
02/19/2007 11:41:48 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=2"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '2007-02-19 05:25:33', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'Host did not respond to SNMP', min_time = '0.00000', max_time = '999.17000', cur_time = '6.37', avg_time = '5.31419988069', total_polls = '8131', failed_polls = '1', availability = '99.9877013897' where hostname = '10.10.10.250'"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
02/19/2007 11:41:48 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
02/19/2007 11:41:48 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\Inetpub\wwwroot\cacti\script_server.php
02/19/2007 11:41:48 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/inetpub/wwwroot/cacti
02/19/2007 11:41:48 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/inetpub/wwwroot/cacti
02/19/2007 11:41:48 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
02/19/2007 11:41:48 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) LIMIT 10000"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/19/2007 11:41:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
02/19/2007 11:41:47 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 0 AND host_id <= 9))"
02/19/2007 11:41:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 0 AND host_id <= 9) ORDER by host_id"
02/19/2007 11:41:47 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 0 AND id <= 9) ORDER by id"
02/19/2007 11:41:46 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q c:/inetpub/wwwroot/cacti/cmd.php 0 9]
02/19/2007 11:41:46 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
02/19/2007 11:41:46 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','c:/Inetpub/wwwroot/cacti')"
02/19/2007 11:41:46 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
02/19/2007 11:41:46 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
02/19/2007 11:41:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='remove_verification'"
02/19/2007 11:41:42 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='remove_verification'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='other_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='other_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_retries'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_retries'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_port'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_port'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_timeout'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_timeout'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_password'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_password'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_username'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_username'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_community'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_community'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_ver'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_ver'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='rrdtool_version'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='rrdtool_version'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_version'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_version'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='versions_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='versions_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_perror'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_perror'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pwarn'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pwarn'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pstats'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pstats'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_verbosity'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_verbosity'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='poller_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='poller_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_export'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_export'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_graph'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_graph'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_snmp'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_snmp'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_destination'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_destination'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='logging_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='logging_header'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('remove_verification', 'on')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_retries', '3')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_port', '161')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_timeout', '500')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_password', '')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_username', '')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_community', 'public')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_ver', '1')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('rrdtool_version', 'rrd-1.2.x')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_version', 'net-snmp')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_perror', 'on')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_pwarn', '')"
02/19/2007 11:41:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_pstats', '')"
02/19/2007 11:41:08 PM - SYSTEM STATS: Time:3.4379 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:40 RRDsProcessed:21
Thanks for the patience!

Za
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, am I talking with two people. Because out of one corner of your mouth you are speaking of ss_mem_conn.php and the next ss_fping.php. You are making NO SENSE!!!

You are on your OWN...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
za
Posts: 44
Joined: Thu Nov 09, 2006 10:39 am

OK.. I was in wrong..but..

Post by za »

Hi, the last thing that i want it's to screwing up your mind.

I've notice my trouble using php-script 'cause i've made one test script (ss_mem_conn.php) and, as u know, I got data running the script from server_script promt, but no data on the graph.

Then i say to myself to try with some similar php-script, and i've tried with ss_sql.php and ss_fping.php, 'cause they are embedded on cacti, just to try to understand something looking at some correct script.

In this point of the post-story you give me back a new version of ss_fping.php so i started to use both the script ( ss_fping.php and ss_mem_connn.php) to make the test that u teach me.

As u can see from this pieces of log file, also the ss_mem_conn.php script has the same problem; 'cause they are similar script, 'cause they have the same trouble i decided to referred indifferently to one of this two (I also wrote other php script, and also they have the same problem)
02/21/2007 11:00:23 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (64, '', '2007-02-21 11:00:14', 'MemTotal:12672832 MemAvaible:10003584 MemThreshold:200000 Connessioni:2')"
02/21/2007 11:00:23 AM - CMDPHP: Poller[0] Host[5] DS[64] SERVER: c:/Inetpub/wwwroot/cacti/scripts/ss_mem_conn.php ss_mem_conn 10.10.10.253, output: MemTotal:12672832 MemAvaible:10003584 MemThreshold:200000 Connessioni:2
02/21/2007 11:00:23 AM - 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) LIMIT 10000"
02/21/2007 11:00:23 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/21/2007 11:00:22 AM - 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) LIMIT 10000"
02/21/2007 11:00:22 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/21/2007 11:00:21 AM - 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) LIMIT 10000"
02/21/2007 11:00:21 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/21/2007 11:00:20 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_58.rrd --template traffic_in:traffic_out 1172052014:175615677:175615602
02/21/2007 11:00:20 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\Inetpub\wwwroot\cacti\rra\max3000_traffic_in_57.rrd --template traffic_out:traffic_in 1172052014:1811111405:1811111476
02/21/2007 11:00:20 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='57' and rrd_name='traffic_in' and time='2007-02-21 11:00:14'"
02/21/2007 11:00:20 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='58' and rrd_name='traffic_out' and time='2007-02-21 11:00:14'"
02/21/2007 11:00:20 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='58' and rrd_name='traffic_in' and time='2007-02-21 11:00:14'"
02/21/2007 11:00:20 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='57' and rrd_name='traffic_out' and time='2007-02-21 11:00:14'"
02/21/2007 11:00:20 AM - 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) LIMIT 10000"
02/21/2007 11:00:20 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
02/21/2007 11:00:19 AM - PHPSVR: Poller[0] DEBUG: INC: 'c:/Inetpub/wwwroot/cacti/scripts/ss_mem_conn.php' FUNC: 'ss_mem_conn' PARMS: '10.10.10.253'
I really appreciate your help, please, hold on!


Za
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Make sure you DO NOT RUN ss_sql.php. It was never QA'd and crashes the script server. It was meant to be a reference script.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
za
Posts: 44
Joined: Thu Nov 09, 2006 10:39 am

No ss_sql running

Post by za »

Hi, ss_sql.php is not runnig..

I always have data in my log and in my script_server (via prompt) but no data in the legend and no data in the graph.

I've got this format output in every script
<name>:<value> <name1>:<value1> <name2>:<value2>

Any ideas?

Thanks

Za
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I suspect that possibly your Data Template is messed up "somehow", which is to say that I would have to work with the system to verify for sure. Either that your your Graph Template is hosed.

Have you looked inside of the RRD's? Have you looked at a HIGH log for "the multiple part" log message.

Those two are important in debugging your template.

If you see the multi-part ... then you know data is being placed into the RRD file. If you don't see details in the file, then your data template is likely hosted. Min/Max, etc.

If there is data, then you may have a damaged Graph Template. All are possible. Experience cures all these issues over time.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
za
Posts: 44
Joined: Thu Nov 09, 2006 10:39 am

rrd details

Post by za »

Here is some details about the rrd file generate to store data from the ss_mem_conn script


C:\rrdtool>rrdtool info c:\inetpub\wwwroot\cacti\rra\max3000_avaiblememory_64.rrd
filename = "c:\inetpub\wwwroot\cacti\rra\max3000_avaiblememory_64.rrd"
rrd_version = "0003"
step = 300
last_update = 1172153101
ds[TotalMemory].type = "GAUGE"
ds[TotalMemory].minimal_heartbeat = 600
ds[TotalMemory].min = 0.0000000000e+00
ds[TotalMemory].max = NaN
ds[TotalMemory].last_ds = "UNKN"
ds[TotalMemory].value = 1.2672832000e+07
ds[TotalMemory].unknown_sec = 0
ds[ActiveConnections].type = "GAUGE"
ds[ActiveConnections].minimal_heartbeat = 600
ds[ActiveConnections].min = 0.0000000000e+00
ds[ActiveConnections].max = NaN
ds[ActiveConnections].last_ds = "UNKN"
ds[ActiveConnections].value = 1.0000000000e+00
ds[ActiveConnections].unknown_sec = 0
ds[ThresholdMemory].type = "GAUGE"
ds[ThresholdMemory].minimal_heartbeat = 600
ds[ThresholdMemory].min = 0.0000000000e+00
ds[ThresholdMemory].max = NaN
ds[ThresholdMemory].last_ds = "UNKN"
ds[ThresholdMemory].value = 2.0000000000e+05
ds[ThresholdMemory].unknown_sec = 0
ds[AvaibleMemory].type = "GAUGE"
ds[AvaibleMemory].minimal_heartbeat = 600
ds[AvaibleMemory].min = 0.0000000000e+00
ds[AvaibleMemory].max = NaN
ds[AvaibleMemory].last_ds = "UNKN"
ds[AvaibleMemory].value = 1.0012416000e+07
ds[AvaibleMemory].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 1.2672832000e+07
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 1.0000000000e+00
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = 2.0000000000e+05
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = 1.0013026773e+07
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 1.2672832000e+07
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 1.0000000000e+00
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[2].cdp_prep[2].value = 2.0000000000e+05
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[2].cdp_prep[3].value = 1.0013026773e+07
rra[2].cdp_prep[3].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 3.2949363200e+08
rra[3].cdp_prep[0].unknown_datapoints = 143
rra[3].cdp_prep[1].value = 7.8306666667e+01
rra[3].cdp_prep[1].unknown_datapoints = 22
rra[3].cdp_prep[2].value = 2.9400000000e+07
rra[3].cdp_prep[2].unknown_datapoints = 22
rra[3].cdp_prep[3].value = 1.4724270569e+09
rra[3].cdp_prep[3].unknown_datapoints = 22
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = NaN
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = NaN
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 1.2672832000e+07
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 1.0000000000e+00
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = 2.0000000000e+05
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[5].cdp_prep[3].value = 1.0013026773e+07
rra[5].cdp_prep[3].unknown_datapoints = 0
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 1.2672832000e+07
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 1.0000000000e+00
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[6].cdp_prep[2].value = 2.0000000000e+05
rra[6].cdp_prep[2].unknown_datapoints = 0
rra[6].cdp_prep[3].value = 1.0013026773e+07
rra[6].cdp_prep[3].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 1.2672832000e+07
rra[7].cdp_prep[0].unknown_datapoints = 143
rra[7].cdp_prep[1].value = 5.0000000000e+00
rra[7].cdp_prep[1].unknown_datapoints = 22
rra[7].cdp_prep[2].value = 2.0000000000e+05
rra[7].cdp_prep[2].unknown_datapoints = 22
rra[7].cdp_prep[3].value = 1.0021758293e+07
rra[7].cdp_prep[3].unknown_datapoints = 22

C:\rrdtool>rrdtool tune c:\inetpub\wwwroot\cacti\rra\max3000_avaiblememory_64.rrd
DS[TotalMemory] typ: GAUGE hbt: 600 min: 0.0000 max: nan
DS[ActiveConnections] typ: GAUGE hbt: 600 min: 0.0000 max: nan
DS[ThresholdMemory] typ: GAUGE hbt: 600 min: 0.0000 max: nan
DS[AvaibleMemory] typ: GAUGE hbt: 600 min: 0.0000 max: nan
C:\rrdtool>rrdtool last c:\inetpub\wwwroot\cacti\rra\max3000_avaiblememory_64.rrd
1172153703

C:\rrdtool>rrdtool first c:\inetpub\wwwroot\cacti\rra\max3000_avaiblememory_64.rrd
1171974000
This is the log in HIGH level
02/22/2007 03:30:03 PM - SYSTEM STATS: Time:3.2429 Method:cmd.php Processes:1 Threads:N/A Hosts:10 HostsPerProcess:10 DataSources:42 RRDsProcessed:23
02/22/2007 03:30:03 PM - CMDPHP: Poller[0] Time: 2.5577 s, Theads: N/A, Hosts: 9
02/22/2007 03:30:03 PM - CMDPHP: Poller[0] Host[6] DS[40] SNMP: v1: 10.254.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 0
02/22/2007 03:30:03 PM - CMDPHP: Poller[0] Host[6] DS[40] SNMP: v1: 10.254.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 0
02/22/2007 03:30:03 PM - CMDPHP: Poller[0] Host[6] DS[39] SNMP: v1: 10.254.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 2589528111
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[6] DS[39] SNMP: v1: 10.254.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3947941013
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[6] DS[38] SNMP: v1: 10.254.0.254, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3108851190
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[6] DS[38] SNMP: v1: 10.254.0.254, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 1118471949
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[6] SNMP: Host responded to SNMP
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[58] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 180628086
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[57] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1817374241
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[56] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 0
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[55] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 0
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[54] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 1658340
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[53] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 0
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[52] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 0
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[51] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 3961594791
02/22/2007 03:30:02 PM - CMDPHP: Poller[0] Host[5] DS[64] SERVER: c:/Inetpub/wwwroot/cacti/scripts/ss_mem_conn.php ss_mem_conn 10.10.10.253, output: Tot:12672832 Av:10003840 Thr:200000 Conn:2
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[58] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 180618318
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[57] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 1817364624
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[56] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[55] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[54] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 1658340
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[53] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[52] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[51] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 4053410604
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[50] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[50] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[49] SNMP: v1: 10.10.10.253, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] DS[49] SNMP: v1: 10.10.10.253, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 0
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[4] DS[65] SERVER: c:/Inetpub/wwwroot/cacti/scripts/ss_prova.php ss_prova 192.168.1.14, output: ipInee:5051508
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[3] DS[23] SNMP: v1: 192.168.1.13, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 52
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 192.168.1.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 1323362332
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 192.168.1.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 805155279
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[63] SERVER: c:/Inetpub/wwwroot/cacti/scripts/ss_fping.php ss_fping 192.168.1.250, output: min:0.3500 avg:0.6400 max:1.2900 dev:0.3652 loss:0.0000
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[25] SNMP: v1: 192.168.1.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 511860793
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[25] SNMP: v1: 192.168.1.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 2311769289
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 192.168.1.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 4061059298
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[20] SNMP: v1: 192.168.1.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 3992716965
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 192.168.1.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 631026592
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[19] SNMP: v1: 192.168.1.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 473538257
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 192.168.1.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 1953230299
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 192.168.1.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 804311781
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 192.168.1.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 2267090637
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 192.168.1.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3448212880
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
02/22/2007 03:30:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
THE ATTACHED FILE ARE NOT ZIPPED, JUST CUT THE EXTENSION .ZIP

Thanks
Za
Attachments
InputMethod.mht.zip
Input Method
(67.53 KiB) Downloaded 254 times
DataSource.mht.zip
Data Source
(75.08 KiB) Downloaded 250 times
DataTemplatePage.mht.zip
Data Template
(71.78 KiB) Downloaded 223 times
GraphTemplatePage.mht.zip
Graph Template
(88.59 KiB) Downloaded 671 times
RrdConvertedToXml.xml
Output of rrd file
(656.29 KiB) Downloaded 196 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests