[Nut-upsuser] Help with snmp ups

Technical Support support at ocg.ca
Tue Sep 12 21:46:29 UTC 2006


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):
# If the UPS is locally attached set it to "yes"
SERVER=no
# 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
# UPS device - needed if UPS is locally attached
DEVICE=/dev/ttyS0
# Any options to pass to $MODEL
# ex. for my TrippLite UPS, use 
#       OPTIONS="-t 5"
OPTIONS=
# Any options to pass to upsd
UPSD_OPTIONS=
#
# [End]
 
my APC ups is at address 172.31.254.7 and has SNMP enabled.  When I run the
upsd command here is what I see:
 
Can't connect to UPS [upsnetwork] (snmp-ups-172.31.254.7): No such file or
directory
Synchronizing........ giving up
 


So....any ideas what's going on?  Thanks





More information about the Nut-upsuser mailing list