Do you recognize a good idea when you see one? We want to hear from you!
Header Image

I suggest you ...

SNMTP Monitoring: UPS Support

It would be very nice to have a native SNMP support for UPS. In my datacenter I have an APC with a network card, and I shutdown some network devices without usb cables, but through network.

78 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    eclipse79eclipse79 shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Bob AlfsonBob Alfson commented  ·   ·  Flag as inappropriate

        I thought I would refer folks to Marcus' post on the User BB, but he's already copied it here. Thanks, Marcus!

        Cheers - Bob

      • Marcus SchenkMarcus Schenk commented  ·   ·  Flag as inappropriate

        This is even possible using their already exisiting NUT (Network UPS Tools) package. I have tried adding the snmp-ups driver and have it query several APCs with "Network Management Card" and "Network Management Card 2" - It runs OK in the background, but no front end and no battery level is visible in UTM GUI. Please add support for snmp-ups and make it gui configurable.

        For 9.103-5 which I assume is a SLES 11 SP3 or OpenSuse 10.2 you need to get the following modules:

        nut-drivers-net-2.6.2-31.1.i586.rpm
        net-snmp54-5.4-10.1.i586.rpm
        neon-0.28.4-3.1.i586.rpm
        libneon27-0.28.4-3.1.i586.rpm
        libopenssl0_9_8-0.9.8m-3.3.2.i586.rpm

        rpm -i these and edit /etc/ups/ups.conf

        comment out section [ups] and create a new entry like this one:
        [ups]
        driver = snmp-ups
        port = 192.168.101.71
        community = public
        snmp_version = v1
        mibs = apcc
        pollfreq = 15
        desc = "UPS"

        You can test the connection by invoking:
        /usr/lib/ups/driver/snmp-ups -a ups
        Make sure you make a Firewall Exception to allow outbound SNMP Traffic

        If it works invoke /usr/lib/ups/driver/upsdrvctl start
        and run upsd and upsmon

        Next you can check your UPS via upsc ups@localhost
        Also good to check you system log: tail -f /var/log/system.log

      Feedback and Knowledge Base