percona-monitoring-plugins icon indicating copy to clipboard operation
percona-monitoring-plugins copied to clipboard

pmp-check-mysql-status to have a 3rd option

Open tony-caffe opened this issue 7 years ago • 0 comments

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

tony-caffe avatar Aug 28 '17 22:08 tony-caffe