Credential Group
- Last UpdatedFeb 13, 2023
- 1 minute read
- PI System
- PI Interface for SNMP 1.7.0.37
- Interfaces
To handle multiple community strings (SNMPv1 and SNMPv2c) or multiple User\Passwords (SNMPv3) for the same host, add the credential group (CG) identifier into the point's Extended Descriptor. For example, to read the OID =.1.3.6.1.2.1.1.3.0 with CS =public and OID =.1.3.6.1.2.1.2.1.0 with CS=private from the same device (host =1.2.3.4), specify:
Point1 (Extended Descriptor): OID=.1.3.6.1.2.1.1.3.0; CG=1;
Point2 (Extended Descriptor): OID=.1.3.6.1.2.1.2.1.0; CG=2;
Also, have two blocks in the pisnmp#.pwd file, each having a unique credential group CG definition:
host=1.2.3.4;
CG=1;
V=1;
CS=public;
host=1.2.3.4;
CG=2;
V=1;
CS=private;