Data collection from different devices
-
Hello,
I have some different meters what I want to monitoring with netXMS. (electricity, gas, water, temperature ...)
I made a simple application to get the current measures from the meters.
With parameters I give the ip address and more others.
How can I configure the NetXMS server and Agent to collect the measures from more than 200 meters.
Not need to check the amounts on every seconds but I have to check every hours.
This meters aren't support SNMP and I can't install any third party application but with this app l can collect the current amounts.
The netxms agent can execute this app but I don't know how can I use one Agent to check all meters.
Thank you for any help. -
So after I read what I found:
1/ Now I know that I have to register the data collection items under an Agent. I can't use the Meter-node for this.
2/ I setup the Agent config with the external applicationExecTimeout = 5000
FileStore = C:\NetXMS\var
LogFile = c:\NetXMS\Log\agent.log
RequireAuthentication = no
SubAgent = winperf.nsm
SubAgent = portcheck.nsm
SubAgent = ping.nsm
SubAgent = ssh.nsmExternalParameterShellExec=EMC_Getbalance(*):C:\NetXMS\scripts\EMCCommunication.exe $1 $2
I register one meter under and Agent (I attached the screesnhot) where I set the parameters for this meter.
But at "Last values" tab I see "<<ERROR>>"
I know that I did something wrong I have no idea what.Thank you for any help!
-
I believe you need to separate the parameters with a ",", i.e. EMC_Getbalance(--ip=10.12.60.42,--port=80).
Not sure how exactly your tool works, but if it always expects --ip= and --port, you could probably add that to your ExternalParameter and only pass the actual IP and port number, e.g. ExternalParameterShellExec=EMC_Getbalance(*):C:\NetXMS\scripts\EMCCommunication.exe --ip=$1 --port=$2. -
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login