mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +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
|
# 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
|
# Developped by : Mathavarajan Sugumaran - msugumaran@merethis.com
|
||||||
# Julien Mathis - Romain Le Merlus
|
# Julien Mathis - Romain Le Merlus
|
||||||
@ -76,7 +76,7 @@ sub main() {
|
|||||||
print FILE "EVENT ".$values[0]." ".$values[1]." \"Status Event\" ".$values[2]."\n";
|
print FILE "EVENT ".$values[0]." ".$values[1]." \"Status Event\" ".$values[2]."\n";
|
||||||
if (defined($values[3])) {
|
if (defined($values[3])) {
|
||||||
print FILE "FORMAT ".$values[3]."\n";
|
print FILE "FORMAT ".$values[3]."\n";
|
||||||
}else {
|
} else {
|
||||||
$values[3] = "no output for trap!";
|
$values[3] = "no output for trap!";
|
||||||
}
|
}
|
||||||
print FILE "EXEC ".$NAGIOS_TRAPS."trapHandler \$aA \$A \$o \"$values[3]\"\n";
|
print FILE "EXEC ".$NAGIOS_TRAPS."trapHandler \$aA \$A \$o \"$values[3]\"\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user