Home Features FAQ Pricing About Us Contact Us Web Site Monitoring: Website Monitor & Server Monitoring
Web Server Monitoring
Login

E-mail:

Password:



Secure Login
Lost Password

See Also

ping

Protocol command that initiates an ICMP test of the last host passed to the dns command. If all packets fail to be returned by the host, an error will be generated.

The ping command sets the following global variables:

  • LAST_PING_DELAY - the average time response time of all ping packets.
  • LAST_PING_BADPACKETS - the number of packets that were not acknowledged by the host.

usage: ping [count] [badpercent] [maxdelayavg]

parameters:

req name type description
N count expression Number of ping packets to send to the server. Default is 15.
N badpercent expression Percentage of packets that can be bad before an error is generated.
N maxdelayavg expression Maximum average packet delay before an error is generated.

examples

ping

Performs an ICMP test of the last host passed to the dns command by sending 15 ping packets.

ping "5"

Performs an ICMP test of the last host passed to the dns command by sending 5 ping packets.

ping "30" "70"

Performs an ICMP test of the last host passed to the dns command by sending 100 ping packets. If 70% or greater of those packets are bad, then an error will be generated.

ping "10" "100" "50"

Performs an ICMP test of the last host passed to the dns command by sending 100 ping packets. If all of the packets are bad (100%) an error will be generated. If the average packet delay is greater than 50ms, an error will be generated.


Alertra Script Language: Language Reference


Device Status

Not logged in.

What's This?


Web Site Monitoring · Security Scan · Features · FAQ · Pricing · About Us · Contact Us · Site Map

Copyright © 2000-2008 Alertra, Inc. All rights reserved. Please read our privacy statement and our terms of service.