Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Using this plugin, you will be able to get CPU and Memory usage for your services and build performance data for graphing in OP5. Additionally, passing warning and critical thresholds will allow for alerting if those thresholds are passed.
Current Version
Last Release Date
August 16, 2017
Owner
Douglas Mauro
Download URL
https://gitlab.com/TruePath/check-monit-tpt
License
Apache
Compatible With
Here is what the basic usage for this plugin looks like:
check_monit_tpt.py -H <host> -u <user> -P <password> -S <service> <-C or -M or -S> -w <warning> -c <critical>
When using arguments -C <cpu stats> -M <memory stats> or -S <all stats>. For CPU and Memory you must pass -w <warning and -c <critical> thresholds. The -S <status/all stats> does not need the threshold options, output will show all stats of service passed along with whether the service is running. Note: Performance data is only created for -C <cpu stats> and -M <memory stats>.
Here are some examples of check commands:
Services being monitored by Monit:
./check_monit_tpt.py -H <host> -u <username> -P <password>
This check will just output all the services that Monit is monitoring to OP5 or Nagios
Apache CPU Usage:
./check_monit_tpt.py -H <host> -u <username> -P <password> -s httpd -C -w 40 -c 50
MySQL Memory Usage:
For -w <warning> and critical <critical> thresholds enter integer between [0-100]
You must be logged in to submit a review.
To:
From: