Note: When I do run findhosts.php, it does see some devices as pingable. It just doesn't catch all of them (like 10.100.1.1).
Code: Select all
[root@localhost ~]# cd /var/www/cacti/plugins/discovery/
[root@localhost discovery]# php findhosts.php -d -f
Checking to determine if it's time to run.
Checking if user changed the start time
The next run time has been determined to be at
2010-08-04 6:00:03
Scanning has been forced
Setting 'Rerun Data Queries' = true
Setting 'Create Graphs for Up Interfaces Only' = false
08/04/2010 05:06:32 AM - POLLER: Poller[0] Network Discover is now running
Rerunning Data Queries on Existing Hosts
Host : Localhost
Creating Graphs
Primary Community Name : public
Secondary Community Names :
Calculating Info for Subnet :10.100.1.0/24
Start IP is 10.100.1.1
Total IPs is 254
10.100.1.1 - Does not repond to ping!
10.100.1.2 - Does not repond to ping!
10.100.1.3 - Does not repond to ping!
10.100.1.4 [I killed the task as this point]
[root@localhost discovery]# ping 10.100.1.1
PING 10.100.1.1 (10.100.1.1) 56(84) bytes of data.
64 bytes from 10.100.1.1: icmp_seq=1 ttl=255 time=2.04 ms
64 bytes from 10.100.1.1: icmp_seq=2 ttl=255 time=1.42 ms
--- 10.100.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1477ms
rtt min/avg/max/mdev = 1.426/1.735/2.045/0.312 ms
[root@localhost discovery]#