put in the first run at new nagios configs
This commit is contained in:
parent
a1957d29d4
commit
8cf72ff116
310 changed files with 13255 additions and 26 deletions
22
roles/nagios_server/files/nagios/commands/ssh.cfg
Normal file
22
roles/nagios_server/files/nagios/commands/ssh.cfg
Normal file
|
@ -0,0 +1,22 @@
|
|||
# 'check_ssh' command definition
|
||||
define command{
|
||||
command_name check_ssh
|
||||
command_line $USER1$/check_ssh -H $HOSTADDRESS$
|
||||
}
|
||||
|
||||
|
||||
define command {
|
||||
command_name check_by_ssh_check_raid
|
||||
command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_raid.py"
|
||||
}
|
||||
|
||||
define command {
|
||||
command_name check_by_ssh_check_disk
|
||||
command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_disk -w $ARG1$% -c $ARG2$% -p $ARG3$"
|
||||
}
|
||||
|
||||
# 'check_postgres_conns' command definition
|
||||
define command{
|
||||
command_name check_postgres_conns
|
||||
command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_procs -u postgres -w $ARG1$ -c $ARG2$ -a $ARG3$"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue