nagios: significant upgrades

- Upgrade Nagios Core to 4.x
 - Expose mainConfigFile and cgiConfigFile in module for finer
   configuration control.
 - Upgrade Plugins to 2.x
 - Remove default objectDefs, which users probably want to customize.
 - Systemd-ify Nagios module and simplify directory structure
 - Upgrade Nagios package with more modern patch, and ensure the
   statedir is set to /var/lib/nagios

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp
2014-06-22 00:22:10 -05:00
parent b8ede68b25
commit 6cfa38ce7d
10 changed files with 106 additions and 193 deletions
+14 -4
View File
@@ -1,7 +1,7 @@
diff -ruN nagios-2.6/configure nagios-2.6.new/configure
--- nagios-2.6/configure 2006-11-28 03:29:04.000000000 +0100
+++ nagios-2.6.new/configure 2006-12-28 01:22:56.000000000 +0100
@@ -4810,7 +4810,8 @@
diff -ruN nagios-4.0.7.orig/configure nagios-4.0.7/configure
--- nagios-4.0.7.orig/configure 2014-06-03 10:41:42.000000000 -0400
+++ nagios-4.0.7/configure 2014-06-12 00:30:17.516468583 -0400
@@ -6014,7 +6014,8 @@
#define DEFAULT_NAGIOS_GROUP "$nagios_grp"
_ACEOF
@@ -11,3 +11,13 @@ diff -ruN nagios-2.6/configure nagios-2.6.new/configure
@@ -6035,7 +6036,8 @@
-COMMAND_OPTS="-o $command_user -g $command_grp"
+#COMMAND_OPTS="-o $command_user -g $command_grp"
+COMMAND_OPTS=""
MAIL_PROG=no