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 Custom Table Value lookup

Votes:

0

Hi,

In step 4 of the KB article https://kb.paessler.com/en/topic/68539-what-can-i-monitor-with-the-snmp-custom-table-sensor it says to set the Sensor Channel #1 setting to "Value Lookup" in the pull down menu, and then to set the value for "Sensor Channel #1 Value Lookup" to "prtg.custom.ifoperstatus" <- however, this isn't listed as an option in either the demo environment, or in the production environment, running 19.4.54.1506. We just have "prtg.standard" options. What can we do here? We're trying to look up interfaces operational status and alert if the interface is up, but not down.

prtg snmp-custom-sensor-advance snmp-custom-table

Created on Dec 19, 2019 7:24:57 PM



1 Reply

Votes:

0

Hi John,

It is also mentioned there that this lookup has to be created first ;)

Anyway, this would be the lookup file:

<?xml version="1.0" encoding="UTF-8"?>
  <ValueLookup id="prtg.custom.ifoperstatus" desiredValue="1" undefinedState="Warning">
    <Lookups>
      <SingleInt state="Ok" value="1">
        up
      </SingleInt>
      <SingleInt state="Error" value="2">
        down
      </SingleInt>
      <SingleInt state="Warning" value="3">
        testing
      </SingleInt>
      <SingleInt state="None" value="4">
        unknown
      </SingleInt>
      <SingleInt state="Error" value="5">
        dormant
      </SingleInt>
      <SingleInt state="Error" value="6">
        notPresent
      </SingleInt>
      <SingleInt state="Error" value="7">
        lowerLayerDown
      </SingleInt>
    </Lookups>
  </ValueLookup>

Save that as prtg.custom.ifoperstatus.ovl in PRTG's installation path in subfolder "\lookups\custom", then you'll have it at your disposal. In case you're wondering about the values, ifOperStatus can have 7 possible return values, see also here.

Kind regards,

Erhard

Created on Dec 20, 2019 8:14:30 AM by  Erhard Mikulik [Paessler Support]

Last change on Dec 20, 2019 8:14:47 AM by  Erhard Mikulik [Paessler Support]




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.