AutoPatrol, Bureaucrats, Administrators
481
edits
Tomas Kirnak (talk | contribs) m (Tomas Kirnak moved page Linux process monitoring using SNMP to OS process monitoring using SNMP: It works on Windows, not just Linux) |
m (Text replacement - "^" to "{{deprecated}}") |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
'''Warning: You need at least version 2.0-M1 for this tutorial to work!''' | {{deprecated}}'''Warning: You need at least version 2.0-M1 for this tutorial to work!''' | ||
= Scripts = | = Scripts = | ||
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- | https://github.com/tomaskir/netxms-snmp_process_mon | ||
Your script library should look like this:<br> | Your script library should look like this:<br> | ||
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 | To monitor memory usage of a certain process, use a DCI like this:<br> | ||
[[File:Snmp_process_MemUse.PNG]] | [[File:Snmp_process_MemUse.PNG]] | ||
Please note that the MemUsage script currently takes the first instance of the process.<br> | |||
Monitoring memory usage of multiple instances is currently not supported using the MemUsage script. | |||