From dan@xeon.unixathome.org  Fri Jan 26 00:37:55 2007
Return-Path: <dan@xeon.unixathome.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0F74E16A401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Jan 2007 00:37:55 +0000 (UTC)
	(envelope-from dan@xeon.unixathome.org)
Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217])
	by mx1.freebsd.org (Postfix) with ESMTP id BF36313C43E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 26 Jan 2007 00:37:54 +0000 (UTC)
	(envelope-from dan@xeon.unixathome.org)
Received: from localhost (localhost [205.150.199.217])
	by m21.unixathome.org (Postfix) with ESMTP id 502DCBF6D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Jan 2007 19:37:54 -0500 (EST)
Received: from m21.unixathome.org ([205.150.199.217])
	by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024)
	with ESMTP id 07923-06 for <FreeBSD-gnats-submit@freebsd.org>;
	Thu, 25 Jan 2007 19:37:53 -0500 (EST)
Received: from bast.unixathome.org (bast.unixathome.org [74.104.199.163])
	by m21.unixathome.org (Postfix) with ESMTP id E7660BEDE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Jan 2007 19:37:52 -0500 (EST)
Received: from xeon.unixathome.org (unknown [10.55.0.18])
	by bast.unixathome.org (Postfix) with ESMTP id AB983B84D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Jan 2007 19:37:52 -0500 (EST)
Received: by xeon.unixathome.org (Postfix, from userid 1000)
	id 797AB3EC4; Thu, 25 Jan 2007 19:37:52 -0500 (EST)
Message-Id: <20070126003752.797AB3EC4@xeon.unixathome.org>
Date: Thu, 25 Jan 2007 19:37:52 -0500 (EST)
From: Dan Langille <dan@langille.org>
Reply-To: Dan Langille <dan@langille.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Dan Langille <dan@langille.org>
Subject: [PATCH] net-mgmt/nagios - use freebsd-server instead of linux-server
X-Send-Pr-Version: 3.113
X-GNATS-Notify: jarrod@netleader.com.au

>Number:         108362
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/nagios - use freebsd-server instead of linux-server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 26 00:40:18 GMT 2007
>Closed-Date:    Mon Jan 29 00:36:50 GMT 2007
>Last-Modified:  Mon Jan 29 00:36:50 GMT 2007
>Originator:     Dan Langille
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan@polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386


	
>Description:
	
The existing examples use a linux-server template.
Rename this to freebsd-server
>How-To-Repeat:
	
>Fix:

	



--- nagios.diff begins here ---
diff -ruN /usr/ports/net-mgmt/nagios/files/patch-html-docs-xodtemplate.html nagios/files/patch-html-docs-xodtemplate.html
--- /usr/ports/net-mgmt/nagios/files/patch-html-docs-xodtemplate.html	Wed Dec 31 19:00:00 1969
+++ nagios/files/patch-html-docs-xodtemplate.html	Thu Jan 25 19:33:37 2007
@@ -0,0 +1,11 @@
+--- html/docs/xodtemplate.html.orig	Thu Jan 25 19:29:11 2007
++++ html/docs/xodtemplate.html	Thu Jan 25 19:29:11 2007
+@@ -493,7 +493,7 @@
+ <p class="SectionBody">
+ <pre>
+ define service{
+-	host_name		linux-server
++	host_name		freebsd-server
+ 	service_description	check-disk-sda1
+ 	check_command		check-disk!/dev/sda1
+ 	max_check_attempts	5
diff -ruN /usr/ports/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in nagios/files/patch-sample-config-template-object-localhost.cfg.in
--- /usr/ports/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in	Wed Dec 31 19:00:00 1969
+++ nagios/files/patch-sample-config-template-object-localhost.cfg.in	Thu Jan 25 19:33:50 2007
@@ -0,0 +1,23 @@
+--- sample-config/template-object/localhost.cfg.in.orig	Thu Jan 25 19:25:30 2007
++++ sample-config/template-object/localhost.cfg.in	Thu Jan 25 19:25:30 2007
+@@ -154,7 +154,7 @@
+ # Linux host definition template - This is NOT a real host, just a template!
+ 
+ define host{
+-	name				linux-server	; The name of this host template
++	name				freebsd-server	; The name of this host template
+ 	use				generic-host	; This template inherits other values from the generic-host template
+ 	check_period			24x7		; By default, Linux hosts are checked round the clock
+ 	max_check_attempts		10		; Check each Linux host 10 times (max)
+@@ -173,9 +173,9 @@
+ # local host (this machine).
+ 
+ define host{
+-        use                     linux-server            ; Name of host template to use
++        use                     freebsd-server          ; Name of host template to use
+ 							; This host definition will inherit all variables that are defined
+-							; in (or inherited by) the linux-server host template definition.
++							; in (or inherited by) the freebsd-server host template definition.
+         host_name               localhost
+         alias                   localhost
+         address                 127.0.0.1
--- nagios.diff ends here ---

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Fri Jan 26 00:40:30 UTC 2007 
Class-Changed-Why:  
Fix category (submitter is not maintainer) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108362 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jan 26 00:40:37 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108362 
State-Changed-From-To: feedback->closed 
State-Changed-By: shaun 
State-Changed-When: Mon Jan 29 00:35:20 UTC 2007 
State-Changed-Why:  
Closed at submitter's request (see ports/108417). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108362 
>Unformatted:
