Summary
- Last UpdatedFeb 13, 2023
- 1 minute read
- PI System
- PI Interface for SNMP 1.7.0.37
- Interfaces
-
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
-
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.
-
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 …
-
The Extended Descriptor need not contain the host= specification because all data comes from the router specified by -device= on the startup command line.
-
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.
-
PI SNMP groups all tags into sets, regardless of the value of Location3.
-
The router must support the OID
system.sysUptime.0
Otherwise, PI SNMP exits.
-
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.