2010-03-26 01:20:59 +02:00
|
|
|
Desc: Information about SNMP and Network UPS Tools
|
|
|
|
File: snmp.txt
|
|
|
|
Date: 16 March 2003
|
|
|
|
Auth: Arnaud Quette <arnaud.quette@free.fr> or <arnaud.quette@mgeups.com>
|
|
|
|
|
|
|
|
This document presents interactions between SNMP and Network UPS Tools.
|
|
|
|
This work is mostly sponsored by:
|
|
|
|
MGE UPS SYSTEMS <http://www.mgeups.com/opensource/>
|
|
|
|
|
|
|
|
There are two part in NUT for SNMP support:
|
|
|
|
|
|
|
|
1) the agent or server side
|
|
|
|
|
|
|
|
An SNMP agent provides information for its hardware.
|
|
|
|
In general, agents are embedded in SNMP card.
|
|
|
|
|
|
|
|
This part has to be implemented as a Net-SNMP sub agent, acting
|
|
|
|
as a NUT middleware (upsd level). Such software make a bridge
|
|
|
|
between NUT data and SNMP, thus allowing to monitor, through
|
|
|
|
SNMP, standard point to point UPSs (serial and USB).
|
|
|
|
|
|
|
|
This is part of the "UPS Sub-Agent" project with Net-SNMP team.
|
|
|
|
|
|
|
|
|
|
|
|
2) the client side
|
|
|
|
|
|
|
|
* Introduction
|
2022-07-10 10:23:45 +03:00
|
|
|
|
2010-03-26 01:20:59 +02:00
|
|
|
An SNMP client communicates with an agent to acquire data.
|
|
|
|
|
|
|
|
This part, which has to be a NUT driver, is implemented by snmp-ups.
|
|
|
|
snmp-ups acts as a bridge from SNMP to NUT, thus allowing to monitor
|
|
|
|
in NUT any SNMP Agent (embedded or on a host).
|
|
|
|
|
|
|
|
The new snmp-ups driver now support multiple MIBS (SNMP structures
|
|
|
|
declaration). For more information on snmp-ups, have a look at its
|
|
|
|
manpage (man 8 snmp-ups).
|
|
|
|
|
|
|
|
* Extending existing mib2nut information
|
2022-07-10 10:23:45 +03:00
|
|
|
|
2010-03-26 01:20:59 +02:00
|
|
|
To be written...
|
2022-07-10 10:23:45 +03:00
|
|
|
|
2010-03-26 01:20:59 +02:00
|
|
|
* Adding new mib2nut information
|
|
|
|
|
|
|
|
To be written...
|
2022-07-10 10:23:45 +03:00
|
|
|
|
|
|
|
|
2010-03-26 01:20:59 +02:00
|
|
|
References:
|
|
|
|
- NUT SNMP Protocols Library Available at:
|
2022-07-10 10:23:45 +03:00
|
|
|
http://www.networkupstools.org/ups-protocols.html#_snmp
|