NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: SubAgent - icmp ping  (Read 837 times)

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
SubAgent - icmp ping
« on: August 03, 2018, 03:42:23 pm »

Hi,

I use ICMP Ping response time but it doesn't work it only show's 10k and also my Average response value is 0 is that correct cause it doesn't change on some routers, any ideas why it might show that. I have attached my config file and also my DCI settings.

Best Regards
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6408
    • View Profile
Re: SubAgent - icmp ping
« Reply #1 on: August 03, 2018, 05:37:12 pm »

Hi,

response time 10000 means "unreachable". Are you sure that devices will respond to ICMP ping from node with agent?

Best regards,
Victor
Logged

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SubAgent - icmp ping
« Reply #2 on: October 22, 2018, 02:55:10 pm »

Hi Victor

I can ping the unifi device normally with ping command, could it be the device doesn't support that?

Regards
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6408
    • View Profile
Re: SubAgent - icmp ping
« Reply #3 on: October 24, 2018, 11:16:37 pm »

Hi,

what exact parameter you are using (ICMP.AvgPingTime, ICMP.LastPingTime, etc.)? And what is agent version?
Please also provide content of agent table ICMP.Targets (you can get it from command line with command nxget -T agent_ip_address ICMP.Targets).

Best regards,
Victor
Logged

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SubAgent - icmp ping
« Reply #4 on: November 07, 2018, 04:41:08 pm »

Hi Victor

Thanks for the reply, I am using the ICMP.PING parameter that is showing the value 10k, the version of the agent is 2.2.6.
I only get the following commands nxagentd     nxappget     nxapush      nxencpasswd

Regards
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6408
    • View Profile
Re: SubAgent - icmp ping
« Reply #5 on: November 08, 2018, 12:16:59 pm »

Hi,

you should run nxget command on your NetXMS server - it is command line tool that connects to agent and requests given parameter. It is also strange that average ping time is provided, so agent definitely can ping targets in background. Please also try to request Icmp.Ping with nxget and show actual DCI configuration.

Best regards,
Victor
Logged

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SubAgent - icmp ping
« Reply #6 on: November 08, 2018, 03:16:35 pm »

Hi Victor

I have attached the target list. Thanks so far for your help.

Kind regards
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6408
    • View Profile
Re: SubAgent - icmp ping
« Reply #7 on: November 08, 2018, 03:38:03 pm »

Hi,

for ICMP.Ping request please use this command:

nxget 10.10.0.101 'ICMP.Ping(10.10.2.125)'

-T option instructs nxget to request table.

Best regards,
Victor
Logged

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SubAgent - icmp ping
« Reply #8 on: November 08, 2018, 04:30:36 pm »

Thanks for the quick response, I get the value 1, have also attached an image.

Best Regards
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6408
    • View Profile
Re: SubAgent - icmp ping
« Reply #9 on: November 09, 2018, 02:32:57 pm »

So looks like agent actually can ping target and returns correct value. Most likely problem is in DCI configuration. Please show screenshot of problematic DCI properties.

Best regards,
Victor
Logged

wdavids

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SubAgent - icmp ping
« Reply #10 on: November 09, 2018, 04:10:12 pm »

Hi Victor

I have attached one of my DCI settings.

Regards
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6408
    • View Profile
Re: SubAgent - icmp ping
« Reply #11 on: November 12, 2018, 02:01:25 pm »

Hi,

are you sure that DNS name swi-hp-304-2 can be resolved from machine where ping subagent runs?

Best regards,
Victor
Logged