first hrSWInstalledIndex is 0, should be 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Medium
|
Christian Ehrhardt |
Bug Description
According to RFC 2790 the hrSWInstalledIndex should start at 1:
hrSWInstalled
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique value for each piece of software installed
on the host. This value shall be in the range from 1
to the number of pieces of software installed on the
host."
::= { hrSWInstalledEntry 1 }
However, when grabbing the hrSWInstalledTable, my first entry is at index 0.
Example:
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -ObentU localhost 1.3.6.1.2.1.25.6.3
.1.3.6.
For a CentOS 6 host the behavior is according to spec:
$ snmpbulkget -v2c -c public -Cn1 -Cr1 -ObentU centos6_
.1.3.6.
I found this issue while trying to read HOST-RESOURCES-
ConstraintsInte
---
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
DistroRelease: Ubuntu 13.10
InstallationDate: Installed on 2011-04-30 (1095 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MarkForUpload: True
Package: net-snmp (not installed)
ProcVersionSign
Tags: saucy
Uname: Linux 3.11.0-19-generic x86_64
UpgradeStatus: Upgraded to saucy on 2013-10-18 (194 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin netdev plugdev sambashare wireshark
Changed in net-snmp (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: server-next |
Changed in net-snmp (Ubuntu): | |
assignee: | nobody → ChristianEhrhardt (paelzer) |
status: | Confirmed → In Progress |
apport information