Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - malexishp

#1
Yes I restart both server and agent. And I obtain a positive answer using nxget

This is the agent text

MasterServers = netxms.demo
SubAgent = ping.nsm

*PING
Timeout = 1000
PacketRate = 12
Target = 10.194.133.1


This is the answer from nxget
C:\Users\marlon.hurtado>nxget localhost icmp.ping(10.194.133.1)
50


DCI config is in attachment



#2
I forgot to mention I suppossed you made a mistake when saying name so I put it in parameters but it does not work.

Maybe I missed some setup?
#3
Hi

Thanks to clarify my mistake using UNIX instructions in Windows

We use your solution but still it does not work; Last value is <<ERROR>>. This is what we did

- We modify server parameter CheckTrustedNodes to 0 and restart server.

- We check that nxagentd.conf in server have line SubAgent = ping.nsm and define timeout, packetrate and target values

- We finally create new DCI as NetXMS Agent in swtich_1 and in server node
     - Description Icmp.Ping(10.194.133.1) as description (There is no name field, right?)
     - No parameters
     - Proxy for Switch_1 SERVER; No Proxy for SERVER NODE

Thanks for your help
#4
Hi

We installed NetXMS 1.2.4 few days ago. Very good tool thanks!

We create a node called Switch_1 and add a new push DCI called Time (Push Integer).

We are loading values into Time using command

nxpush -u admin -P ******** localhost Switch_1:Time="c:\netXMS\bin\nxget localhost Icmp.Ping(10.194.133.1)"

When we check Last Values in node, the DCI took the string c:\netXMS\bin\nxget localhost Icmp.Ping(10.194.133.1) not the value itself. We replace " by ', remove c:\netXMS/bin and do many possible variations but nothing happen.

Thanks for your support