Difference between revisions of "PING Subagent"

606 bytes added ,  21:04, 1 April 2012
no edit summary
Line 19: Line 19:
|}
|}


== Icmp.TargetList ==


List of configured ping targets.
= Provided Lists =
 
{| class="wikitable"
|-
! List !! Description
|-
| Icmp.TargetList || List of configured ping targets. Each line has the following fields, separated by spaces:
* IP address
* Last response time (milliseconds)
* Average response time (milliseconds)
* Packet loss (percents)
* Configured packet size
* Name
|}
 


= Configuration file =
= Configuration file =
Line 27: Line 40:
All configuration parameters related to PING subagent should be placed into '''*PING''' section of agent's configuration file. The following configuration parameters are supported:
All configuration parameters related to PING subagent should be placed into '''*PING''' section of agent's configuration file. The following configuration parameters are supported:


DefaultPacketSize = <bytes>
{| class="wikitable"
 
|-
Set default packet size.
! Parameter !! Format !! Description !! Default value
 
|-
 
| DefaultPacketSize || ''bytes'' || Set default packet size to ''bytes'' || 46
Target = <ip>:<name>:<bytes>
|-
 
| PacketRate || ''packets'' || Example || Example
Add target with IP address <ip> to background ping target list and assign a
|-
name <name> to it. Name field is optional and can be omited.
| Target || ''ip'':''name'':''psize'' || Add target with IP address ''ip'' to background ping target list and assign an optional name ''name'' to it. Target will be pinged using packets of ''psize'' bytes size. Name and packet size fields are optional and can be omited. This parameter can be given multiple times to add multiple targets. || ''none''
 
|-
 
| Timeout || ''milliseconds'' || Set response timeout to ''milliseconds''. || 3000
Timeout = <milliseconds>
|}
 
Set timeout for background ping requests. Default timeout is 3 seconds.




683

edits