shinken-monitoring / pack-windows

Shinken configuration pack for Windows hosts
3 stars 6 forks source link

UNKNOWN - The WMI query had problems #10

Open jimbowarrior opened 9 years ago

jimbowarrior commented 9 years ago

Hello,

I installed Shinken 2.4 from fresh Debian 8 install. I installed perl module with cpan install Config::IniFiles Data::Dumper Getopt::Long DateTime Scalar::Util Storable

but I get a error message from wmi : ./check_wmi_plus.pl -H 10.100.0.85 -u domaine/user -p Password -m checkmem -w 80 -c 90 = UNKNOWN - The WMI query had problems. The error text from wmic is: /var/lib/shinken/libexec/wmic: 1: /var/lib/shinken/libexec/wmic: Syntax error: word unexpected (expecting ")")

I tried with the last pl script from : http://www.edcint.co.nz/checkwmiplus/ but same error

Have you a idea ?

Thanks