Telegram status by wire
UPS Card Guide
Guides to SNMP network management cards for UPS units and NUT support.
- Class of service
- SNMP cards · NUT
- Messages on file
- None yet
- Sources
- Published documentation
- Mains power fails The UPS switches to battery.
- The card writes a message Status and estimated runtime, here an example of 12 minutes.
- It sends an SNMP trap A one-way notice to the monitoring server on UDP port 162.
- The server asks A separate SNMP GET reads the runtime value.
- The card replies The answer comes back: 12 minutes, an example value.
Illustration. A trap is a one-way notice with no reply (RFC 3416 section 4.2.6), so the question about runtime is a separate GET. The RFC 1628 battery trap carries the runtime estimate and repeats every minute until the UPS shuts down or returns from battery. The recommended trap receiver port is UDP 162 (RFC 3417 section 3.2). Tools such as NUT's snmp-ups driver read the card by polling it. Addresses are documentation examples (RFC 5737).
No guides yet
No messages on the wire yet STOPThe first guides are being prepared STOP
Counter window No. 4
SNMP command builder
Type your card's address, port and SNMP version. The builder writes snmpwalk and snmpget lines for the standard UPS MIB, ready to copy. Nothing you type leaves the page, and it never asks for a passphrase or community string: those appear as placeholders you replace in your own terminal.
Example command
snmpwalk -v 2c -c 'COMMUNITY' udp:192.0.2.20:161 1.3.6.1.2.1.33
192.0.2.20 is a documentation address (RFC 5737). COMMUNITY is a placeholder: replace it in your own terminal.