Menu

Polling Dell OpenManage

Help
Si Co
2008-04-26
2013-04-25
  • Si Co

    Si Co - 2008-04-26

    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 <clientserver> -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, I'm having a look at the samplepassive.cfg at the moment, any pointers would be greatly appreciated.

    Thanks
    Simon

     
    • tony

      tony - 2008-04-27

      There is the file Commands.txt
      In there is a list of all commands of NC_Net.

      The  WMI Check was initially desighed as a ENUMERATION command
      Not as a service check.
      The WMICOUNTER, and WMICAT, were designed for Numbers and text respectfully.
      THE WMICAT_NEW is a newer version of the WMICAT the syntex of all these commands is in the command line help of check_nc_net.c

      Asside from WMI, are there perfromance COunters?
      IF OMSA has a command line tool you can use runscript to access it and parse its output.

      TOny (author of NC_NEt)

       
    • Rudolf

      Rudolf - 2008-04-27

      hi

      i am checking my dell server by using the runscript funktion.

      on this page
      http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=61
      you can download a script that is polling the information from your OMSA.

      otherwise you could find over here
      http://www.nagiosexchange.org/cgi-bin/search.cgi?d=1&catid=25&query=dell&Go=Go

      some more scrips than runs with check_nt and the runscript funktion.

      you just have to save the script somewhere (for example C:\Service\dell\check_dell.exe)
      then write a small check_dell.bat in your runscriptdirictory that looks like this

      @echo off
      c:\service\dell\check_dell.exe --storage --path c:\where\is\my\omreport.exe

      have fun
      rudolf

       
      • tony

        tony - 2008-04-27

        most  EXE files do not need a bat wrapper, they can be called directly from RUnscript IF they can be relocated to the NC_NET script folder and still function properly. Also the "do_not_blaim_nc_net" needs to be true to enable passing the command arguments to the file.
        for the runscript command relative paths using ".." are removed by NC_NEt before trying to process the command, But Absolute paths and network paths have NOT been tested.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.