diff options
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r-- | nagios-templates.cfg | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg index 4fdd2fb..797b56e 100644 --- a/nagios-templates.cfg +++ b/nagios-templates.cfg @@ -66,6 +66,12 @@ define host { contact_groups admins } +define host { + use server-host + name switch-host + check_command check-host-none +} + define service { name server-service is_volatile 0 @@ -203,6 +209,11 @@ define command{ } define command{ + command_name check-host-none + command_line /bin/echo Switch hosts are not checked +} + +define command{ command_name check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } |