|
|
| Author |
Message |
DavidM
Joined: 08 Feb 2003 Posts: 34
|
Posted: Tue Feb 11, 2003 11:43 pm Post subject: ping.pl |
|
|
I'm running ping.pl from /var/www/html/cacti/cmd.php on RH Linux 7.1 and everything runs except I'm getting:
ping: bad number of packets to transmit.
What is wrong with the script? It looks like Cacti is only passing 1 argument of loopback0.gw4.phl1.alter.net where the script expects a -c as $ARGV[0] and then $ARGV[1] as second argument.
Running script manually appears to die on the -w 1 | grep icmp_seq command.... |
|
| Back to top |
|
 |
bulek Cacti Pro User
Joined: 20 May 2002 Posts: 852 Location: Poland
|
Posted: Wed Feb 12, 2003 3:06 am Post subject: |
|
|
Use ping-new.pl instead.
- bulek |
|
| Back to top |
|
 |
|