NetXMS Support Forum

English Support => General Support => Topic started by: mlembke on August 27, 2013, 03:18:27 PM

Title: HowTO usw Icmp.AvgPingTime(*)
Post by: mlembke on August 27, 2013, 03:18:27 PM
Hi together,

i'm trying to use this DCI Icmp.AvgPingTime(*), but it seems, that i use it in a wrong way.

Can someone help me?

Thanks
Markus
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: Victor Kirhenshtein on August 27, 2013, 05:22:57 PM
Hi!

Here is PING subagent description with configuration example: http://wiki.netxms.org/wiki/Subagent:Ping (http://wiki.netxms.org/wiki/Subagent:Ping)

Best regards,
Victor
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: mlembke on August 27, 2013, 05:53:28 PM
Hi Viktor,

thanks for this link, i didn't found it...

I've change the Agent Configfile like...

SubAgent = ping.nsm

*PING
Timeout = 1000
PacketRate = 12
Target = FQDN:SERVER1

And as DCI

Icmp.PacketLoss(SERVER1)
Unsigendint

but i cant get values

What i'am doing wrong?

Thanks
Markus
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: mlembke on August 28, 2013, 01:30:27 PM
Hi Viktor,

it seems, that a reboot was good.
I'm getting the Data, but The DCI is recreated every time, and it loses the history data.

Is it a bug?

Thanks
Markus
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: Victor Kirhenshtein on August 28, 2013, 04:51:12 PM
Hi!

What do you mean by "DCI is recreated"? It disappearing and you have to create it again?

Best regards,
Victor
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: mlembke on August 28, 2013, 08:01:05 PM
Hi,

no it's already there, but after a while the graph says invalid DCI ID and if i will have a look on
the History, it's 30 Minutes or so.

Best regards
Markus
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: Victor Kirhenshtein on August 28, 2013, 08:41:22 PM
Looks like a bug. Can you show configuration screenshot? Also, check for file called .log somewhere inside .nxmc directory in your home directory and send it to me if it has any errors logged.

Best regards,
Victor
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: mlembke on August 28, 2013, 10:09:36 PM
Hi Victor,

okey, here it is. I hope i will help you.
If you need other things, please let me know.

Best regards
Markus
Title: Re: HowTO usw Icmp.AvgPingTime(*)
Post by: Victor Kirhenshtein on August 29, 2013, 04:38:28 PM
Seems to be an instance discovery issue. I'll try to reproduce it on my test system.

Best regards,
Victor