<< Back to man.ChinaUnix.net

1. The Standard Plugins

Check SSH

Add the following command definition:

# check_ssh

define command{

command_name check_ssh

command_line $USER1$/check_ssh -H $HOSTADDRESS$


Then add the following service defintion:

define service{

use generic-service

host_name *

service_description SSH

is_volatile 0

check_period 24x7

max_check_attempts 3

normal_check_interval 5

retry_check_interval 1

contact_groups admins

notification_interval 120

notification_period 24x7

notification_options w,u,c,r

check_command check_ssh