I am trying to do mysql check via nrpe and the plugin i used was nagios plugin check_mysql for some reason it stopped working and i checked nrpe.cfg file everything seems to be okay. I am stuck now where is the problem. here is my commands.cfg file on remote server.
command[check_mysql]=/usr/lib/nagios/plugins/check_mysql -u user -p passwd
I created a PowerShell script to address my issue, as I needed to monitor and make changes to multiple Windows machines, which would have been time-consuming to do individually. If you’re facing a similar situation, feel free to check out my GitHub repository to see if it can help you too.