Package: cacti Version: 0.8.7e-1.1 Severity: normal All "Unix - Ping Latency" graphs are empty due to "nan" return values from every execution of scripts/ping.pl. The latest working version is 0.8.7b: --- ping_0.8.7b.pl 2008-02-14 00:07:53.000000000 +0200 +++ ping_0.8.7e.pl 2009-06-28 19:07:11.000000000 +0300 @@ -3 +3,5 @@ -open(PROCESS, "ping -c 1 $ARGV[0] | grep icmp_seq |"); +# take care for tcp:hostname or TCP:ip@ +$host = $ARGV[0]; +$host =~ s/tcp:/$1/gis; + +open(PROCESS, "ping -c 1 $host | grep icmp_seq | grep time |");
I'm using only IP addresses for all devices. I'm not familiar with perl but the only strange part is the subtitution before "open". Thanks -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cacti depends on: ii apache2 2.2.9-10+lenny6 Apache HTTP Server metapackage ii apache2-mpm-prefor 2.2.9-10+lenny6 Apache HTTP Server - traditional n ii dbconfig-common 1.8.39 common framework for packaging dat ii debconf [debconf-2 1.5.24 Debian configuration management sy ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny4 server-side, HTML-embedded scripti ii libphp-adodb 5.05-1 The ADOdb database abstraction lay ii mysql-client-5.0 [ 5.0.51a-24+lenny2 MySQL database client binaries ii php5 5.2.6.dfsg.1-1+lenny4 server-side, HTML-embedded scripti ii php5-cli 5.2.6.dfsg.1-1+lenny4 command-line interpreter for the p ii php5-mysql 5.2.6.dfsg.1-1+lenny4 MySQL module for php5 ii php5-snmp 5.2.6.dfsg.1-1+lenny4 SNMP module for php5 ii rrdtool 1.3.1-4 Time-series data storage and displ ii snmp 5.4.1~dfsg-12 SNMP (Simple Network Management Pr ii ucf 3.0016 Update Configuration File: preserv Versions of packages cacti recommends: ii iputils-ping 3:20071127-1 Tools to test the reachability of ii logrotate 3.7.1-5 Log rotation utility ii mysql-server 5.0.51a-24+lenny2 MySQL database server (metapackage ii mysql-server-5.0 [mysq 5.0.51a-24+lenny2 MySQL database server binaries Versions of packages cacti suggests: pn php5-ldap <none> (no description available) -- debconf information: cacti/db/app-user: cacti cacti/mysql/admin-user: root cacti/upgrade-backup: true cacti/install-error: abort * cacti/webserver: Apache2 cacti/internal/reconfiguring: false cacti/mysql/method: unix socket cacti/remote/host: cacti/upgrade-error: abort cacti/dbconfig-upgrade: true cacti/internal/skip-preseed: false cacti/remote/newhost: cacti/purge: false cacti/passwords-do-not-match: cacti/dbconfig-remove: * cacti/dbconfig-install: true cacti/missing-db-package-error: abort cacti/database-type: mysql cacti/remove-error: abort cacti/db/dbname: cacti cacti/remote/port: cacti/dbconfig-reinstall: false -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

