NetXMS Support Forum

English Support => General Support => Topic started by: technak on August 04, 2010, 04:21:41 PM

Title: ping subagent
Post by: technak on August 04, 2010, 04:21:41 PM
Hi,

I am testing netxms product but need help based on this doc. https://www.netxms.org/documentation/ping_subagent.shtml I added followed lines into agent cfg file:

*PING
Target = 137.133.31.15:NO_GW

when I use nxget 127.0.0.1 Icmp.AvgPingTime(NO_GW) I get some output, but I want to know:

- how often is ping performed
- how can I see all ping times
- can I change how often is host pinged out ?

Thank you very much for any help.

Title: Re: ping subagent
Post by: Victor Kirhenshtein on August 04, 2010, 06:04:48 PM
Hi!

By default, hosts are pinged 4 times per minute (every 15 seconds). You can change this by adding PacketRate parameter to PING section. For example, configuration like this:

*PING
PacketRate = 12
Target = 137.133.31.15:NO_GW

will cause agent to ping targets every 5 seconds.

You can see all ping times by creating separate DCI for Icmp.LastPingTime parameter and collecting it with same intervals as ping rate. Then you will be able to see all ping times as values of this DCI.

Best regards,
Victor
Title: Re: ping subagent
Post by: technak on August 05, 2010, 12:38:30 PM
great ! thanks for quick reply.

Is there some log file where pingsubagent saves all pings times ? because I need to check it only temporary for some time, later will use avgresponsetime.

don't know who can update this manual:
https://www.netxms.org/documentation/ping_subagent.shtml

but it will be great if packetrate parameter will be added it can save your time in the future ;-)


Thanks and regards,
Milan