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...
A valid MODE and/or SUBMODE must be specified - F/P
Re: A valid MODE and/or SUBMODE must be specified - F/P
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
litsupport.box
- Posts: 80
- Joined: Wed Apr 02, 2014 7:24 am
Re: A valid MODE and/or SUBMODE must be specified - F/P
Most servers we check are in the same server room so you can imagine this can't really be a network issue i guess?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...
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
Re: A valid MODE and/or SUBMODE must be specified - F/P
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 -1Be sure to check out our Knowledgebase for helpful articles and solutions!
-
litsupport.box
- Posts: 80
- Joined: Wed Apr 02, 2014 7:24 am
Re: A valid MODE and/or SUBMODE must be specified - F/P
Nagios XI:
Worker 1:
Worker 2:
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.
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
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
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
I notice the workers are using an older version of check_wmi_plus.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
-
litsupport.box
- Posts: 80
- Joined: Wed Apr 02, 2014 7:24 am
Re: A valid MODE and/or SUBMODE must be specified - F/P
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.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
Re: A valid MODE and/or SUBMODE must be specified - F/P
Sounds good! Keep us posted. I will keep this topic open for a while.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
litsupport.box
- Posts: 80
- Joined: Wed Apr 02, 2014 7:24 am
Re: A valid MODE and/or SUBMODE must be specified - F/P
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.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman