Page 1 of 1

Monitoring of mysqlbinlog command

Posted: Fri Mar 06, 2020 9:58 am
by TBT
I have a mysqlbinlog command that runs on a continuous basis. The basic idea is found here: https://www.percona.com/blog/2012/01/18 ... sqlbinlog/

Since this is a command and not a daemon/service that is running, please advise on the best way to monitor it with Nagios?

Re: Monitoring of mysqlbinlog command

Posted: Fri Mar 06, 2020 11:07 am
by jdunitz
It sounds like check_procs will do what you want. It doesn't matter if it's a daemon or a process started some other way--if it's running, not running, running the wrong number of instances, etc., you can watch for it.

https://nagios-plugins.org/doc/man/check_procs.html

Hope that helps!

--Jeffrey