BATTERY-MIB
This MIB module defines a set of objects for monitoring
batteries of networked devices and of their components.
Copyright (c) 2015 IETF Trust and the persons identified as
authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).
This version of this MIB module is part of RFC 7577; see
the RFC itself for full legal notices.
- Source file
BATTERY-MIB- Last revised
- Identity
batteryMIB- Base OID
1.3.6.1.2.1.233
Imported Objects
| ENTITY-MIB | entPhysicalIndex |
| SNMP-FRAMEWORK-MIB | SnmpAdminString |
| SNMPv2-CONF | MODULE-COMPLIANCE (no object page) NOTIFICATION-GROUP (no object page) OBJECT-GROUP (no object page) |
| SNMPv2-SMI | Integer32 mib-2 MODULE-IDENTITY (no object page) NOTIFICATION-TYPE (no object page) OBJECT-TYPE (no object page) Unsigned32 |
| SNMPv2-TC | DateAndTime |
Net-SNMP examples using the rfc MIB directory Show commands
These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.
Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BATTERY-MIB::batteryMIB'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BATTERY-MIB::batteryMIB'
Objects (33)
Showing 33 of 33 objects
Object legend
Object type
Icons distinguish tables, entry rows, columns, scalars, and structural nodes.
SNMPv2-TCTruthValue
Syntax
Blue badges identify the value syntax. Connected badges read as defining module and convention.
IF-MIBifIndex
Table index
Green identifies an index object; yellow names its module when the index is defined elsewhere.
r/w
deprecated
obsolete
Access and status
r/w means read-write. Grey labels mark definitions retained for compatibility.
OBS ✓
Observium use
The indicator appears only when Observium directly references that object.
ifOperStatus
.1.3.6.1.2.1…
Names and OIDs
Object names link to their detail pages. Hover or focus a linked name or badge for available definition details.
.1.3.6.1.2.1.233 |
||
.1.3.6.1.2.1.233.0 |
||
.1.3.6.1.2.1.233.1 |
||
.1.3.6.1.2.1.233.1.1 |
||
.1.3.6.1.2.1.233.1.1.1 |
||
.1.3.6.1.2.1.233.1.1.1.1 |
||
|
milliampere hoursSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.10 |
|
.1.3.6.1.2.1.233.1.1.1.11 |
||
.1.3.6.1.2.1.233.1.1.1.12 |
||
|
Enumeration
|
.1.3.6.1.2.1.233.1.1.1.13 |
|
|
Enumeration
|
.1.3.6.1.2.1.233.1.1.1.14 |
|
|
milliampere hoursSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.15 |
|
|
millivoltSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.16 |
|
|
milliampereSNMPv2-SMIInteger32
|
.1.3.6.1.2.1.233.1.1.1.17 |
|
|
deci-degrees CelsiusSNMPv2-SMIInteger32
|
.1.3.6.1.2.1.233.1.1.1.18 |
|
|
milliampere hoursSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.19 |
|
.1.3.6.1.2.1.233.1.1.1.2 |
||
|
millivoltSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.20 |
|
|
milliampere hoursSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.21 |
|
.1.3.6.1.2.1.233.1.1.1.22 |
||
|
deci-degrees CelsiusSNMPv2-SMIInteger32
|
.1.3.6.1.2.1.233.1.1.1.23 |
|
|
deci-degrees CelsiusSNMPv2-SMIInteger32
|
.1.3.6.1.2.1.233.1.1.1.24 |
|
.1.3.6.1.2.1.233.1.1.1.25 |
||
|
Enumeration
|
.1.3.6.1.2.1.233.1.1.1.3 |
|
.1.3.6.1.2.1.233.1.1.1.4 |
||
|
millivoltSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.5 |
|
.1.3.6.1.2.1.233.1.1.1.6 |
||
|
milliampere hoursSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.7 |
|
|
milliampereSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.8 |
|
|
milliampereSNMPv2-SMIUnsigned32
|
.1.3.6.1.2.1.233.1.1.1.9 |
|
.1.3.6.1.2.1.233.2 |
||
.1.3.6.1.2.1.233.2.1 |
||
.1.3.6.1.2.1.233.2.2 |
Dependencies (7) 5 direct · 2 transitive Show tree and compile order Hide dependency details
Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.
Dependency tree
Dependency-first compile order
- SNMPv2-SMIrfc
- SNMPv2-TCrfc
- IANA-ENTITY-MIBrfc
- SNMPv2-CONFrfc
- SNMP-FRAMEWORK-MIBrfc
- UUID-TC-MIBrfc
- ENTITY-MIBrfc
- BATTERY-MIBrfcselected
Conformance Groups (6)
Compliance Statements (1)
OID
.1.3.6.1.2.1.233.2.1.1The compliance statement for implementations of the
BATTERY-MIB module.
A compliant implementation MUST implement the objects
defined in the mandatory groups batteryDescriptionGroup
and batteryStatusGroup.
Note that this compliance statement requires
compliance with the entity4CRCompliance
MODULE-COMPLIANCE statement of the
ENTITY-MIB (RFC 6933).
BATTERY-MIB module.
A compliant implementation MUST implement the objects
defined in the mandatory groups batteryDescriptionGroup
and batteryStatusGroup.
Note that this compliance statement requires
compliance with the entity4CRCompliance
MODULE-COMPLIANCE statement of the
ENTITY-MIB (RFC 6933).
Required groups
| mandatory | batteryDescriptionGroup | |
| mandatory | batteryStatusGroup | |
| optional | batteryAlarmThresholdsGroup |
A compliant implementation does not have to implement the batteryAlarmThresholdsGroup. |
| optional | batteryNotificationsGroup |
A compliant implementation does not have to implement the batteryNotificationsGroup. |
| optional | batteryPerCellNotificationsGroup |
A compliant implementation does not have to implement the batteryPerCellNotificationsGroup. |
| optional | batteryAdminGroup |
A compliant implementation does not have to implement the batteryAdminGroup. |
Object refinements
| Object | Access | Syntax | Description |
|---|---|---|---|
| batteryAlarmLowCharge | readonly | A compliant implementation is not required to support set operations on this object. |
|
| batteryAlarmLowVoltage | readonly | A compliant implementation is not required to support set operations on this object. |
|
| batteryAlarmLowCapacity | readonly | A compliant implementation is not required to support set operations on this object. |
|
| batteryAlarmHighCycleCount | readonly | A compliant implementation is not required to support set operations on this object. |
|
| batteryAlarmHighTemperature | readonly | A compliant implementation is not required to support set operations on this object. |
|
| batteryAlarmLowTemperature | readonly | A compliant implementation is not required to support set operations on this object. |
Notifications / Traps (7)
| Name | OID | Description |
|---|---|---|
.1.3.6.1.2.1.233.0.1 |
This notification can be generated when a charging state
of the battery (indicated by the value of object batteryChargingOperState) is triggered by an event other than a write action to object batteryChargingAdminState. Such an event may, for example, be triggered by a local battery controller. |
|
.1.3.6.1.2.1.233.0.2 |
This notification can be generated when the current charge
(batteryActualCharge) or the current voltage (batteryActualVoltage) of the battery falls below a threshold defined by object batteryAlarmLowCharge or object batteryAlarmLowVoltage, respectively. Note that, typically, this notification is generated in a state where the battery is still sufficiently charged to keep the device(s) that it powers operational for some time. If the charging state of the battery has become critical, i.e., the device(s) powered by the battery must go to a 'sleep' or 'off' state, then the batteryCriticalNotification should be used instead. If the low charge or voltage has been detected for a single cell or a set of cells of the battery and not for the entire battery, then object batteryCellIdentifier should be set to a value that identifies the cell or set of cells. Otherwise, the value of object batteryCellIdentifier should be set to the empty string when this notification is generated. The notification should not be sent again for the same battery or cell before either (a) the current voltage or the current charge, respectively, has become higher than the corresponding threshold through charging or (b) an indication of a maintenance action has been detected, such as a battery disconnection event or a reinitialization of the battery monitoring system. This notification should not be sent when the battery is in a charging mode, i.e., the value of object batteryChargingOperState is charging(2). |
|
.1.3.6.1.2.1.233.0.3 |
This notification can be generated when the current charge
of the battery falls so low that it cannot provide a sufficient power supply function for regular operation of the powered device(s). The battery needs to be charged before it can be used for regular power supply again. The battery may still provide sufficient power for a 'sleep' mode of a powered device(s) or for a transition into an 'off' mode. If the critical state is caused by a single cell or a set of cells of the battery, then object batteryCellIdentifier should be set to a value that identifies the cell or set of cells. Otherwise, the value of object batteryCellIdentifier should be set to the empty string when this notification is generated. The notification should not be sent again for the same battery before either the battery charge has increased through charging to a non-critical value or an indication of a maintenance action has been detected, such as a battery disconnection event or a reinitialization of the battery monitoring system. This notification should not be sent when the battery is in a charging mode, i.e., the value of object batteryChargingOperState is charging(2). |
|
.1.3.6.1.2.1.233.0.4 |
This notification can be generated when the measured
temperature (batteryTemperature) rises above the threshold defined by object batteryAlarmHighTemperature or falls below the threshold defined by object batteryAlarmLowTemperature. If the low or high temperature has been detected for a single cell or a set of cells of the battery and not for the entire battery, then object batteryCellIdentifier should be set to a value that identifies the cell or set of cells. Otherwise, the value of object batteryCellIdentifier should be set to the empty string when this notification is generated. It may occur that the temperature alternates between values slightly below and slightly above a threshold. For limiting the notification rate in such a case, this notification should not be sent again for the same battery or cell, respectively, within a time interval of 10 minutes. An exception to the rate limitations occurs immediately after the reinitialization of the battery monitoring system. At this point in time, if the battery temperature is above the threshold defined by object batteryAlarmHighTemperature or below the threshold defined by object batteryAlarmLowTemperature, respectively, then this notification should be sent, independent of the time at which previous notifications for the same battery or cell, respectively, had been sent. |
|
.1.3.6.1.2.1.233.0.5 |
This notification can be generated when the actual
capacity (batteryActualCapacity) falls below a threshold defined by object batteryAlarmLowCapacity or when the charging cycle count of the battery (batteryChargingCycleCount) exceeds the threshold defined by object batteryAlarmHighCycleCount. If the aging has been detected for a single cell or a set of cells of the battery and not for the entire battery, then object batteryCellIdentifier should be set to a value that identifies the cell or set of cells. Otherwise, the value of object batteryCellIdentifier should be set to the empty string when this notification is generated. This notification should not be sent again for the same battery or cell, respectively, before an indication of a maintenance action has been detected, such as a battery disconnection event or a reinitialization of the battery monitoring system. |
|
.1.3.6.1.2.1.233.0.6 |
This notification can be generated when it has been
detected that a battery has been connected. The battery can be identified by the value of object batteryIdentifier as well as by the value of index entPhysicalIndex that is contained in the OID of object batteryIdentifier. |
|
.1.3.6.1.2.1.233.0.7 |
This notification can be generated when it has been
detected that one or more batteries have been disconnected. |