percona-monitoring-plugins
percona-monitoring-plugins copied to clipboard
pmp-check-mysql-status to have a 3rd option
Hi,
As a feature request, it would be nice to have a way to compute a 3rd option so that my checks, like checking Uptime, can be done in minutes (Uptime*60) before doing any of the other checks. Having output to show up as Minutes versus seconds is a little more readable.
A simple example of a command that would benefit from minute conversion:
command[dba_check_mysql_status_uptime]=/usr/lib64/nagios/plugins/pmp-check-mysql-status -H localhost -x Uptime -C '<' -w 300
Thanks, Anthony