Репозитории ALT
S: | 2.2.1-alt1 |
5.1: | 1.4.13-alt2.1 |
4.1: | 1.4.12-alt1.M41.1 |
4.0: | 1.4.5-alt1.1 |
3.0: | 1.4-alt1 |
Группа :: Мониторинг
Пакет: nagios-plugins
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
## Check if the MySQL server is alive (default port=3306)
# 'check_mysql' command definition
define command{
command_name check_mysql
command_line $USER1$/check_mysql -H $HOSTADDRESS$ -P 3306 -u $ARG1$ -p $ARG2 -d $ARG3$
}
## Check a query result against threshold levels. A query is required.
## Only first column in first row will be read. The result from the query
## should be numeric. For extra security, create a user with minimal access.
# 'check_mysql_query' command definition
define command{
command_name check_mysql_query
command_line $USER1$/check_mysql_query -H $HOSTADDRESS$ -P 3306 -u $ARG1$ -p $ARG2 -d $ARG3$ -q $ARG4$
}