ctsFileErrNotifReason

CISCO-TRUSTSEC-MIB · .1.3.6.1.4.1.9.9.730.1.6.1

Object

scalar Enumeration
This object indicates the reason file error related
notification was generated.
          
'openFailedForWrite' - System failed to open a file to
                       write TrustSec information.
'writeFailed'        - System failed to write TrustSec 
                       information to a file.
'openFailedForRead'  - System failed to open a file to
                       read TrustSec information.
'readFailed'         - System failed to read TrustSec
                       information from a file.
'badMagic'           - A bad magic number was encountered 
                       for a TrustSec file.
'unexpectedEof'      - A record of unexpected length is found in
                       TrustSec file.
'badHeader'          - Bad file header was encountered for a
                       TrustSec file.

Context

MIB
CISCO-TRUSTSEC-MIB
OID
.1.3.6.1.4.1.9.9.730.1.6.1
Type
scalar
Access
notifyonly
Status
current
Parent
ctsNotifsInfoObjects
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-TRUSTSEC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-TRUSTSEC-MIB::ctsFileErrNotifReason.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-TRUSTSEC-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-TRUSTSEC-MIB::ctsFileErrNotifReason'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1openFailedForWrite
2writeFailed
3openFailedForRead
4readFailed
5badMagic
6unexpectedEof
7badHeader