Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Interface for SNMP

Summary

  • Last UpdatedFeb 13, 2023
  • 1 minute read
  1. Run one of the following to determine whether the router supports ifAlias:

    snmpwalk -M .\mibs 10.8.10.1 public .1.3.6.1.2.1.31.1.1.1.18

    snmpwalk -M ./mibs 10.8.10.1 public .1.3.6.1.2.1.31.1.1.1.18

  2. Configure PI tags with Extended Descriptors containing

    OID_I=ifInOctets; IFALIAS="ifAlias_name_of_the_interface"

    or

    OID_I=ifOutOctets; IFALIAS="ifAlias_name_of_the_interface"

    The former specifies data collection for inbound traffic while the latter outbound traffic.

    Note: Do not specify the interface index number.

  3. Specify the router by adding -device= to the startup command line. For example, pisnmp -ps=$ -id=1 -host=localhost:5450 -device=10.8.10.1 …

  4. The Extended Descriptor need not contain the host= specification because all data comes from the router specified by -device= on the startup command line.

  5. The Extended Descriptor need not contain the CS= specification because PI SNMP uses the community string in the pisnmp#.pwd file. So, this file must be configured accordingly.

  6. PI SNMP groups all tags into sets, regardless of the value of Location3.

  7. The router must support the OID

    system.sysUptime.0

    Otherwise, PI SNMP exits.

  8. It is still ok to specify non-interfaces tags. For example, a tag can be configured with an Extended Descriptor

    OID=system.sysUptime.0;

    to retrieve the uptime of the router.

Related Links
TitleResults for “How to create a CRG?”Also Available in