checking wmi with Linux (and not using NSClient++)

Hari Sekhon hpsekhon at googlemail.com
Wed Nov 21 11:42:31 CET 2007


Roger wrote:
> I'm looking for a Linux-based tool that will let me making simple WMI
> queries on a Windows server.
>
> Yes, I know that I can use NSClient++ (or equivalent) on the Windows
> server to listen for my check_npre commands, but I'm hoping that there
> is a "quick and dirty" *nix-based tool that will let me do this
> without having to resort to always having to install NSClient++.
>   
I've also been looking at this recently, and it looks like things like 
wbemcli can be used from linux, but iirc this requires a wmi gateway 
which means installing some server software, and this is much more 
hassle than just using nsclient++. A couple of open source wbem gateways 
that I came across were OpenWbem and OpenPegasus, although I've not had 
time to try either yet so I can't vouch for how good they are.

Although relying on nsclient++ is not as pure as just a straight wmi 
query, you only really need 1 nsclient++ installation, from which you 
can run wmi queries against any number of windows machines on your network.

I am also very interested in this stuff at the moment, so please let me 
know what you figure out on this.

-h

-- 
Hari Sekhon


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list