mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
indompte code
git-svn-id: http://svn.centreon.com/trunk/plugins@3279 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
edbb856552
commit
dcce7ee0fb
@ -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
|
||||
@ -76,7 +76,7 @@ sub main() {
|
||||
print FILE "EVENT ".$values[0]." ".$values[1]." \"Status Event\" ".$values[2]."\n";
|
||||
if (defined($values[3])) {
|
||||
print FILE "FORMAT ".$values[3]."\n";
|
||||
}else {
|
||||
} else {
|
||||
$values[3] = "no output for trap!";
|
||||
}
|
||||
print FILE "EXEC ".$NAGIOS_TRAPS."trapHandler \$aA \$A \$o \"$values[3]\"\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user