Follow

Monitor Process Count/Availability (Sample Plug-In Monitor)

Monitor Process Count/Availability

 

This is a fully functional plug-in monitor that can be used to monitor the availability of a process (whether it is running) on a remote server. It can also monitor the number of instances of a particular process.

The monitor illustrates the two different types of information that can be collected by Traverse - state (up/down, running/not-running, etc) information represented by a set of discrete values and quantitative where the polled value is compared against a set of configured thresholds.

In order to run this script, extract the contents of the attached archive directly under <TRAVERSE_HOME>plugin/monitors/ and restart the Web Application and Data Gathering Engine components.

Hostres_1.JPG

The plug-in will appear as a new "hostres" monitor under Administration -> Devices -> Tests -> Create New Standard Tests.

 

Hostres_2.JPG

On the next screen, select one or both types of tests to run.

Hostres_3.JPG

Finally, provide the name of the process that is normally visible in the output of "ps" command (GNU/Linux/Solaris) or Task Manager (Windows).

Hostres_4.JPG 

 

IMPORTANT:

- The monitor uses SNMP to collect the necessary information and therefore requires that at least one SNMP (local credentials) test is configured.

- If you are deploying this on GNU/Linux review the permission of "processCount.pl" file and change it to executable (chmod +x processCount.pl)

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.