Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
perfservmon
1.5.1
2018-08-09
- Nagios 3.x
- Nagios 4.x
MIT
7712
Sample Checks
First run the following check to collect the perfservlet data from WAS Cell WAS_Cell_name:
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name retrieve -N Perfservlet_Host -P Perfservlet_Port
Optionally in case you use https and/or basic auth credentials to connect to Perfservlet Application run the following check:
Nagios_Path/libexec/perfservmon.py -C WAS_Cell_name retrieve -N Perfservlet_Host -P Perfservlet_Port -H https [ --ignorecert ] -u userid -p passwd
You may want to perform the check above with a custom interval(e.g. 3 minutes) to collect fresh data from Cell.
Then add Monitoring Checks like the following:
- Check the Total live http sessions of Servlets of the Server ServerName, get critical alert when 10000, warning when 5000.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M LiveSessions -c 10000 -w 5000
-Check the usage of WebContainer Thread Pool of Server ServerName, get critical alert when over 90%, warning when over 70%.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M WebContainer -c 90 -w 70
-Check the JVM Heap usage of Server ServerName, get critical alert when over 90%, warning when over 70%.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M Heap -c 90 -w 70
-Check the usage of the Connection Pools available for Server ServerName, get critical alert when over 90%, warning when over 70%.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M DBConnectionPoolPercentUsed -c 90 -w 70
First run the following check to collect the perfservlet data from WAS Cell WAS_Cell_name:
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name retrieve -N Perfservlet_Host -P Perfservlet_Port
Optionally in case you use https and/or basic auth credentials to connect to Perfservlet Application run the following check:
Nagios_Path/libexec/perfservmon.py -C WAS_Cell_name retrieve -N Perfservlet_Host -P Perfservlet_Port -H https [ --ignorecert ] -u userid -p passwd
You may want to perform the check above with a custom interval(e.g. 3 minutes) to collect fresh data from Cell.
Then add Monitoring Checks like the following:
- Check the Total live http sessions of Servlets of the Server ServerName, get critical alert when 10000, warning when 5000.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M LiveSessions -c 10000 -w 5000
-Check the usage of WebContainer Thread Pool of Server ServerName, get critical alert when over 90%, warning when over 70%.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M WebContainer -c 90 -w 70
-Check the JVM Heap usage of Server ServerName, get critical alert when over 90%, warning when over 70%.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M Heap -c 90 -w 70
-Check the usage of the Connection Pools available for Server ServerName, get critical alert when over 90%, warning when over 70%.
Nagios Path/libexec/perfservmon.py -C WAS_Cell_name show -n NodeName -s ServerName -M DBConnectionPoolPercentUsed -c 90 -w 70
Reviews (0)
Be the first to review this listing!