hwLoadBackupResult

HUAWEI-LOAD-BACKUP-MIB · .1.3.6.1.4.1.2011.6.6.7.1

Object

The result of load/backup.
The value 0 means 'No error';
The value 6561510 means 'Failed to transfer the file';
The value 6561553 means 'Username or password error';
The value 6561620 means 'The server is unreachable';
The value 6561623 means 'Failed to operate the remote file';
The value 6561625 means 'The SSH key is incorrect';
The value 6561626 means 'The path does not exist';
The value 6561627 means 'The file does not exist'.

Context

MIB
HUAWEI-LOAD-BACKUP-MIB
OID
.1.3.6.1.4.1.2011.6.6.7.1
Type
scalar
Access
notifyonly
Status
current
Parent
hwLoadBackupTrapsVbOids

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647