checkcommands.cfg:
define command {
command_name check_pgpool
command_line $USER1$/check_pgpool.rb $ARG1$
}
services.cfg:
define service {
use generic-service
host_name pool.hostname
service_description PGPOOL1
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 960
notification_period 24x7
check_command check_pgpool!1
}

1 komentarze:
Of course hostname can be argument if we got more then one host with pgpool.
Prześlij komentarz