New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


SNMP Custom Table Value lookup

Votes:

0

Your Vote:

Up

Down

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 by  John (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.