Hello, I am looking for good instructions on how to configure NUT to receive SNMP Trap signals and how to shutdown a server. My setup is: NUT: version 2.7.1-1ubuntu1, from package OS: Ubuntu 14.04.5 LTS UPS: Tripp Lite SMART3000RM2U The only thing I was able to understand from the documentation is to an entry in ups.conf: [tripplite-pa3] driver = snmp-ups port = tripplite-pa3.domain.com community = public mibs = ietf Then start upsd: root at dell1850:/etc/nut# upsd Network UPS Tools upsd 2.7.1 fopen /var/run/nut/upsd.pid: No such file or directory listening on 127.0.0.1 port 3493 listening on ::1 port 3493 Connected to UPS [tripplite-pa3]: snmp-ups-tripplite-pa3 And that is as far as I got. How does one receive a low battery warning and shutdown the server? Brian H
On Wed, 17 Aug 2016, Brian Hilmers wrote:> Hello, I am looking for good instructions on how to configure NUT to receive SNMP Trap signals and how to shutdown a server. My setup is: > > NUT: version 2.7.1-1ubuntu1, from package > OS: Ubuntu 14.04.5 LTS > UPS: Tripp Lite SMART3000RM2U > > > The only thing I was able to understand from the documentation is to an entry in ups.conf: > > [tripplite-pa3] > driver = snmp-ups > port = tripplite-pa3.domain.com > community = public > mibs = ietf > > Then start upsd: > > root at dell1850:/etc/nut# upsd > Network UPS Tools upsd 2.7.1 > fopen /var/run/nut/upsd.pid: No such file or directory > listening on 127.0.0.1 port 3493 > listening on ::1 port 3493 > Connected to UPS [tripplite-pa3]: snmp-ups-tripplite-pa3 > > And that is as far as I got. How does one receive a low battery warning and shutdown the server?Have you seen the User Manual "6.3. Configuring automatic shutdowns for low battery events"? http://networkupstools.org/docs/user-manual.chunked/ar01s06.html#UPS_shutdown You need to have upsmon configured and running. Have you seen "Configuring NUT for the Eaton 3S UPS on Ubuntu Linux" https://srackham.wordpress.com/2013/02/27/configuring-nut-for-the-eaton-3s-ups-on-ubuntu-linux/ with an example of upsmon configuration? Roger
> On Aug 17, 2016, at 5:01 PM, Brian Hilmers <bhilmers at scripps.edu> wrote: > > ... how to configure NUT to receive SNMP Trap signalsI don't have any SNMP equipment to test against, but I think the snmp-ups driver simply polls - no traps needed. (Polling has the advantage of detecting when the network link has problems.)
Seemingly Similar Threads
- Search a string and modify it in a .txt file
- Add columns in a dataframe and fill them from another table according to a criteria
- Fill dataframe from a table according to a criteria
- How to reshape wide format data.frame to long format?
- TrippLite SmartPro UPS and nut-2.0.2