I was surprised that nagios plugins didn’t come with a pre-packaged check_mysql command! Anyway, here is a quick way to do it. Add the command definition in command.cfg. define command{ command_name check_mysql command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 3306 } Add the service definition to an existing host. define service{ use local-service host_name gnucom.cc service_description MYSQL [...]
-
Pages
Categories
