ManageEngine® Applications Manager Server Process Templates |
||
A server process template is a pre-defined reusable collection of processes. It provides an easy way to add multiple processes for monitoring across a group of servers. For example, if you want to monitor the 'init' process in all your Linux servers, you can configure a server process template for this process and apply the template across all your Linux servers. This is better than manually adding the 'init' process in your Linux servers one by one.
Click Server Process Templates link under Admin tab.
Specify Template Name and Description.
Click Add Process link to add processes for monitoring. You can either Manually Enter the Process Details or Choose Process Details from Available Servers.
If you want to receive notifications when the threshold values of the process attributes are violated, you have to Configure Alarms for Attributes. The attributes of the process will be listed on the left-hand side. Click the Associate link corresponding to the attribute to open the Configure Alarms screen.
You can apply your process and threshold configuration under the Associate Configuration to Monitors section. You can either apply the configuration to monitor types or choose from a list of monitors or apply to specific monitor groups.
Click Save Template to complete your server process template configuration.
Note:
1. Applications Manager will check if the process is running and whether the command and arguments are same as that was being added initially. If the arguments change often then you can retain the command and remove the argument. You can also update the command & argument field with certain path which will not change throughout the lifecycle of the process.
Example One:
Process Name: java
Command & Arguments: java/root/jdk1.5.0_07/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.endorsed.dirs=/root/JBoss/jboss-4.0.2/lib/endorsed -classpath /root/JBoss/jboss-4.0.2/bin/run.jar:/root/jdk1.5.0_07/lib/tools.jar org.jboss.Main
Example Two:
Process Name: mysqld-nt.exe
Command & Arguments: F:\MySQL\mysql\bin\mysqld-nt.exe mysqld-nt --defaults-file=..\my.ini -u root -b .. --tmpdir=..\temp --standalone --port=13326 --default-character-set=latin1
If the port or any other property changes often, you can just monitor the process using its name and command. Look at the command and arguments below for our recommendation w.r.t. the two examples above:
Process Name: java
Command & Arguments: /root/jdk1.5.0_07/bin/java
Process Name: mysqld-nt.exe
Command & Arguments: F:\MySQL\mysql\bin\mysqld-nt.exe
2. At present, there is no support for pattern matching in process monitoring.
Downtime Scheduler |
Windows Service Templates |