Re: Status is showing Unknown when monitoring MySQL 5.7
Posted: Thu Jun 14, 2018 12:13 pm
Sorry for my mistake.
Please check and update me.
[root@localhost ~]# /usr/local/nagios/libexec/check_mysql_health -H 192.168.0.116 --username nagios --password nagios --port 3306 --mode uptime
CRITICAL - database is up since 4 minutes | uptime=294s
After stop firewall, it's showing below details
[root@localhost ~]# /usr/local/nagios/libexec/check_mysql_health -H 192.168.0.116 --username nagios --password nagios --port 3306 --mode uptime
OK - database is up since 11 minutes | uptime=668s
[root@localhost ~]#
Thanks
Please check and update me.
[root@localhost ~]# /usr/local/nagios/libexec/check_mysql_health -H 192.168.0.116 --username nagios --password nagios --port 3306 --mode uptime
CRITICAL - database is up since 4 minutes | uptime=294s
After stop firewall, it's showing below details
[root@localhost ~]# /usr/local/nagios/libexec/check_mysql_health -H 192.168.0.116 --username nagios --password nagios --port 3306 --mode uptime
OK - database is up since 11 minutes | uptime=668s
[root@localhost ~]#
Thanks