Monitoring of mysqlbinlog command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Monitoring of mysqlbinlog command

Post 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?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Monitoring of mysqlbinlog command

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked