Go to All Forums

Seek for HP ILO Monitoring

it would be very interesting to have a plugin for monitoring HP ILOS

Disk controllers and physical state of the server.

Best Regards

Like (5) Reply
Replies (9)

I would agree with this. Other competitors do it pretty much out of the box. Solarwinds does it which is who we currently use. This is a huge drawback to an almost perfect system for us. If we were able to monitor hardware it would make all the difference.

Like (0) Reply

Hi Amo

We already have a plugin for HP iLO monitors.

Please refer this community post or our documentation to download the script.

Let us know for any further queries.

 

Regards,

Anita

Like (0) Reply

Hi

I think I'm missing something.

The string from  SNMPUtil.py - which i get by uncommenting print(snmp_command) - is:

snmpwalk -O q -v 2c -c public "theILOip" cpqDriveArray -M cpqida.mib

When I execute it I get:
cpqDriveArray: Unknown Object Identifier (Sub-id not found: (top) -> cpqDriveArray)

When I execute it with the doted OID  .1.3.6.1.4.1.232.3.2.5.1.1.37

snmpwalk -O q -v 2c -c public "theILOip" .1.3.6.1.4.1.232.3.2.5.1.1.37 -M cpqida.mib

I get a response.

So what am I missing on nodename vs. doted.

Thanks for an advice.

KR

Alex

 

Like (0) Reply

Hi Alex,

MIB file is used to interpret the OID names to their corresponding OID values. MIB files varies with each versions of the hardware.

Both OIDs and the names will works if the MIB file used is the correct one. When the node name is not available in the MIB, or when it cannot read the MIB file, it will throw the exception  'Unknown Object Identifier'.

Sometimes, new managed objects will be defined for a recent version and it will not be available for the old versions. But the OIDs will not change. Each versions will have the unique OIDs if its a new object and the existing OIDs will not change.

That's the reason, you are getting the response while using the OIDs and not when using the names. 

To resolve this, make sure you use MIB you got bundled with the version of your product. 

 

Hope that helps!

 

Thanks

Anita

Like (0) Reply

I am also running into this issue. I am trying to use the hpilo plug ins and I am using the MIBs in the github repo, but I continue to get a similar error when running the iloraid.py. Also, I had to update the script to use the subprocess module rather than the outdated Commands module. We are currently evaluating and the documentation/support has not been great. 

For example the www.site24x7.com/plugins/hp-ilo-monitoring.html talks about Linux exclusively and does not mention Windows. Also, the correct MIB set up is not specified. I specified the MIB location in the script but it seems to only look in the default location. I worked around this by putting the MIB files in that directory but I get the error in this thread. 

Like (0) Reply

6 days, no response from the forum mods or support. Are these plugins going to be updated? Can you guys provide more info on how to get these to work, do you have a specific version of python? Can you create a requirements.txt so users have all dependencies needed?

Like (0) Reply

Hi

Sorry for the inconvenience. We are in the process of updating all our hardware plugin from using commands to subprocess. We'll also be updating the plugins in git to lookup both for the managed object name and its OID when its not able to interpret properly, which will resolve your issue.

In the meanwhile, you can try custom SNMP monitoring to monitor your HP ILO.

Navigate to Network > Device Templates and toggle to the Global Templates option. In the list of global templates, open the template HP iLO Server and then click Import. The template will be imported to the Custom Templates. Now, you can add or delete some performance counters in the template as per your requirements. Refer to the below video for more:

Now, add an agentless server monitor, and while entering the IP address/Hostname & display name during discovery, choose the Device Template - HP iLO Server from the list and then proceed to discover the monitor.

The added performance counters will be displayed as Tables under the Tabular performance counters section of the monitor.

Please feel free to get back to us for further queries.

 

Regards,

Anita

Like (0) Reply

I have created my own script based ILO monitor that uses an HP Powershell library to connect to the ILO locally and not via SNMP (far more secure). Note, this is only for Gen10 Proliant servers.

If you need the Gen 8/9 send me a not, i have a custom one for that as well (snmp based via powershell)

 

To use please first install the powershell module from an elevated powershell prompt:
        Install-Module -Name HPESysInfoCmdlets

If installation fails, this is probably because the nuget is not current. Use the commands below:

    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    Install-PackageProvider Nuget –force –verbose
    Install-Module –Name PowerShellGet –Force

(close the powershell window ,reopen an elevated powershell window and try again)

    Install-Module -Name HPESysInfoCmdlets

 

Drop the folder in the attached zip file in your winagent\monitoring\plugins folder and it should come up in a minute

Attachments
HPE-Gen10.zip
Size: 1.5 KB
Like (0) Reply

Hi,

Thank you for contributing to Site24x7 Plugins.

I request you to post the plugin in Site24x7 Plugins Github from where all the users can directly download and use it. Please follow this KB on how to add the plugins in github.

 

We will review the pull request and merge it in the repository directly.

Regards

Anita

Like (0) Reply

Was this post helpful?