Page 2 of 2
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Thu Mar 26, 2015 12:59 pm
by lmiltchev
This particular issue seems to happen often... as it is described under the Check WMI Plus FAQ page.
http://www.edcint.co.nz/checkwmiplus/?q ... eorsubmode
I wonder if you have some intermittent connectivity/network issues as your syntax looks fine and your check only fails sometimes...
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Thu Apr 02, 2015 4:53 am
by litsupport.box
lmiltchev wrote:This particular issue seems to happen often... as it is described under the Check WMI Plus FAQ page.
http://www.edcint.co.nz/checkwmiplus/?q ... eorsubmode
I wonder if you have some intermittent connectivity/network issues as your syntax looks fine and your check only fails sometimes...
Most servers we check are in the same server room so you can imagine this can't really be a network issue i guess?
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Thu Apr 02, 2015 1:04 pm
by lmiltchev
Can you run the following commands and show us the output?
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl --version
grep "version=" /usr/local/nagios/libexec/check_wmi_plus.ini | head -1
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Tue Apr 07, 2015 3:27 am
by litsupport.box
Nagios XI:
Code: Select all
[root@NAGIOSXI ~]# /usr/local/nagios/libexec/check_wmi_plus.pl --version
Version: 1.58
[root@NAGIOSXI ~]# grep "version=" /usr/local/nagios/libexec/check_wmi_plus.ini | head -1
version=1.3
Worker 1:
Code: Select all
[root@WORKER1 ~]# /usr/local/nagios/libexec/check_wmi_plus.pl --version
Version: 1.49
[root@NAGIOSXI ~]# grep "version=" /usr/local/nagios/libexec/check_wmi_plus.ini | head -1
version=1.3
Worker 2:
Code: Select all
[root@WORKER2 ~]# /usr/local/nagios/libexec/check_wmi_plus.pl --version
Version: 1.49
[root@WORKER2 ~]# grep "version=" /usr/local/nagios/libexec/check_wmi_plus.ini | head -1
no response, but when i check the file it says 1.3 too on worker 2
I notice the workers are using an older version of check_wmi_plus.
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Tue Apr 07, 2015 8:48 am
by litsupport.box
I updated the check_wmi_plus on the workers in question, i haven't gotten any errors these past hours. i'll update soon to confirm this worked. They are all using version 1.58.
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Tue Apr 07, 2015 12:33 pm
by lmiltchev
Sounds good! Keep us posted. I will keep this topic open for a while.
Re: A valid MODE and/or SUBMODE must be specified - F/P
Posted: Mon Apr 13, 2015 1:22 am
by litsupport.box
After updating check_wmi_plus this error hasn't shown up. I think the different versions were the problem. Seems to be fixed, topic may close.