fix #1401
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@11004 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
ec53d6816e
commit
4c2e2de6b5
|
@ -61,14 +61,13 @@ our @ISA = qw(Exporter);
|
|||
our @EXPORT_OK = qw(get_parameters);
|
||||
our @EXPORT = @EXPORT_OK;
|
||||
|
||||
my $params_file = "centreon.conf";
|
||||
my $params_file = "@NAGIOS_PLUGINS@/centreon.conf";
|
||||
my @ds = ("a","b","c","d","e","f","g","h","i","j","k","l");
|
||||
|
||||
###############################################################################
|
||||
# Get all parameters from the ini file
|
||||
###############################################################################
|
||||
sub get_parameters {
|
||||
$params_file = "@NAGIOS_PLUGINS@/$params_file";
|
||||
unless (-e $params_file) {
|
||||
print "Unknown - In centreon.pm :: $params_file :: $!\n";
|
||||
exit $ERRORS{'UNKNOWN'};
|
||||
|
|
Loading…
Reference in New Issue