Read external web API as DCI
-
I have a remote API that counts a 'queue' in a remote system. I'd love to monitor the results in NetXMS so I can be alerted if the size grows to a uncontrollable size.
I've been having a look through the docs and so far can't see a simple way to do it.
If i visit the URL https://example.org/status/queueSize I get a raw integer back - I'm trying to chart that number.
Any suggestions?
-
Hi,
you can create external parameter in agent and use curl to get this number, like this:
nxagentd.conf:
ExternalParameter = QueueSize:curl https://example.org/status/queueSizeand then your agent will have parameter QueueSize which you will be able to monitor as usual.
Best regards,
Victor
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