From 1ac6500dea6a51a6e55208bdde001e4f2eb69457 Mon Sep 17 00:00:00 2001 From: Julien Mathis Date: Fri, 27 Jul 2007 10:07:37 +0000 Subject: [PATCH] keep License GPL2 git-svn-id: http://svn.centreon.com/Plugins/Dev@2799 6bcd3966-0018-0410-8128-fd23d134de7e --- install.sh | 33 ++++++++++++++++---------- src/check_centreon_snmp_loadaverage | 2 +- src/check_centreon_snmp_process | 2 +- src/check_centreon_snmp_remote_storage | 10 ++++---- src/check_centreon_snmp_traffic | 2 +- src/check_centreon_snmp_value | 2 +- src/traps/plugins/fill_trapDB | 2 +- src/traps/plugins/genSnmpttConfFile | 2 +- src/traps/plugins/trapHandler | 2 +- 9 files changed, 32 insertions(+), 25 deletions(-) diff --git a/install.sh b/install.sh index 4efe7023f..f309e8a17 100644 --- a/install.sh +++ b/install.sh @@ -1,18 +1,25 @@ #!/bin/sh +################################################################### +# Oreon is developped with GPL Licence 2.0 # -# Oreon is developped with Apache Licence 2.0 : -# http://www.apache.org/licenses/LICENSE-2.0.txt -# Developped by : Julien Mathis - Romain Le Merlus -# Christophe Coraboeuf - Mathieu Chateau - -# The Software is provided to you AS IS and WITH ALL FAULTS. -# OREON makes no representation and gives no warranty whatsoever, -# whether express or implied, and without limitation, with regard to the quality, -# safety, contents, performance, merchantability, non-infringement or suitability for -# any particular or intended purpose of the Software found on the OREON web site. -# In no event will OREON be liable for any direct, indirect, punitive, special, -# incidental or consequential damages however they may arise and even if OREON has -# been previously advised of the possibility of such damages. +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt +# +# Developped by : Julien Mathis - Romain Le Merlus +# Christophe Coraboeuf - Sugumaran Mathavarajan +# +################################################################### +# 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 the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# For information : contact@merethis.com +#################################################################### #Load install script functions . ../functions diff --git a/src/check_centreon_snmp_loadaverage b/src/check_centreon_snmp_loadaverage index 36373524e..f75ca6e71 100644 --- a/src/check_centreon_snmp_loadaverage +++ b/src/check_centreon_snmp_loadaverage @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Julien Mathis - Romain Le Merlus # Mathavarajan Sugumaran diff --git a/src/check_centreon_snmp_process b/src/check_centreon_snmp_process index 50f0b267e..c3df74b2d 100644 --- a/src/check_centreon_snmp_process +++ b/src/check_centreon_snmp_process @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Julien Mathis - Romain Le Merlus # Christophe Coraboeuf - Sugumaran Mathavarajan diff --git a/src/check_centreon_snmp_remote_storage b/src/check_centreon_snmp_remote_storage index 52cfd567e..d8ecd13b5 100644 --- a/src/check_centreon_snmp_remote_storage +++ b/src/check_centreon_snmp_remote_storage @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Julien Mathis - Romain Le Merlus # Christophe Coraboeuf - Sugumaran Mathavarajan @@ -279,10 +279,10 @@ if (($Size =~ /([0-9]+)/) && ($AllocationUnits =~ /([0-9]+)/)){ print " Go USED: " . $pourcent . "% : "; printf("%.3f", $Used); print " Go"; - my $size_o = $Used * 1073741824; - my $warn = $opt_w * $size_o; - my $crit = $opt_c * $size_o; - print "|size=".$lastTot."o used=".$size_o.";".$warn.";".$crit; + my $size_o = $Used * 1073741824; + my $warn = $opt_w * $size_o; + my $crit = $opt_c * $size_o; + print "|size=".$lastTot."o used=".$size_o.";".$warn.";".$crit; print "\n"; exit $return_code; } else { diff --git a/src/check_centreon_snmp_traffic b/src/check_centreon_snmp_traffic index 66ba8c9cd..21d150787 100644 --- a/src/check_centreon_snmp_traffic +++ b/src/check_centreon_snmp_traffic @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Julien Mathis - Romain Le Merlus # Christophe Coraboeuf - Sugumaran Mathavarajan diff --git a/src/check_centreon_snmp_value b/src/check_centreon_snmp_value index 4739d34b3..8bbb424fd 100644 --- a/src/check_centreon_snmp_value +++ b/src/check_centreon_snmp_value @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Julien Mathis - Romain Le Merlus # Christophe Coraboeuf - Sugumaran Mathavarajan diff --git a/src/traps/plugins/fill_trapDB b/src/traps/plugins/fill_trapDB index aa6932212..ee3aabed4 100644 --- a/src/traps/plugins/fill_trapDB +++ b/src/traps/plugins/fill_trapDB @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Mathavarajan Sugumaran - msugumaran@merethis.com # Julien Mathis - Romain Le Merlus diff --git a/src/traps/plugins/genSnmpttConfFile b/src/traps/plugins/genSnmpttConfFile index 8837ae41e..310d6f5f8 100644 --- a/src/traps/plugins/genSnmpttConfFile +++ b/src/traps/plugins/genSnmpttConfFile @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Mathavarajan Sugumaran - msugumaran@merethis.com # Julien Mathis - Romain Le Merlus diff --git a/src/traps/plugins/trapHandler b/src/traps/plugins/trapHandler index 1ffe6d4e7..0fa3cab0d 100644 --- a/src/traps/plugins/trapHandler +++ b/src/traps/plugins/trapHandler @@ -2,7 +2,7 @@ ################################################################### # Oreon is developped with GPL Licence 2.0 # -# GPL License: http://www.gnu.org/licenses/gpl.txt +# GPL License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt # # Developped by : Mathavarajan Sugumaran - msugumaran@merethis.com # Julien Mathis - Romain Le Merlus