done
now I am getting this error
root@gearmandce1:(03-26 19:20): /root
# /usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxxxx.com -u 'us_nt_bose\svcnagios' -p 'password' -m checkcpu -w '80' -c '90'
UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host usmadcops01.bose.com might just be really busy, it might not even be running Windows.
by the way, I am getting this errors on one of the workers
can WMI check run on workers or only in the JOB server
This plugin requires the linux implementation of wmic eg fro
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: This plugin requires the linux implementation of wmic eg
It is possible to run anywhere, however you'll have to copy your conf and ini file to the worker servers.
Can you verify connectivity to the host?
Can you verify connectivity to the host?
Code: Select all
telnet usmadcops01.bose.com 135Re: This plugin requires the linux implementation of wmic eg
root@gearmandcn1:(03-27 11:58): /root
# telnet usmadcops01.bose.com 135
Trying 10.100.21.134...
Connected to usmadcops01.bose.com.
Escape character is '^]'.
and I did put the copy if the INI and conf in the workers
# telnet usmadcops01.bose.com 135
Trying 10.100.21.134...
Connected to usmadcops01.bose.com.
Escape character is '^]'.
and I did put the copy if the INI and conf in the workers
Re: This plugin requires the linux implementation of wmic eg
Did you enable WMI on your windows server?
Here are the instructions for doing that.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Here are the instructions for doing that.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: This plugin requires the linux implementation of wmic eg
Yes and it;s running
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: This plugin requires the linux implementation of wmic eg
You wondered if it would only work from the Job server, the answer is no, any server should be able to run check_wmi_plus.pl - as mentioned. The corollary question I have is does it work currently from the job server but not from the worker server?
Re: This plugin requires the linux implementation of wmic eg
I tried from the worker and same
this is the error I get
UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host usmasblts05.bose.com might just be really busy, it might not even be running Windows.
this is the error I get
UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host usmasblts05.bose.com might just be really busy, it might not even be running Windows.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: This plugin requires the linux implementation of wmic eg
The check_wmi_plus.pl script is very reliable when the proper permissions and firewall rules are in place.
I suggest you try the following:
1) You could try to add the user account you're using to local administrators on the server temporarily to see if that solves the problem)
2) Try the steps in the document tmdonald shared (see below) on a fresh windows server (not joined to your domain) to verify that there are no domain policies being pushed down that are denying remote WMI access
If neither of those work then potentially there is something wrong with your Nagios server, but right now the errors you're sharing lead me to believe that it is a configuration problem on the Windows side which we can't really help with outside of our documentation indicating how to configure your Windows accounts for WMI access.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
I suggest you try the following:
1) You could try to add the user account you're using to local administrators on the server temporarily to see if that solves the problem)
2) Try the steps in the document tmdonald shared (see below) on a fresh windows server (not joined to your domain) to verify that there are no domain policies being pushed down that are denying remote WMI access
If neither of those work then potentially there is something wrong with your Nagios server, but right now the errors you're sharing lead me to believe that it is a configuration problem on the Windows side which we can't really help with outside of our documentation indicating how to configure your Windows accounts for WMI access.
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Re: This plugin requires the linux implementation of wmic eg
if I moved the client to the job SERVER WORKS. but it does not work from the worker
Re: This plugin requires the linux implementation of wmic eg
Can you ping the windows server from your gearman worker system?
Check the firewall on the Windows system to see if it is blocking your gearman worker system.
Check the firewall on the Windows system to see if it is blocking your gearman worker system.
Be sure to check out our Knowledgebase for helpful articles and solutions!