
anyone can help??
Moderators: Moderators, Developers
TheWitness wrote:In order or ICMP to work, the poller must be running as Root. UDP is often referred to as the Unreliable Datagram Protocol. The ping relies on an error message to be generated at the remote device indicating that the port is not open.
Often times, operating systems do not provide this response, or it is blocked by certain devices.
TheWitness
and when i lunch the ss_fping on command line:06/07/2007 10:40:04 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (160, '', '2007-06-07 10:40:03', 'loss:100.00')"
06/07/2007 10:40:04 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (54, 'hdd_free', '2007-06-07 10:40:03', '79676')"
06/07/2007 10:40:04 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (54, 'hdd_used', '2007-06-07 10:40:03', '16191')"
06/07/2007 10:40:04 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (34, 'ping', '2007-06-07 10:40:03', '0.053')"
06/07/2007 10:40:04 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (6, 'users', '2007-06-07 10:40:03', '1')"
06/07/2007 10:40:03 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (5, '', '2007-06-07 10:40:03', '1min:0.47 5min:0.59 10min:0.44')"
06/07/2007 10:40:03 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (4, 'mem_swap', '2007-06-07 10:40:03', '291576')"
06/07/2007 10:40:03 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (3, 'mem_buffers', '2007-06-07 10:40:03', '1480')"
06/07/2007 10:36:31 AM - SYSTEM STATS: Time:89.3382 Method:cmd.php Processes:1 Threads:N/A Hosts:9 HostsPerProcess:9 DataSources:90 RRDsProcessed:102
06/07/2007 10:36:31 AM - SYSTEM STATS: Time:89.4301 Method:cmd.php Processes:1 Threads:N/A Hosts:9 HostsPerProcess:9 DataSources:90 RRDsProcessed:95
[[email protected] scripts]# php ss_fping.php 192.168.0.2
Content-type: text/html
X-Powered-By: PHP/4.3.9
min:0.9600 avg:1.7083 max:4.0200 dev:1.0893 loss:0.0000[
Code: Select all
mysql cacti
> repair table poller_output;
> quit;
Code: Select all
[[email protected] ~]$ php /var/www/html/cacti/script_server.php
X-Powered-By: PHP/5.2.0
Content-type: text/html
[[email protected] ~]$
Code: Select all
[[email protected] cacti]# php script_server.php ss_fping 127.0.0.1 20 ICMP
X-Powered-By: PHP/5.2.0
Content-type: text/html
[[email protected] cacti]#