This plugin requires the linux implementation of wmic eg fro

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

This plugin requires the linux implementation of wmic eg fro

Post by bosecorp »

I am getting this error in all my windows server

This plugin requires the linux implementation of wmic eg from zenoss.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: This plugin requires the linux implementation of wmic eg

Post by tmcdonald »

Can you provide a bit more detail?

What checks are these for? (WMI, NSClient, NCPA, etc)
What plugin is this check using?
Is this for *all* Windows checks or just certain ones?
Can you provide a screenshot?
Former Nagios employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: This plugin requires the linux implementation of wmic eg

Post by bosecorp »

Seems to be only certain windows

it's WMI

it's for all Windows check configured for any given device
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: This plugin requires the linux implementation of wmic eg

Post by tgriep »

Are you trying to run the check_wmi_plus plugin from one of your remote workers?

You can go to these sites to get that tool.

Code: Select all

http://rpm.pbone.net/
or the source from here
http://www.aldeid.com/wiki/Wmic-linux
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: This plugin requires the linux implementation of wmic eg

Post by bosecorp »

No, I am doing it from the JOB server
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: This plugin requires the linux implementation of wmic eg

Post by jdalrymple »

wmic should be in your /usr/local/bin directory if XI was installed with all the defaults.

Code: Select all

[jdalrymple@localhost etc]$ which wmic
/usr/local/bin/wmic
[jdalrymple@localhost etc]$ ls -l /usr/local/bin/wmic
-rwxr-xr-x. 1 root root 14188908 Dec  1  2011 /usr/local/bin/wmic
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: This plugin requires the linux implementation of wmic eg

Post by bosecorp »

made some progress. I know I am getting this error

MODULE_NAME INSTALLED_VERSION STATUS DESIRED_VERSION
Config::IniFiles 2.56 BAD 2.58
Perl Version 5.010001 ok 5.01
Getopt::Long 2.38 ok 2.38
DateTime 0.53 BAD 0.66
Number::Format 1.73 ok 1.73
Data::Dumper 2.124 BAD 2.125
Scalar::Util 1.21 BAD 1.22
Storable 2.20 BAD 2.22
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: This plugin requires the linux implementation of wmic eg

Post by cmerchant »

You need to update these Perl modules pre-req's for wmic. Use either yum install or cpanm.

Config::IniFiles 2.56 BAD 2.58
DateTime 0.53 BAD 0.66
Data::Dumper 2.124 BAD 2.125
Scalar::Util 1.21 BAD 1.22
Storable 2.20 BAD 2.22
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: This plugin requires the linux implementation of wmic eg

Post by bosecorp »

that is going to be a problem the worker is being firewall.

how I can get all the rpm packages I need manually
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: This plugin requires the linux implementation of wmic eg

Post by cmerchant »

Is this for a RHEL or CentOS server? Can you download them from outside the firewall, and then copy them via secure copy?
Locked