diff options
Diffstat (limited to 'net-mgmt/nagios4/files')
4 files changed, 52 insertions, 51 deletions
diff --git a/net-mgmt/nagios4/files/patch-configure b/net-mgmt/nagios4/files/patch-configure index d4a0b896dd2a..e1794e421b1a 100644 --- a/net-mgmt/nagios4/files/patch-configure +++ b/net-mgmt/nagios4/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig 2017-08-24 21:43:48 UTC +--- configure.orig 2018-06-25 21:25:22 UTC +++ configure -@@ -4777,7 +4777,6 @@ cat >>confdefs.h <<_ACEOF +@@ -6240,7 +6240,6 @@ cat >>confdefs.h <<_ACEOF #define DEFAULT_NAGIOS_GROUP "$nagios_grp" _ACEOF @@ -8,7 +8,7 @@ -@@ -4798,7 +4797,6 @@ fi +@@ -6267,7 +6266,6 @@ fi diff --git a/net-mgmt/nagios4/files/patch-html_main.php b/net-mgmt/nagios4/files/patch-html_main.php index 112ed948e67b..7aca82560c34 100644 --- a/net-mgmt/nagios4/files/patch-html_main.php +++ b/net-mgmt/nagios4/files/patch-html_main.php @@ -1,9 +1,9 @@ ---- html/main.php.orig 2017-08-24 21:43:48 UTC +--- html/main.php.orig 2018-06-25 21:25:22 UTC +++ html/main.php -@@ -141,31 +141,6 @@ $this_year = '2017'; +@@ -146,31 +146,6 @@ $this_year = '2018'; <div class="product">Nagios<sup><span style="font-size: small;">®</span></sup> Core<sup><span style="font-size: small;">™</span></sup></div> <div class="version">Version <?php echo $this_version; ?></div> - <div class="releasedate">August 24, 2017</div> + <div class="releasedate">June 25, 2018</div> - <div class="checkforupdates"><a href="https://www.nagios.org/checkforupdates/?version=<?php echo $this_version; ?>&product=nagioscore" target="_blank">Check for updates</a></div> -</div> - diff --git a/net-mgmt/nagios4/files/patch-sample-config_template-object_localhost.cfg.in b/net-mgmt/nagios4/files/patch-sample-config_template-object_localhost.cfg.in index 9fc52359ee4b..03ce02327114 100644 --- a/net-mgmt/nagios4/files/patch-sample-config_template-object_localhost.cfg.in +++ b/net-mgmt/nagios4/files/patch-sample-config_template-object_localhost.cfg.in @@ -1,40 +1,39 @@ ---- sample-config/template-object/localhost.cfg.in.orig 2014-08-12 15:00:01 UTC +--- sample-config/template-object/localhost.cfg.in.orig 2018-06-25 21:25:22 UTC +++ sample-config/template-object/localhost.cfg.in @@ -4,7 +4,7 @@ # - # NOTE: This config file is intended to serve as an *extremely* simple + # NOTE: This config file is intended to serve as an *extremely* simple # example of how you can create configuration entries to monitor -# the local (Linux) machine. +# the local (FreeBSD) machine. # ############################################################################### -@@ -22,9 +22,9 @@ - # Define a host for the local machine +@@ -20,9 +20,9 @@ - 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 -@@ -40,12 +40,12 @@ define host{ - ############################################################################### + 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 +@@ -36,12 +36,12 @@ define host { + # ############################################################################### -# Define an optional hostgroup for Linux machines +# Define an optional hostgroup for FreeBSD machines - define hostgroup{ -- hostgroup_name linux-servers ; The name of the hostgroup -- alias Linux Servers ; Long name of the group -- members localhost ; Comma separated list of hosts that belong to this group -+ hostgroup_name freebsd-servers ; The name of the hostgroup -+ alias FreeBSD Servers ; Long name of the group -+ members localhost ; Comma separated list of hosts that belong to this group - } + define hostgroup { +- hostgroup_name linux-servers ; The name of the hostgroup +- alias Linux Servers ; Long name of the group ++ hostgroup_name freebsd-servers ; The name of the hostgroup ++ alias FreeBSD Servers ; Long name of the group + members localhost ; Comma separated list of hosts that belong to this group + } diff --git a/net-mgmt/nagios4/files/patch-sample-config_template-object_templates.cfg.in b/net-mgmt/nagios4/files/patch-sample-config_template-object_templates.cfg.in index 99ec2be29418..755e2cca8b2e 100644 --- a/net-mgmt/nagios4/files/patch-sample-config_template-object_templates.cfg.in +++ b/net-mgmt/nagios4/files/patch-sample-config_template-object_templates.cfg.in @@ -1,26 +1,28 @@ ---- sample-config/template-object/templates.cfg.in.orig 2014-08-12 15:00:01 UTC +--- sample-config/template-object/templates.cfg.in.orig 2018-06-25 21:25:22 UTC +++ sample-config/template-object/templates.cfg.in -@@ -61,17 +61,17 @@ define host{ - } +@@ -61,19 +61,19 @@ define host { --# 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 -+ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock - check_interval 5 ; Actively check the host every 5 minutes - retry_interval 1 ; Schedule host check retries at 1 minute intervals -- 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 -+ 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 notifications every 2 hours +-# Linux host definition 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 ++ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock + check_interval 5 ; Actively check the host every 5 minutes + retry_interval 1 ; Schedule host check retries at 1 minute intervals +- 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 ++ 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 notifications every 2 hours |