Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


ping.pl

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
DavidM



Joined: 08 Feb 2003
Posts: 34

PostPosted: Tue Feb 11, 2003 11:43 pm    Post subject: ping.pl Reply with quote

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

PostPosted: Wed Feb 12, 2003 3:06 am    Post subject: Reply with quote

Use ping-new.pl instead.

- bulek
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group