Problem: Please select a mode
I installed plugin check_mysql_health in the bath (usr/lib/nagios/plugins)
by the command:
define command{
command_name check_mysql_health
command_line $USER1$/check_mysql_health -H $ARG1$ –port $ARG2$ –username $ARG3$ –password $ARG4$ –mode $ARG5$
}
and service
define service{
use local-service
host_name *****
service_description MySQL connection-time
check_command check_mysql_health!x.x.x.x!xxxx!nagios!nagios!connection-time!
}
define service{
use local-service
host_name ****
service_description MySQL Open File1s
check_command check_mysql_health!x.x.x.x!xxxx!nagios!nagios!open-files!
}
define service{
use local-service
host_name ****
service_description MySQL UP Time
check_command check_mysql_health!x.x.x.x!xxxx!nagios!nagios!uptime!
}
but i had the result message : 'Please select a mode '
please help me.
config mysql
config mysql
monitoring the networks equipment and server : I have two problems
the first: how to configure a router contains more IP address (path).
the 2nd: how to configure a switch without level 2 IP address
the first: how to configure a router contains more IP address (path).
the 2nd: how to configure a switch without level 2 IP address
Re: config mysql
For reference, what version of core are you running and what is the exact link to the plugin you downloaded?
Does your password contain any special characters?
Does your password contain any special characters?
Former Nagios Employee
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: config mysql
I suspect the arguments are supposed to be --berhan30 wrote:define command{
command_name check_mysql_health
command_line $USER1$/check_mysql_health -H $ARG1$ –port $ARG2$ –username $ARG3$ –password $ARG4$ –mode $ARG5$
}
Code: Select all
$USER1$/check_mysql_health --hostname $ARG1$ –-port $ARG2$ –-username $ARG3$ –-password $ARG4$ –-mode $ARG5$As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.