NetXMS Support Forum

English Support => General Support => Topic started by: sndlt on August 24, 2016, 08:04:24 PM

Title: ExternalParameter = (custom scripts)
Post by: sndlt on August 24, 2016, 08:04:24 PM
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.
Title: Re: ExternalParameter = (custom scripts)
Post by: tomaskir on August 24, 2016, 08:30:39 PM
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.