check_wmi_plus nagiosxi informational (null)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_wmi_plus nagiosxi informational (null)

Post by scottwilkerson »

scottwilkerson wrote:
CBoekhuis wrote: ll /usr/local/nagios/libexec/check_wmi*
-rwxr-xr-x 1 nagios nagios 2514 Mar 1 14:50 check_wmi_plus.conf
-rwxrwxr-x 1 nagios nagios 232495 Feb 10 17:27 check_wmi_plus.pl
Looking back at your first post you don't appear to have a check_wmi_plus.ini file which should get installed with the wizard.
Also, I was looking at my file sizes after freshly installing the wizard and I mine are quite different than yours, so either they are different files or have been modified

Code: Select all

[root@localhost libexec]# ll |grep wmi
-rwxr-xr-x 1 nagios users    2405 Mar  2 10:54 check_wmi_plus.conf
-rwxr-xr-x 1 nagios users   46543 Mar  2 10:54 check_wmi_plus.ini
-rwxr-xr-x 1 nagios users  237155 Mar  2 10:54 check_wmi_plus.pl
Finally, you first post has a command definition that is different than the one you displayed in the screenshot, as well as the following shows no template whereas the screenshot does.
CBoekhuis wrote:define service {
host_name someserver.somedomain.nl
service_description CPU Usage
check_command check_xi_service_wmiplus!<username>!<password>!checkcpu!-w 80 -c 90!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
notification_interval 60
first_notification_delay 0
notification_options w,u,r,c,f,s
notifications_enabled 1
_xiwizard windowswmi
register 1
}

If we are going to be able to help you we at the very least are going to need consistent data as well as know what you have changed on the system and with the plugins.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
CBoekhuis
Posts: 220
Joined: Tue Aug 16, 2011 4:55 am

Re: check_wmi_plus nagiosxi informational (null)

Post by CBoekhuis »

Hi Scott,

sorry for mij late reaction , i was driving home.
It is correct that the command and the template are different in the given posts but tnhe result was the same (I was testing some options).
Anyway i have managed to solve the problem due to you reply. You triggerd me when you
I was looking at my file sizes after freshly installing the wizard
and discoverd that rerun the "Config managed Wizard" does nog reinstall the mentioned files. We had once intall an older version.
I have solved this issue bij remove bij hand all check_wmi_plus* (i renamed then to be sure ;) ) end than reinstall the plugins. Job done.
So thanx a lot for you help. This issue can be closed.

Have a nice weekend.
Christian
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: check_wmi_plus nagiosxi informational (null)

Post by yancy »

CBoekhuis wrote:Hi Scott,

sorry for mij late reaction , i was driving home.
It is correct that the command and the template are different in the given posts but tnhe result was the same (I was testing some options).
Anyway i have managed to solve the problem due to you reply. You triggerd me when you
I was looking at my file sizes after freshly installing the wizard
and discoverd that rerun the "Config managed Wizard" does nog reinstall the mentioned files. We had once intall an older version.
I have solved this issue bij remove bij hand all check_wmi_plus* (i renamed then to be sure ;) ) end than reinstall the plugins. Job done.
So thanx a lot for you help. This issue can be closed.

Have a nice weekend.
Christian
Locked