ping subagent

Started by technak, August 04, 2010, 04:21:41 PM

Previous topic - Next topic

technak

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.


Victor Kirhenshtein

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

technak

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