--- ports/net-mgmt/nagios/Makefile Sat Dec 9 19:42:24 2006 +++ ports/net-mgmt/nagios/Makefile Sat Jan 27 18:41:17 2007 @@ -6,7 +6,7 @@ # PORTNAME= nagios -PORTVERSION= 2.6 +PORTVERSION= 2.7 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nagios --- ports/net-mgmt/nagios/distinfo Sat Dec 9 19:42:24 2006 +++ ports/net-mgmt/nagios/distinfo Sat Jan 27 18:41:27 2007 @@ -1,3 +1,3 @@ -MD5 (nagios-2.6.tar.gz) = a032edba07bf389b803ce817e9406c02 -SHA256 (nagios-2.6.tar.gz) = e53cd8cc5cb00a00b66aa7e33fb34b70b783f095161cde9376cea489c5445e42 -SIZE (nagios-2.6.tar.gz) = 1734400 +MD5 (nagios-2.7.tar.gz) = d664d2785cdca3c5c8a3e84c033e8e6e +SHA256 (nagios-2.7.tar.gz) = defb4062f077f999d1da2bcfcb87786c5d7fbca7d1346c7e6a19084b5629b2c1 +SIZE (nagios-2.7.tar.gz) = 1737308 --- ports/net-mgmt/nagios/files/patch-html-docs-xodtemplate.html Thu Jan 1 09:30:00 1970 +++ ports/net-mgmt/nagios/files/patch-html-docs-xodtemplate.html Sat Jan 27 19:04:18 2007 @@ -0,0 +1,24 @@ +--- html/docs/xodtemplate.html.orig Wed Dec 27 05:03:22 2006 ++++ html/docs/xodtemplate.html Sat Jan 27 18:56:48 2007 +@@ -493,9 +493,9 @@ +

+

+ define service{
+-	host_name		linux-server
+-	service_description	check-disk-sda1
+-	check_command		check-disk!/dev/sda1
++	host_name		freebsd-server
++	service_description	check-disk-ad0s1a
++	check_command		check-disk!/dev/ad0s1a
+ 	max_check_attempts	5
+ 	normal_check_interval	5
+ 	retry_check_interval	3
+@@ -503,7 +503,7 @@
+ 	notification_interval	30
+ 	notification_period	24x7
+ 	notification_options	w,c,r
+-	contact_groups		linux-admins
++	contact_groups		freebsd-admins
+ 	}
+ 
+

--- ports/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in Thu Jan 1 09:30:00 1970 +++ ports/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in Sat Jan 27 19:04:11 2007 @@ -0,0 +1,36 @@ +--- sample-config/template-object/localhost.cfg.in.orig Tue Nov 28 12:59:05 2006 ++++ sample-config/template-object/localhost.cfg.in Sat Jan 27 19:01:52 2007 +@@ -151,15 +151,15 @@ + } + + +-# Linux host definition template - This is NOT a real host, just a template! ++# FreeBSD 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) +- check_command check-host-alive ; Default command to check Linux hosts +- notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ++ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock ++ max_check_attempts 10 ; Check each FreeBSD host 10 times (max) ++ check_command check-host-alive ; Default command to check FreeBSD hosts ++ notification_period workhours ; FreeBSD admins hate to be woken up, so we only notify during the day + ; Note that the notification_period variable is being overridden from + ; the value that is inherited from the generic-host template! + notification_interval 120 ; Resend notification every 2 hours +@@ -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 --- ports/UIDs Sun Jan 21 08:51:22 2007 +++ ports/UIDs Sat Jan 27 19:52:11 2007 @@ -69,6 +69,7 @@ sfs:*:171:171:Self-Certifying File System:/nonexistent:/sbin/nologin agk:*:172:172:AquaGateKeeper:/nonexistent:/nonexistent polipo:*:173:173:polipo web cache:/nonexistent:/sbin/nologin +nagios:*:181:181:Nagios pseudo-user:/var/spool/nagios:/sbin/nologin moinmoin:*:192:192:MoinMoin User:/nonexistent:/sbin/nologin cups:*:193:193:Cups Owner:/nonexistent:/sbin/nologin sympa:*:200:200:Sympa Owner:/nonexistent:/sbin/nologin --- ports/GIDs Sun Jan 21 08:51:20 2007 +++ ports/GIDs Sat Jan 27 19:47:43 2007 @@ -60,6 +60,7 @@ sfs:*:171: agk:*:172: polipo:*:173: +nagios:*:181: moinmoin:*:192: cups:*:193: sympa:*:200: