netxms-things/templates/processes/monitor-by-processestomonitor-list
2020-10-27 04:03:09 +05:00
..
helper_script.sh Quick processes monitoring solution and README update. 2020-10-27 04:03:09 +05:00
monitor-by-processestomonitor-list.xml Quick processes monitoring solution and README update. 2020-10-27 04:03:09 +05:00
README.md Quick processes monitoring solution and README update. 2020-10-27 04:03:09 +05:00

Monitor processes using custom "ProcessesToMonitor" list

This directory contains everything that is needed to start monitoring your processes quick.

A warning about regular expressions

Template is using regular expressions instead of binary's name. Keep in mind that your regular expression might capture unneeded data!

Helper script

Copy script to your server and made it executable with chmod +x /path/to/script.

Fix PROCESSES array to contain everything you need to monitor (while keeping in mind a warning about regular expressions above!)

Configure nxagent

To export data produced by helper script as list into NetXMS you should add this line into /etc/nxagentd.conf:

ExternalList=ProcessesToMonitor:/path/to/script.sh

Don't forget to restart NetXMS agent!

Poll

Apply template on node(s) and execute "Instance discovery" polling option.