change macro
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12201 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
c532b9eca4
commit
1afd018421
|
@ -136,7 +136,7 @@ if (!$OPTION{'oid'}) {
|
|||
exit $ERRORS{'UNKNOWN'};
|
||||
}
|
||||
|
||||
my $cacheFile = "@CENTREON_VARLIB@/centplugins/snmp_value".$OPTION{'host'}."-".$OPTION{'oid'};
|
||||
my $cacheFile = "@CENTPLUGINS_TMP@/centplugins/snmp_value".$OPTION{'host'}."-".$OPTION{'oid'};
|
||||
|
||||
# Store option values in simpler variables
|
||||
if ($OPTION{'divide'} ne "" && $OPTION{'metric'} ne "" && $OPTION{'unit'} ne "" && $OPTION{'output'} ne "" && $OPTION{'min'} ne "" && $OPTION{'max'} ne "") {
|
||||
|
|
Loading…
Reference in New Issue