ExternalParameter = (custom scripts)

Started by sndlt, August 24, 2016, 08:04:24 PM

Previous topic - Next topic

sndlt

b:~# cat /etc/netxms/nxagentd.conf
ExternalParameter = script:/var/scripts/execute.sh

I understand this is the basic format for "External Parameter";

So with this, can we basically put any scripting language such as sh, py, etc as long as they return a value?
(For NetXMS to process).

Any sample working scripts? (other than front pages of web search).

Thanks.

tomaskir

Here is an example of bind9 monitoring using an ExternalParametersProvider script.
https://wiki.netxms.org/wiki/Bind9

There is also a link to a git repo containg the actual TCL script that collects the data.