I’m trying to poll one of our clients Windows 2003 server which has OMSA installed. I’ve been looking around to see if it’s actually possible to do this via the check_nt plugin which has been recompiled with the additional functions of NC_Net.
Ideally I’d like to poll openmanage sensors such as temps and RAID health via a check_nt poll but i’m not keen on opening up port 161 on the router.
So far I’ve only come up with an active check that sends a query as:
check_nt!WMICHECK! -H -l “cimv2^select name,status from CIM_Fan”
but the result comes back as:
instance of Win32_Fan
{
Name = “Cooling Device”;
Status = “OK”;
};
instance of Win32_Fan
{
Name = “Cooling Device”;
Status = “OK”;
};
instance of Win32_Fan
{
Name = “Cooling Device”;
Status = “OK”;
};
to which Nagios has no idea what to do with the data.
The only other way I could see this working is to have a passive check that runs on the server, but i have no idea on where to start with that.
Apologies in advance if I should be posting this elsewhere
Thanks
Simon