NetXMS Support Forum

English Support => General Support => Topic started by: pedrong on March 03, 2013, 07:15:59 AM

Title: ICMP PING
Post by: pedrong on March 03, 2013, 07:15:59 AM
Hi All,

I configured a node to do ping to another server by using icmp.ping("www.xyz.com") or icmp.ping(www.xyz.com). The value i got every time is 10000.

How to interpret the value? Anything wrong?

Thanks!

Pedro
Title: Re: ICMP PING
Post by: Victor Kirhenshtein on March 03, 2013, 01:38:23 PM
Value 10000 means "unreachable".

Best regards,
Victor
Title: Re: ICMP PING
Post by: pedrong on March 05, 2013, 05:30:08 AM
hi Victor, I found that if I use ip address, it works but doesn't work for domain name. I can do both ip address and domain ping in DOS prompt of the server. Is it normal? thanks!
Title: Re: ICMP PING
Post by: Victor Kirhenshtein on March 05, 2013, 04:29:26 PM
Most likely that means that agent cannot resolve host name for some reason. Try Icmp.Ping(localhost) - it should work. Also, what NetXMS agent version you have? Ping by DNS names only supported in 1.2.6.

Best regards,
Victor
Title: Re: ICMP PING
Post by: pedrong on March 05, 2013, 05:19:50 PM
Hi Victor, thanks for your reply! I use 1.2.5. Will update to 1.2.5

Thanks!