WMI/WQL querying of HP boxes with Insight Manager

Anthony Montibello amontibello at gmail.com
Sat May 30 05:46:24 CEST 2009


WMI takes a while to navigate and learn,

You should just read through the nodes using a viewer as well as other
detailed resources.
Remember not all values in WMI are usefull, many items are RAW and there is
a different node to get Formated.
Also not all values are readable strings, like IP address under Network is
an array while I would have expected it to be a string
WMI does interact directly with HArdware, so general queries to Physical
disk or Logical Disk may induce turning the Floppy/CD drives.

The best resource for monitoring Standard things is to go to Microsofts web
site and search there

the Microsofts WMI documentation is found on MSDN.microsoft.com  in the MSDN
library under WMI SDK
(or at least that was were it was last time I referenced it) there is specs
on all the Standard Windows WMI functions/properties whatever they are
called.

Also on vista there is a built in WMI viewer if you can figure out how to
use it. I personally found it a headache.

TOny (Author of NC_NEt a WIndows Monitoring plugin)

On Fri, May 29, 2009 at 12:14 PM, Paul Weaver <paul.weaver at bbc.co.uk> wrote:

> While it's not specifically a nagios question, it's related to plugins.
>
> After an afternoon of tearing my hair out, I've confirmed that I really
> hate windows.
>
> However, after finding a nice little package to query WMI from linux
> (wmi-client, it's tied into samba), I had hopes of interrorgating the HP
> Insight Manager we have installed on many boxes.
>
> Unfortunatly I can't find any examples of using WQL to query it, and
> while the information I can get out of windows (number of sticks of
> physical memory), is great for our cmdb, it's not something I really
> want to monitor with nagios.
>
> Has anyone got any experience with using WMI, specifically in talking to
> HP?
>
> (I want to monitor some boxes that I can't install anything on, even
> snmp, let alone npre or our own agents)
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090529/deccdae4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
-------------- next part --------------
_______________________________________________
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