On 9/12/06, Technical Support <[EMAIL PROTECTED]> wrote:
Hi all - I'm new to both UPS setup and SNMP on linux - so I'd appreciate any
help I can get....I'm stuck! I'm running fedora core 5, and have installed
net-snmp and nut. I'm trying to get my network connected UPS to this linux
machine.
My /etc/ups/ups.conf looks like this:
[upsnetwork]
driver = snmp-ups
port = 172.31.254.7
community = public
desc="Network ups"
snmp_version = v1
mibs = apcc
My /etc/sysconfig/ups looks like this (I'm not even sure what uses this
file):
The Fedora init script for NUT uses it, I believe.
# If the UPS is locally attached set it to "yes"
SERVER=no
Technically, the UPS driver (snmp-ups) is local, so you probably want
to say "yes" here.
# Model of the UPS (filename to call for it, without path)
# Example - one of
# apcsmart - APC SMartUPS and similar
# fentonups - Fenton UPS
# optiups
# bestups
# genericups
# ups-trust425+625
# upsdrvctl
# You MUST change this, or set SERVER to "no"
# To support multiple drivers, set MODEL=upsdrvctl
MODEL=NONE
either "snmp-ups" or "upsdrvctl" for the model
# UPS device - needed if UPS is locally attached
DEVICE=/dev/ttyS0
might have to change the device line.
--
- Charles Lepple
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser