Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/Makefile 2014-04-11 08:40:24 UTC (rev 433)
@@ -1,5 +1,5 @@
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
Modified: trunk/altinity-plugins/check_macosx_memory
===================================================================
--- trunk/altinity-plugins/check_macosx_memory 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/altinity-plugins/check_macosx_memory 2014-04-11 08:40:24 UTC (rev 433)
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
# W: http://www.opsview.com/
#
# This program is free software; you can redistribute it and/or modify
@@ -41,7 +41,7 @@
usage();
}
-getopts("h:w:c:");
+getopts( "h:w:c:" );
if ($opt_h) {
usage();
}
@@ -66,7 +66,8 @@
#$mem_phys =~ s/ //g;
#$mem_phys = $mem_phys / (1024*1024);
-$mem_phys = `/usr/sbin/system_profiler SPHardwareDataType | grep "Memory"`; # Physical memory,
+$mem_phys = `/usr/sbin/system_profiler SPHardwareDataType | grep "Memory"`
+ ; # Physical memory,
$mem_phys =~ s/Memory://g;
if ( $mem_phys =~ /GB/ ) {
$mem_phys =~ s/GB//g;
@@ -97,32 +98,32 @@
$line =~ s/Pages free://g;
$line =~ s/ //g;
$line =~ s/\n//g;
- $line = $line * 4096; # page size is 4096 bytes
- $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
+ $line = $line * 4096; # page size is 4096 bytes
+ $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
$mem_free = $line;
}
elsif ( $line =~ /Pages active:/ ) {
$line =~ s/Pages active://g;
$line =~ s/ //g;
$line =~ s/\n//g;
- $line = $line * 4096; # page size is 4096 bytes
- $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
+ $line = $line * 4096; # page size is 4096 bytes
+ $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
$mem_active = $line;
}
elsif ( $line =~ /Pages inactive:/ ) {
$line =~ s/Pages inactive://g;
$line =~ s/ //g;
$line =~ s/\n//g;
- $line = $line * 4096; # page size is 4096 bytes
- $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
+ $line = $line * 4096; # page size is 4096 bytes
+ $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
$mem_inactive = $line;
}
elsif ( $line =~ /Pages wired down:/ ) {
$line =~ s/Pages wired down://g;
$line =~ s/ //g;
$line =~ s/\n//g;
- $line = $line * 4096; # page size is 4096 bytes
- $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
+ $line = $line * 4096; # page size is 4096 bytes
+ $line = $line / ( 1024 * 1024 ); # converts bytes to megabytes
$mem_wired = $line;
}
}
@@ -144,17 +145,18 @@
$status = 1;
}
printf
- "Memory: total %.0f MB, active %.0f MB, inactive %.0f MB, wired: %.0f MB, free: %.0f MB (%.0f%%)|free=%.0f\n",
- $mem_phys, $mem_active, $mem_inactive, $mem_wired, $mem_physical_free,
- $percent_physical_free, $percent_physical_free;
+ "Memory: total %.0f MB, active %.0f MB, inactive %.0f MB, wired: %.0f MB, free: %.0f MB (%.0f%%)|free=%.0f\n",
+ $mem_phys, $mem_active, $mem_inactive, $mem_wired, $mem_physical_free,
+ $percent_physical_free, $percent_physical_free;
}
# If system is overcommitted
else {
- $mem_overcommit = ( ( $mem_active + $mem_inactive + $mem_wired ) - $mem_phys );
+ $mem_overcommit =
+ ( ( $mem_active + $mem_inactive + $mem_wired ) - $mem_phys );
printf
- "Memory: total %.0f MB, active %.0f MB, inactive %.0f MB, wired: %.0f MB, Swapped: %.0f MB\n",
- $mem_phys, $mem_active, $mem_inactive, $mem_wired, $mem_overcommit;
+ "Memory: total %.0f MB, active %.0f MB, inactive %.0f MB, wired: %.0f MB, Swapped: %.0f MB\n",
+ $mem_phys, $mem_active, $mem_inactive, $mem_wired, $mem_overcommit;
$status = 2;
}
Modified: trunk/altinity-plugins/check_macosx_sensors
===================================================================
--- trunk/altinity-plugins/check_macosx_sensors 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/altinity-plugins/check_macosx_sensors 2014-04-11 08:40:24 UTC (rev 433)
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
# W: http://www.opsview.com/
#
# This program is free software; you can redistribute it and/or modify
@@ -28,7 +28,7 @@
$sensorclass = "temperature";
$status = 0;
-$hits = 0; #Used to track how many sensors we've detected
+$hits = 0; #Used to track how many sensors we've detected
# Do we have enough information?
if ( @ARGV < 1 ) {
@@ -36,7 +36,7 @@
usage();
}
-getopts("h:w:c:s:");
+getopts( "h:w:c:s:" );
if ($opt_h) {
usage();
}
@@ -102,9 +102,9 @@
$location =~ s/\n//g;
#$string = shift;
- $location =~ s/^\s+//; # Removes whitespace
- $location =~ s/\s+$//; # from start and end of string
- #print "$location\n";
+ $location =~ s/^\s+//; # Removes whitespace
+ $location =~ s/\s+$//; # from start and end of string
+ #print "$location\n";
}
}
if ( $trigger == $currentclassinstance ) {
@@ -128,7 +128,7 @@
my $value = $_[1];
my $newstatus = 0;
- $hits++; # Keeps track of how many sensors we've tested
+ $hits++; # Keeps track of how many sensors we've tested
if ( $type eq "temperature" ) {
if ( $value >= $critical ) {
Modified: trunk/altinity-plugins/check_memory
===================================================================
--- trunk/altinity-plugins/check_memory 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/altinity-plugins/check_memory 2014-04-11 08:40:24 UTC (rev 433)
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Modified: trunk/altinity-plugins/check_memory_solaris
===================================================================
--- trunk/altinity-plugins/check_memory_solaris 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/altinity-plugins/check_memory_solaris 2014-04-11 08:40:24 UTC (rev 433)
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
# W: http://www.opsview.com/
#
# This program is free software; you can redistribute it and/or modify
Modified: trunk/build-aux/fladmin
===================================================================
--- trunk/build-aux/fladmin 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/build-aux/fladmin 2014-04-11 08:40:24 UTC (rev 433)
@@ -15,7 +15,7 @@
#
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
@@ -44,7 +44,7 @@
getopts( "r:s:v:", $opts );
$root = $opts->{r} || "/";
-$root =~ s%^/$%%; # Change / to nothing
+$root =~ s%^/$%%; # Change / to nothing
$action = shift;
if ( $action !~ /^((un)?install|rpmspec|list|devinstall)$/ ) {
@@ -81,7 +81,7 @@
my $current_user = getpwuid($UID);
my $current_group = getgrgid($GID);
my @current_groups = qx/groups/;
-shift @current_groups; #remove username frmo group list
+shift @current_groups; #remove username frmo group list
my @dirs;
@@ -89,16 +89,17 @@
next if /^#|^\s*$/;
my ( $type, $o, $mode, $file, $src ) = split;
- ( $owner, undef, $group ) = $o =~ /^(\w+)([:.](\w+))?$/; # Separate to owner and group
- ( $src = $file ) =~ s#^.*/## unless $src; # Default src to file of same name
+ ( $owner, undef, $group ) =
+ $o =~ /^(\w+)([:.](\w+))?$/; # Separate to owner and group
+ ( $src = $file ) =~ s#^.*/## unless $src; # Default src to file of same name
if ( $current_user->name ne "root" && $current_user->name ne "nagios" ) {
$owner = $current_user->name;
$group = $current_group->name;
}
- $dstfile = $root . $file; # Prepend root
- $dstfile =~ s%^//%/%; # Remove duplicate //s
+ $dstfile = $root . $file; # Prepend root
+ $dstfile =~ s%^//%/%; # Remove duplicate //s
# note: on some os's dirs with 0555 cannot have files created
# underneath by install, so catch those and store + fix later
@@ -106,7 +107,8 @@
push( @dirs, $dstfile );
}
- print "type=$type, file=$file, own=$owner, g=$group, mod=$mode, src=$src", $/;
+ print "type=$type, file=$file, own=$owner, g=$group, mod=$mode, src=$src",
+ $/;
if ( $action eq "install" or $action eq "devinstall" ) {
if ( $action eq "devinstall" && -e $file ) {
@@ -120,10 +122,15 @@
}
if ( $type eq "d" ) {
- system("$Bin/install-sh -d -o $owner $grp_arg -m $mode $dstfile") == 0 or die "Cannot install dir $file";
+ system("$Bin/install-sh -d -o $owner $grp_arg -m $mode $dstfile")
+ == 0
+ or die "Cannot install dir $file";
}
elsif ( $type eq "f" or $type eq "c" ) {
- system("$Bin/install-sh -c -o $owner $grp_arg -m $mode $src $dstfile") == 0 or die "Cannot install file $file";
+ system(
+ "$Bin/install-sh -c -o $owner $grp_arg -m $mode $src $dstfile")
+ == 0
+ or die "Cannot install file $file";
}
elsif ( $type eq "l" ) {
unlink $dstfile if ( -e $dstfile );
@@ -138,7 +145,8 @@
unlink $file or die "Cannot unlink $file: $!";
}
elsif ( $type eq "c" ) {
- rename $file, "$file.removed" or die "Cannot rename config file $file: $!";
+ rename $file, "$file.removed"
+ or die "Cannot rename config file $file: $!";
}
}
elsif ( $action eq "rpmspec" ) {
@@ -156,7 +164,7 @@
if ( $action eq "install" or $action eq "devinstall" ) {
foreach my $dir ( reverse(@dirs) ) {
- system("chmod u-w $dir");
+ system( "chmod u-w $dir" );
}
}
@@ -176,7 +184,13 @@
sub do_list {
use File::Find;
- find( { no_chdir => 1, wanted => \&callback }, "." );
+ find(
+ {
+ no_chdir => 1,
+ wanted => \&callback
+ },
+ "."
+ );
}
sub callback {
Modified: trunk/debian/build/mkdeb
===================================================================
--- trunk/debian/build/mkdeb 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/debian/build/mkdeb 2014-04-11 08:40:24 UTC (rev 433)
@@ -4,7 +4,7 @@
# upstream sources with debian/ dir from subversion.
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
Modified: trunk/debian/opsview-agent.postinst
===================================================================
--- trunk/debian/opsview-agent.postinst 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/debian/opsview-agent.postinst 2014-04-11 08:40:24 UTC (rev 433)
@@ -4,7 +4,7 @@
# see: dh_installdeb(1)
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
Modified: trunk/debian/opsview-base.postinst
===================================================================
--- trunk/debian/opsview-base.postinst 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/debian/opsview-base.postinst 2014-04-11 08:40:24 UTC (rev 433)
@@ -4,7 +4,7 @@
# see: dh_installdeb(1)
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
Modified: trunk/debian/opsview-base.preinst
===================================================================
--- trunk/debian/opsview-base.preinst 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/debian/opsview-base.preinst 2014-04-11 08:40:24 UTC (rev 433)
@@ -4,7 +4,7 @@
# see: dh_installdeb(1)
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
Modified: trunk/installer/opsview_base_postinstall
===================================================================
--- trunk/installer/opsview_base_postinstall 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/installer/opsview_base_postinstall 2014-04-11 08:40:24 UTC (rev 433)
@@ -8,7 +8,7 @@
# -d - show steps being taken
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
@@ -45,18 +45,21 @@
# useful variables
my $install_base = '/usr/local/nagios';
my ( $nagios_id, $nagios_gid ) = ( getpwnam("nagios") )[ 2, 3 ];
-my $nagcmd_gid = getgrnam("nagcmd");
+my $nagcmd_gid = getgrnam( "nagcmd" );
# ensure nagvis default config file is available
{
- logmsg('Checking if nagvis configuration file exists');
+ logmsg( 'Checking if nagvis configuration file exists' );
my $nagvis_config = $install_base . '/nagvis/etc/nagvis.ini.php';
if ( !-f $nagvis_config ) {
- logmsg('Installing default nagvis configuration file');
+ logmsg( 'Installing default nagvis configuration file' );
copy( $nagvis_config . '-sample', $nagvis_config );
- chmod 0660, $nagvis_config || die 'Cannot reset permissions on ', $nagvis_config, ': ', $!, $/;
- chown $nagios_id, $nagcmd_gid, $nagvis_config || die 'Cannot reset group ownership on ', $nagvis_config, ': ', $!, $/;
+ chmod 0660, $nagvis_config || die 'Cannot reset permissions on ',
+ $nagvis_config, ': ', $!, $/;
+ chown $nagios_id, $nagcmd_gid,
+ $nagvis_config || die 'Cannot reset group ownership on ',
+ $nagvis_config, ': ', $!, $/;
}
}
@@ -64,17 +67,23 @@
{
my $extra_output = '';
$extra_output = '-d' if ( $options{d} );
- logmsg('Checking nagvis configuration file for any necessary upgrades');
- if ( system( $install_base . '/installer/opsview_base_upgrade_nagvis_config ' . $extra_output ) != 0 ) {
+ logmsg( 'Checking nagvis configuration file for any necessary upgrades' );
+ if (
+ system( $install_base
+ . '/installer/opsview_base_upgrade_nagvis_config '
+ . $extra_output
+ ) != 0
+ )
+ {
die( 'WARNING: ', $Script, ' - nagvis configuration update failed' );
}
}
# We don't care if this fails - changing where possible is sufficient
-logmsg("Making sure the web server can write where it needs to");
+logmsg( "Making sure the web server can write where it needs to" );
system(
-'chgrp -R nagcmd /usr/local/nagios/nagvis/var /usr/local/nagios/nagvis/etc/maps > /dev/null 2>&1'
- );
+ 'chgrp -R nagcmd /usr/local/nagios/nagvis/var /usr/local/nagios/nagvis/etc/maps > /dev/null 2>&1'
+);
# == == == == == == == == == ==
sub logmsg {
Modified: trunk/installer/opsview_base_upgrade_nagvis_config
===================================================================
--- trunk/installer/opsview_base_upgrade_nagvis_config 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/installer/opsview_base_upgrade_nagvis_config 2014-04-11 08:40:24 UTC (rev 433)
@@ -8,7 +8,7 @@
# -d - show steps being taken
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#
@@ -44,19 +44,24 @@
my $nagvis_config_file = '/usr/local/nagios/nagvis/etc/nagvis.ini.php';
my ( $nagios_id, $nagios_gid ) = ( getpwnam("nagios") )[ 2, 3 ];
-my $nagcmd_gid = getgrnam("nagcmd");
+my $nagcmd_gid = getgrnam( "nagcmd" );
-open my $nagvis_config_file_fh, '<', $nagvis_config_file || die 'Unable to open ', $nagvis_config_file, ' for reading: ', $!, $/;
+open my $nagvis_config_file_fh, '<',
+ $nagvis_config_file || die 'Unable to open ', $nagvis_config_file,
+ ' for reading: ', $!, $/;
my @nagvis_config = <$nagvis_config_file_fh>;
close($nagvis_config_file_fh) || die 'Error closing file: ', $!, $/;
logmsg( 'Checking ', $nagvis_config_file, ' for required upgrades', $/ );
-check_in_section( 'backend_runtime', 'Use opsview helper tables', 'use_opsview_tables', 1 );
+check_in_section( 'backend_runtime', 'Use opsview helper tables',
+ 'use_opsview_tables', 1 );
-check_in_section( 'defaults', 'Link to Opsview status pages', 'use_opsview_links', 1 );
+check_in_section( 'defaults', 'Link to Opsview status pages',
+ 'use_opsview_links', 1 );
-open $nagvis_config_file_fh, '>', $nagvis_config_file || die 'Unable to open ', $nagvis_config_file, ' for writing: ', $!, $/;
+open $nagvis_config_file_fh, '>', $nagvis_config_file || die 'Unable to open ',
+ $nagvis_config_file, ' for writing: ', $!, $/;
print {$nagvis_config_file_fh} @nagvis_config;
close($nagvis_config_file_fh) || die 'Error closing file: ', $!, $/;
@@ -71,10 +76,10 @@
my $found_section = 0;
my $insert_at_line = 0;
-CONFIG:
+ CONFIG:
foreach my $config_line ( 0 .. $#nagvis_config ) {
next CONFIG
- if ( !$found_section
+ if (!$found_section
&& $nagvis_config[$config_line] !~ m/^\[$section\]/xsm );
# skip section header but grab line it's on
@@ -92,7 +97,10 @@
# found line with variable - allow to be commented out too
if ( $nagvis_config[$config_line] =~ m/^(?:;)?$variable=/ ) {
- logmsg( 'Found on line ', $config_line, ': ', $nagvis_config[$config_line] );
+ logmsg(
+ 'Found on line ',
+ $config_line, ': ', $nagvis_config[$config_line]
+ );
$insert_at_line = 0;
last CONFIG;
}
@@ -100,13 +108,16 @@
}
if ( !$found_section ) {
- warn 'WARNING: ', $Script, ' - did not find section "', $section, '" to add in variable "', $variable, '"', $/;
+ warn 'WARNING: ', $Script, ' - did not find section "', $section,
+ '" to add in variable "', $variable, '"', $/;
}
if ($insert_at_line) {
- logmsg( 'Adding in ', $variable, ' to configuration file at line ', $insert_at_line, $/ );
+ logmsg( 'Adding in ', $variable, ' to configuration file at line ',
+ $insert_at_line, $/ );
- splice @nagvis_config, $insert_at_line, 0, ';' . $comment . $/, $variable . '=' . $value . $/;
+ splice @nagvis_config, $insert_at_line, 0, ';' . $comment . $/,
+ $variable . '=' . $value . $/;
}
return;
Modified: trunk/patches/altinity_set_initial_state.c
===================================================================
--- trunk/patches/altinity_set_initial_state.c 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/patches/altinity_set_initial_state.c 2014-04-11 08:40:24 UTC (rev 433)
@@ -6,7 +6,7 @@
* Initially based on
* NDOMOD.C - Nagios Data Output Event Broker Module
*
- * Copyright (C) 2003-2013 Opsview Limited. All rights reserved, after Ethan Galstad
+ * Copyright (C) 2003-2014 Opsview Limited. All rights reserved, after Ethan Galstad
*
*****************************************************************************/
@@ -55,7 +55,7 @@
altinity_set_initial_state_module_handle=handle;
/* log module info to the Nagios log file */
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"altinity_set_initial_state: %s %s Copyright (C) 2003-2013 Opsview Limited. All rights reserved",MODULE_NAME,MODULE_VERSION);
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"altinity_set_initial_state: %s %s Copyright (C) 2003-2014 Opsview Limited. All rights reserved",MODULE_NAME,MODULE_VERSION);
temp_buffer[sizeof(temp_buffer)-1]='\x0';
altinity_set_initial_state_write_to_logs(temp_buffer,NSLOG_INFO_MESSAGE);
Modified: trunk/patches/altinity_set_initial_state.h
===================================================================
--- trunk/patches/altinity_set_initial_state.h 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/patches/altinity_set_initial_state.h 2014-04-11 08:40:24 UTC (rev 433)
@@ -3,7 +3,7 @@
* ALTINITY_SET_INITIAL_STATE.H - NEB Module Include File for
* Altinity's set initial state module
*
- * Copyright (C) 2003-2013 Opsview Limited. All rights reserved, after Ethan Galstad
+ * Copyright (C) 2003-2014 Opsview Limited. All rights reserved, after Ethan Galstad
*
************************************************************************/
Modified: trunk/patches/opsview_distributed_notifications.c
===================================================================
--- trunk/patches/opsview_distributed_notifications.c 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/patches/opsview_distributed_notifications.c 2014-04-11 08:40:24 UTC (rev 433)
@@ -20,7 +20,7 @@
* Initially based on
* NDOMOD.C - Nagios Data Output Event Broker Module
*
- * Copyright (C) 2003-2013 Opsview Limited. All rights reserved, after Ethan Galstad
+ * Copyright (C) 2003-2014 Opsview Limited. All rights reserved, after Ethan Galstad
*
*****************************************************************************/
@@ -73,7 +73,7 @@
opsview_distributed_notifications_module_handle=handle;
/* log module info to the Nagios log file */
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"opsview_distributed_notifications: %s %s Copyright (C) 2003-2013 Opsview Limited. All rights reserved",MODULE_NAME,MODULE_VERSION);
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"opsview_distributed_notifications: %s %s Copyright (C) 2003-2014 Opsview Limited. All rights reserved",MODULE_NAME,MODULE_VERSION);
temp_buffer[sizeof(temp_buffer)-1]='\x0';
opsview_distributed_notifications_write_to_logs(temp_buffer,NSLOG_INFO_MESSAGE);
Modified: trunk/patches/opsview_distributed_notifications.h
===================================================================
--- trunk/patches/opsview_distributed_notifications.h 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/patches/opsview_distributed_notifications.h 2014-04-11 08:40:24 UTC (rev 433)
@@ -3,7 +3,7 @@
* OPSVIEW_DISTRIBUTED_NOTIFICATIONS.H - NEB Module Include File for
* Opsview's distributed notifications supressor
*
- * Copyright (C) 2003-2013 Opsview Limited. All rights reserved, after Ethan Galstad
+ * Copyright (C) 2003-2014 Opsview Limited. All rights reserved, after Ethan Galstad
*
************************************************************************/
Modified: trunk/patches/opsview_notificationprofiles.c
===================================================================
--- trunk/patches/opsview_notificationprofiles.c 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/patches/opsview_notificationprofiles.c 2014-04-11 08:40:24 UTC (rev 433)
@@ -13,7 +13,7 @@
* Initially based on
* NDOMOD.C - Nagios Data Output Event Broker Module
*
- * Copyright (C) 2003-2013 Opsview Limited. All rights reserved, after Ethan Galstad
+ * Copyright (C) 2003-2014 Opsview Limited. All rights reserved, after Ethan Galstad
*
*****************************************************************************/
@@ -66,7 +66,7 @@
opsview_notificationprofiles_module_handle=handle;
/* log module info to the Nagios log file */
- snprintf(temp_buffer,sizeof(temp_buffer)-1,"opsview_notificationprofiles: %s %s Copyright (C) 2003-2013 Opsview Limited. All rights reserved",MODULE_NAME,MODULE_VERSION);
+ snprintf(temp_buffer,sizeof(temp_buffer)-1,"opsview_notificationprofiles: %s %s Copyright (C) 2003-2014 Opsview Limited. All rights reserved",MODULE_NAME,MODULE_VERSION);
temp_buffer[sizeof(temp_buffer)-1]='\x0';
opsview_notificationprofiles_write_to_logs(temp_buffer,NSLOG_INFO_MESSAGE);
Modified: trunk/patches/opsview_notificationprofiles.h
===================================================================
--- trunk/patches/opsview_notificationprofiles.h 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/patches/opsview_notificationprofiles.h 2014-04-11 08:40:24 UTC (rev 433)
@@ -3,7 +3,7 @@
* OPSVIEW_NOTIFICATIONPROFILES.H - NEB Module Include File for
* Opsview's notification profiles functionality
*
- * Copyright (C) 2003-2013 Opsview Limited. All rights reserved, after Ethan Galstad
+ * Copyright (C) 2003-2014 Opsview Limited. All rights reserved, after Ethan Galstad
*
************************************************************************/
Modified: trunk/solaris_pkg/copyright
===================================================================
--- trunk/solaris_pkg/copyright 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/solaris_pkg/copyright 2014-04-11 08:40:24 UTC (rev 433)
@@ -1,5 +1,5 @@
Authors and Copyright:
- Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+ Copyright (C) 2003-2014 Opsview Limited. All rights reserved
This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Modified: trunk/support_files/opsview-agent
===================================================================
--- trunk/support_files/opsview-agent 2014-04-10 09:48:05 UTC (rev 432)
+++ trunk/support_files/opsview-agent 2014-04-11 08:40:24 UTC (rev 433)
@@ -2,7 +2,7 @@
#
#
# AUTHORS:
-# Copyright (C) 2003-2013 Opsview Limited. All rights reserved
+# Copyright (C) 2003-2014 Opsview Limited. All rights reserved
#
# This file is part of Opsview
#