diff --git a/centreon/plugins/statefile.pm b/centreon/plugins/statefile.pm index 6efcb2aeb..c165931cf 100644 --- a/centreon/plugins/statefile.pm +++ b/centreon/plugins/statefile.pm @@ -27,6 +27,9 @@ use vars qw($datas); use centreon::plugins::misc; my $default_dir = '/var/lib/centreon/centplugins'; +if ($^O eq 'MSWin32') { + $default_dir = 'C:/Windows/Temp'; +} sub new { my ($class, %options) = @_;