<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://cocnm.computerisms.ca/index.php?action=history&amp;feed=atom&amp;title=%2Fusr%2Flocal%2Fnagios%2Fetc%2Ftemplates.cfg</id>
	<title>/usr/local/nagios/etc/templates.cfg - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://cocnm.computerisms.ca/index.php?action=history&amp;feed=atom&amp;title=%2Fusr%2Flocal%2Fnagios%2Fetc%2Ftemplates.cfg"/>
	<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=/usr/local/nagios/etc/templates.cfg&amp;action=history"/>
	<updated>2026-11-14T11:58:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://cocnm.computerisms.ca/index.php?title=/usr/local/nagios/etc/templates.cfg&amp;diff=153&amp;oldid=prev</id>
		<title>Bob: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=/usr/local/nagios/etc/templates.cfg&amp;diff=153&amp;oldid=prev"/>
		<updated>2013-09-19T06:19:56Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
define contact{&lt;br /&gt;
        name                            generic-contact    	; The name of this contact template&lt;br /&gt;
        service_notification_period     24x7			; service notifications can be sent anytime&lt;br /&gt;
        host_notification_period        24x7			; host notifications can be sent anytime&lt;br /&gt;
        service_notification_options    w,u,c,r,f,s		; send notifications for all service states, flapping events, and scheduled downtime events&lt;br /&gt;
        host_notification_options       d,u,r,f,s		; send notifications for all host states, flapping events, and scheduled downtime events&lt;br /&gt;
        service_notification_commands   notify-service-by-email	; send service notifications via email&lt;br /&gt;
        host_notification_commands      notify-host-by-email	; send host notifications via email&lt;br /&gt;
        register                        0       		; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE!&lt;br /&gt;
        }&lt;br /&gt;
define host{&lt;br /&gt;
        name                            generic-host    ; The name of this host template&lt;br /&gt;
        notifications_enabled           1       	; Host notifications are enabled&lt;br /&gt;
        event_handler_enabled           1       	; Host event handler is enabled&lt;br /&gt;
        flap_detection_enabled          1       	; Flap detection is enabled&lt;br /&gt;
        failure_prediction_enabled      1       	; Failure prediction is enabled&lt;br /&gt;
        process_perf_data               1       	; Process performance data&lt;br /&gt;
        retain_status_information       1       	; Retain status information across program restarts&lt;br /&gt;
        retain_nonstatus_information    1       	; Retain non-status information across program restarts&lt;br /&gt;
	notification_period		24x7		; Send host notifications at any time&lt;br /&gt;
        register                        0       	; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!&lt;br /&gt;
        }&lt;br /&gt;
define host{&lt;br /&gt;
	name				linux-server	; The name of this host template&lt;br /&gt;
	use				generic-host	; This template inherits other values from the generic-host template&lt;br /&gt;
	check_period			24x7		; By default, Linux hosts are checked round the clock&lt;br /&gt;
	check_interval			5		; Actively check the host every 5 minutes&lt;br /&gt;
	retry_interval			1		; Schedule host check retries at 1 minute intervals&lt;br /&gt;
	max_check_attempts		10		; Check each Linux host 10 times (max)&lt;br /&gt;
        check_command           	check-host-alive ; Default command to check Linux hosts&lt;br /&gt;
	notification_period		workhours	; Linux admins hate to be woken up, so we only notify during the day&lt;br /&gt;
							; Note that the notification_period variable is being overridden from&lt;br /&gt;
							; the value that is inherited from the generic-host template!&lt;br /&gt;
	notification_interval		120		; Resend notifications every 2 hours&lt;br /&gt;
	notification_options		d,u,r		; Only send notifications for specific host states&lt;br /&gt;
	contact_groups			admins		; Notifications get sent to the admins by default&lt;br /&gt;
	register			0		; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!&lt;br /&gt;
	}&lt;br /&gt;
define host{&lt;br /&gt;
	name			windows-server	; The name of this host template&lt;br /&gt;
	use			generic-host	; Inherit default values from the generic-host template&lt;br /&gt;
	check_period		24x7		; By default, Windows servers are monitored round the clock&lt;br /&gt;
	check_interval		5		; Actively check the server every 5 minutes&lt;br /&gt;
	retry_interval		1		; Schedule host check retries at 1 minute intervals&lt;br /&gt;
	max_check_attempts	10		; Check each server 10 times (max)&lt;br /&gt;
	check_command		check-host-alive	; Default command to check if servers are &amp;quot;alive&amp;quot;&lt;br /&gt;
	notification_period	24x7		; Send notification out at any time - day or night&lt;br /&gt;
	notification_interval	30		; Resend notifications every 30 minutes&lt;br /&gt;
	notification_options	d,r		; Only send notifications for specific host states&lt;br /&gt;
	contact_groups		admins		; Notifications get sent to the admins by default&lt;br /&gt;
	hostgroups		windows-servers ; Host groups that Windows servers should be a member of&lt;br /&gt;
	register		0		; DONT REGISTER THIS - ITS JUST A TEMPLATE&lt;br /&gt;
	}&lt;br /&gt;
define host{&lt;br /&gt;
	name			generic-printer	; The name of this host template&lt;br /&gt;
	use			generic-host	; Inherit default values from the generic-host template&lt;br /&gt;
	check_period		24x7		; By default, printers are monitored round the clock&lt;br /&gt;
	check_interval		5		; Actively check the printer every 5 minutes&lt;br /&gt;
	retry_interval		1		; Schedule host check retries at 1 minute intervals&lt;br /&gt;
	max_check_attempts	10		; Check each printer 10 times (max)&lt;br /&gt;
	check_command		check-host-alive	; Default command to check if printers are &amp;quot;alive&amp;quot;&lt;br /&gt;
	notification_period	workhours		; Printers are only used during the workday&lt;br /&gt;
	notification_interval	30		; Resend notifications every 30 minutes&lt;br /&gt;
	notification_options	d,r		; Only send notifications for specific host states&lt;br /&gt;
	contact_groups		admins		; Notifications get sent to the admins by default&lt;br /&gt;
	register		0		; DONT REGISTER THIS - ITS JUST A TEMPLATE&lt;br /&gt;
	}&lt;br /&gt;
define host{&lt;br /&gt;
	name			generic-switch	; The name of this host template&lt;br /&gt;
	use			generic-host	; Inherit default values from the generic-host template&lt;br /&gt;
	check_period		24x7		; By default, switches are monitored round the clock&lt;br /&gt;
	check_interval		5		; Switches are checked every 5 minutes&lt;br /&gt;
	retry_interval		1		; Schedule host check retries at 1 minute intervals&lt;br /&gt;
	max_check_attempts	10		; Check each switch 10 times (max)&lt;br /&gt;
	check_command		check-host-alive	; Default command to check if routers are &amp;quot;alive&amp;quot;&lt;br /&gt;
	notification_period	24x7		; Send notifications at any time&lt;br /&gt;
	notification_interval	30		; Resend notifications every 30 minutes&lt;br /&gt;
	notification_options	d,r		; Only send notifications for specific host states&lt;br /&gt;
	contact_groups		admins		; Notifications get sent to the admins by default&lt;br /&gt;
	register		0		; DONT REGISTER THIS - ITS JUST A TEMPLATE&lt;br /&gt;
	}&lt;br /&gt;
define service{&lt;br /&gt;
        name                            generic-service 	; The &amp;#039;name&amp;#039; of this service template&lt;br /&gt;
        active_checks_enabled           1       		; Active service checks are enabled&lt;br /&gt;
        passive_checks_enabled          1    		   	; Passive service checks are enabled/accepted&lt;br /&gt;
        parallelize_check               1       		; Active service checks should be parallelized (disabling this can lead to major performance problems)&lt;br /&gt;
        obsess_over_service             1       		; We should obsess over this service (if necessary)&lt;br /&gt;
        check_freshness                 0       		; Default is to NOT check service &amp;#039;freshness&amp;#039;&lt;br /&gt;
        notifications_enabled           1       		; Service notifications are enabled&lt;br /&gt;
        event_handler_enabled           1       		; Service event handler is enabled&lt;br /&gt;
        flap_detection_enabled          1       		; Flap detection is enabled&lt;br /&gt;
        failure_prediction_enabled      1       		; Failure prediction is enabled&lt;br /&gt;
        process_perf_data               1       		; Process performance data&lt;br /&gt;
        retain_status_information       1       		; Retain status information across program restarts&lt;br /&gt;
        retain_nonstatus_information    1       		; Retain non-status information across program restarts&lt;br /&gt;
        is_volatile                     0       		; The service is not volatile&lt;br /&gt;
        check_period                    24x7			; The service can be checked at any time of the day&lt;br /&gt;
        max_check_attempts              3			; Re-check the service up to 3 times in order to determine its final (hard) state&lt;br /&gt;
        normal_check_interval           10			; Check the service every 10 minutes under normal conditions&lt;br /&gt;
        retry_check_interval            2			; Re-check the service every two minutes until a hard state can be determined&lt;br /&gt;
        contact_groups                  admins			; Notifications get sent out to everyone in the &amp;#039;admins&amp;#039; group&lt;br /&gt;
	notification_options		w,u,c,r			; Send notifications about warning, unknown, critical, and recovery events&lt;br /&gt;
        notification_interval           60			; Re-notify about service problems every hour&lt;br /&gt;
        notification_period             24x7			; Notifications can be sent out at any time&lt;br /&gt;
         register                        0       		; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!&lt;br /&gt;
        }&lt;br /&gt;
define service{&lt;br /&gt;
	name				local-service 		; The name of this service template&lt;br /&gt;
	use				generic-service		; Inherit default values from the generic-service definition&lt;br /&gt;
        max_check_attempts              4			; Re-check the service up to 4 times in order to determine its final (hard) state&lt;br /&gt;
        normal_check_interval           5			; Check the service every 5 minutes under normal conditions&lt;br /&gt;
        retry_check_interval            1			; Re-check the service every minute until a hard state can be determined&lt;br /&gt;
        register                        0       		; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bob</name></author>
	</entry>
</feed>