Wmi login trouble
Posted: Fri May 02, 2014 8:42 am
Hi, in the same network i have some server that works ok with wmi, some other i get this error:
UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
but with the same user and password it works if i try from Configure->service->some check->Test check command
ouch!
also works if i try directly from linux with the command:
/usr/local/nagios/libexec/check_wmi_plus.pl -w _Total=1:1 -c 0 -H server -u 'domain\user' -p 'password' -m checkservice -a 'service'
also works
sudo -u nagios /usr/local/nagios/libexec/check_wmi_plus.pl -w _Total=1:1 -c 0 -H server -u 'domain\user' -p 'password' -m checkservice -a 'service'
any ideas?
UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
but with the same user and password it works if i try from Configure->service->some check->Test check command
ouch!
also works if i try directly from linux with the command:
/usr/local/nagios/libexec/check_wmi_plus.pl -w _Total=1:1 -c 0 -H server -u 'domain\user' -p 'password' -m checkservice -a 'service'
also works
sudo -u nagios /usr/local/nagios/libexec/check_wmi_plus.pl -w _Total=1:1 -c 0 -H server -u 'domain\user' -p 'password' -m checkservice -a 'service'
any ideas?