work so far on nagios_server role.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
4ee5939b13
commit
649108c0c3
118 changed files with 1100 additions and 627 deletions
|
@ -70,19 +70,19 @@ define command{
|
|||
# 'test nrpe'
|
||||
define command{
|
||||
command_name test_nrpe
|
||||
command_line $USER1$/check_nrpe -t 20 -H $HOSTADDRESS$
|
||||
command_line $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$
|
||||
|
||||
}
|
||||
# 'check by nrpe'
|
||||
define command{
|
||||
command_name check_by_nrpe
|
||||
command_line $USER1$/check_nrpe -t 20 -H $HOSTADDRESS$ -c $ARG1$
|
||||
command_line $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c $ARG1$
|
||||
}
|
||||
|
||||
# 'pgsql'
|
||||
define command{
|
||||
command_name check_pgsql
|
||||
command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -d $ARG1$ -p '<%= nagiosDbUserPassword %>' --logname '<%= nagiosDbUser %>'
|
||||
command_line $USER1$/check_pgsql -H $HOSTADDRESS$ -d $ARG1$ -p '{{nagios_db_user_password}}' --logname 'nagiosuser'
|
||||
}
|
||||
|
||||
# 'check_website' command definition
|
||||
|
@ -131,7 +131,7 @@ define command{
|
|||
# 'check_dns_fpo' command definition
|
||||
define command{
|
||||
command_name check_dns_fpo
|
||||
command_line $USER1$/check_dns -H fedoraproject.org -A -s $HOSTADDRESS$
|
||||
command_line $USER1$/check_dns -t 30 -H fedoraproject.org -A -s $HOSTADDRESS$
|
||||
}
|
||||
|
||||
# 'check_ftp' command definition
|
||||
|
@ -266,7 +266,7 @@ define command{
|
|||
# 'check-host-alive-nrpe' is better for hosts that are on vpn.
|
||||
define command{
|
||||
command_name check-host-alive-nrpe
|
||||
command_line $USER1$/check_nrpe -t 20 -H $HOSTADDRESS$
|
||||
command_line $USER1$/check_nrpe -t 30 -H $HOSTADDRESS$
|
||||
}
|
||||
# 'check_bzr' command definition
|
||||
# I'd like this to actually interact with BZR, but I can't find any
|
Loading…
Add table
Add a link
Reference in a new issue