change macro

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12201 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Sylvestre Ho 2011-05-06 07:51:29 +00:00
parent c532b9eca4
commit 1afd018421
1 changed files with 1 additions and 1 deletions

View File

@ -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 "") {