Difference between revisions of "OS process monitoring using SNMP"

From NetXMS Wiki
Jump to navigation Jump to search
m (Tomas Kirnak moved page Linux process monitoring using SNMP to OS process monitoring using SNMP: It works on Windows, not just Linux)
m (Fix grammar)
Line 20: Line 20:
This will also work on Windows. As an example, you can change "cron" for "explorer.exe".
This will also work on Windows. As an example, you can change "cron" for "explorer.exe".


To minotor memory usage of a certain process, use a DCI like this:<br>
To monitor memory usage of a certain process, use a DCI like this:<br>
[[File:Snmp_process_MemUse.PNG]]
[[File:Snmp_process_MemUse.PNG]]



Revision as of 00:31, 2 March 2015

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-process-snmp

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


Result

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

Error creating thumbnail: Unable to save thumbnail to destination