wtPhysPorts
Com-Server-Intern-MIB ·
.1.3.6.1.4.1.5040.1.1.1.1.8
Object
scalar mandatory
Integer32
Displays the total number of ports available in the Com-Server (RS232 port, digital I/O port, ...).
Context
- MIB
- Com-Server-Intern-MIB
- OID
.1.3.6.1.4.1.5040.1.1.1.1.8- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- wtSystem
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Com-Server-Intern-MIB' -M '/opt/observium/mibs/webgraph:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Com-Server-Intern-MIB::wtPhysPorts.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Com-Server-Intern-MIB' -M '/opt/observium/mibs/webgraph:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Com-Server-Intern-MIB::wtPhysPorts'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4