From d88f7017bd9bdc464caf61f0cf44cd00ba42e4c1 Mon Sep 17 00:00:00 2001 From: Sylvestre Ho Date: Fri, 6 May 2011 07:51:29 +0000 Subject: [PATCH] change macro git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12201 6bcd3966-0018-0410-8128-fd23d134de7e --- src/check_centreon_snmp_value | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_centreon_snmp_value b/src/check_centreon_snmp_value index 683eab7d6..1e814d8f5 100644 --- a/src/check_centreon_snmp_value +++ b/src/check_centreon_snmp_value @@ -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 "") {