What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

SNMP HP System Health - Disk Controller Status Alerts

Votes:

0

Hi,

Using SNMP HP System Health sensor to monitor iLO - the Disk Controller Status is Degraded which has put the sensor into Warning mode.

Is there anyway of setting this so it goes into Error mode? We would consider a degraded raid card a big deal.

Thank you

alerts hp lookup system-health

Created on Oct 24, 2016 4:17:01 AM

Last change on Oct 24, 2016 1:13:35 PM by  Luciano Lingnau [Paessler]



1 Reply

Accepted Answer

Votes:

0

Hello there, we appreciate your KB-Post.

The observed behavior is expected. Please note that as some other channels from this sensor, it uses the "prtg.standardlookups.hp.status" lookup-file for status-evaluation:

      <SingleInt state="None" value="1">Other</SingleInt>
      <SingleInt state="Ok" value="2">OK</SingleInt>
      <SingleInt state="Warning" value="3">Degraded</SingleInt>
      <SingleInt state="Error" value="4">Failed</SingleInt>

PRTG is receiving the value 3 as the result from an SNMP Query, the prtg.standardlookups.hp.status lookup-file is responsible to translate theses integer values to a PRTG-compatible status.

Performing the suggested change should be simple, please refer to these instructions:

  • 1. Head to the sensor's overview, click on the mentioned channel Disk Controller Status and check the Value Lookup field. It will most likely be set to prtg.standardlookups.hp.status
  • 2. In the server were your PRTG Core Server runs, head to C:\Program Files (x86)\PRTG Network Monitor\lookups\ and locate the file called prtg.standardlookups.hp.status.ovl.
  • 3. Copy said file to the \custom\ sub-folder. This prevents the file from being overwritten when you update PRTG.
  • 4. Edit the file and modify the lookup, so that the line that refers to the "Degraded" status looks like the following:
      <SingleInt state="Error" value="3">Degraded</SingleInt>
  • 5. Head back to PRTG's web-interface, within Setup > Administrative Tools perform a Re-Load Lookups.
  • 6. The sensor will re-evaluate it's lookups on the next scanning interval, on which it should swich from Warning to Down(Error).

    These instructions are generic and apply to any sensor that uses lookups (SNMP printer, SSL Security Check, ...).

Important Notes

  • Please beware that modifying the prtg.standardlookups.hp.status will affect the behavior of ALL sensors and channels that use this lookup. You may want to create a different lookup only for a specific set of sensors and channels, please refer to this guide instead.
  • The Re-load Lookups is mandatory for PRTG to parse and reload any lookups modified since the last restart. If there's a syntax error in the lookup-file, you should get a PRTG Ticket telling you about it.
  • Sometimes when importing a MIB File lookups will be generated automatically, but their status will always be green and the gauge will be grey. Lookups created by SNMP Library sensors have to be adjusted after their creation, their default status is "None":
<?xml version="1.0" encoding="UTF-8"?>
  <ValueLookup id="oid.ups-mib.upsconfig.upsconfigaudiblestatus" desiredValue="1" undefinedState="olsNone">
    <Lookups>
      <SingleInt state="None" value="1">disabled</SingleInt>
      <SingleInt state="None" value="2">enabled</SingleInt>
      <SingleInt state="None" value="3">muted</SingleInt>
    </Lookups>
  </ValueLookup>

More

For further understanding of lookups, please refer to the following:



Best Regards,
Luciano Lingnau [Paessler Support]

Created on Oct 24, 2016 1:02:55 PM by  Luciano Lingnau [Paessler]

Last change on Feb 24, 2017 12:04:36 PM by  Luciano Lingnau [Paessler]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.