diff --git a/centreon-plugins/src/check_centreon_snmp_value b/centreon-plugins/src/check_centreon_snmp_value index 683eab7d6..1e814d8f5 100644 --- a/centreon-plugins/src/check_centreon_snmp_value +++ b/centreon-plugins/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 "") {