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
Status is showing Unknown when monitoring MySQL 5.7
Re: Status is showing Unknown when monitoring MySQL 5.7
Sorry for my mistake.
[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 ~]#
Please check and update.
Thanks
[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 ~]#
Please check and update.
Thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Status is showing Unknown when monitoring MySQL 5.7
Ok, so this show that the plugin is working.
Are you sure your MySQL server is in a replication group?
Are you sure your MySQL server is in a replication group?
Re: Status is showing Unknown when monitoring MySQL 5.7
Thank you so much for your awesome support.
Now I can able to monitor MySQL server in most of the modes.
Sorry for the delayed replay, I just want to monitor Apache Tomcat 9 so I have done with check_tomcat.pl and its working fine.
Once again thank you and you can lock.
Now I can able to monitor MySQL server in most of the modes.
Sorry for the delayed replay, I just want to monitor Apache Tomcat 9 so I have done with check_tomcat.pl and its working fine.
Once again thank you and you can lock.