Difference between revisions of "OS process monitoring using SNMP"

From NetXMS Wiki
Jump to navigation Jump to search
(Updated GIT repo link)
Line 4: Line 4:
First create the appropriate scripts in the Script Library.<br>
First create the appropriate scripts in the Script Library.<br>
You can get the scripts from here:<br>
You can get the scripts from here:<br>
https://github.com/tomaskir/netxms-process-snmp
https://github.com/tomaskir/netxms-snmp_process_mon


Your script library should look like this:<br>
Your script library should look like this:<br>

Revision as of 12:07, 8 January 2016

Warning: You need at least version 2.0-M1 for this tutorial to work!

Scripts

First create the appropriate scripts in the Script Library.
You can get the scripts from here:
https://github.com/tomaskir/netxms-snmp_process_mon

Your script library should look like this:

Error creating thumbnail: Unable to save thumbnail to destination

The scripts must contain the appropriate code.


DCIs

You can now create DCIs on any nodes or templates.

To monitor instance count of a certain process, use a DCI like this:

Error creating thumbnail: Unable to save thumbnail to destination

This will also work on Windows. As an example, you can change "cron" for "explorer.exe".

To monitor memory usage of a certain process, use a DCI like this:

Error creating thumbnail: Unable to save thumbnail to destination

Please note that the MemUsage script currently takes the first instance of the process.
Monitoring memory usage of multiple instances is currently not supported using the MemUsage script.


Result

You will now be able to collect the information, graph it, etc...

Error creating thumbnail: Unable to save thumbnail to destination