In the event of a prolonged power outage, should the apc ups lose most of its battery capacity, it can. Snmp simple network management protocol development files adep. Help build nagios exchange for yourself and the entire the nagios community by your nagios project to the site. Following on from the basics of snmp i did previously, this article now adds another set of snmp extension scripts, config, and cacti templates to monitor apc ups via apcupsd apcupsd config. Managing apc brand uninterruptible power supplies with apcupsd.
The apc ups can communicate with the linux system through either a rs232 or usb serial connection. It also contains a workaround for an ups firmware issue that causes killpower to execute repeatedly in a loop, resulting in the ups continually cycling power. If power is not restored my server must shutdown when the battery is exhausted. If you have a ups designed to communicate via snmp over ethernet, that is also a. The bts contains patches fixing 2 bugs, consider including or untagging them. Apcupsd apc ups daemon can be used for power mangement and controlling most of apc\s ups models. If there are additional fields which apcaccess status returns, which you want to graph, then one just needs to edit the php script. After configuring apcupsd and starting the service the service eventually times out and reports warning communications lost with ups. Colin beckingham for some time i have been using the american power conversion apc uninterruptible power supply ups daemon apcupsd to interface my desktop computer with my apc backups es 550. If you want the oids to resolve to their text description, activate the nonfree repository and install snmpmibsdownloader. Apcupsd also has support for some nonapc snmp upses using rfc1628 or mge mibs, however the majority of the information in this section is for apc upses.
This document describes how to install the apc ups daemon. You might like to refer to the apcupsd package page, to the package tracking system, or to the source package src. To configure snmp client applications on debian, including snmpwalk. How to install cacti snmp monitoring tool on debian 9. If you have, for example, an older apc ups device that only has a serial monitoring port, you cannot use the default snmp apc hardware sensor. The ups is configured with the ip of the client and the client is. Contribute to jirutkaapcupsd snmp development by creating an account on github. Using appropriate oids, you can also monitor additional counters of apc ups hardware with custom snmp sensors. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur. How to enable snmp on apc ups devices auvik support. Kern im sorry to bother you with a query but perhaps you can point me in the right direction i am trying to set up monitoring of apc ups through intellipool the windows port of your software installs perfectly and the information it passes back is very useful can you advise what options i have to get snmp info from. The apcupsd daemon works with most apc smartups models, as well as most simple signaling models, such as backups, and backupsoffice. Apcupsd works with most of apcs smartups models as well as most simple signalling models such a backups, and backupsoffice.
Available for linux, windows, mac os x, and solaris 10, apcupsd reliably warns me when the power goes out and gives me time. Apcupsd can be used for power mangement and controlling most of apcs ups models, including smartups models as well as most simple signaling models such as backups and backupsoffice during a power failure or other event, apcupsd can execute a script of actions to take, such as broadcast a wall message to all users that there is a power problem, send an email alert or report, or perform. Glen pittpladdy blog apcupsd stats on cacti via snmp. For any computer, whether it be a desktop or especially a server, the use of a power conditionerups uninterruptible power supply is a must. Apcupsd works with most of apc\s smartups models as well as most simple signalling models such a backups, and backupsoffice. Contribute to jirutkaapcupsdsnmp development by creating an account on github. Debian details of package apcupsd in stretch debian packages. Nagios python plugin for apc ups software apcupsd daemon and apcaccess client to query for status and performance graphs. How can i monitor an apc ups that does not support snmp. The following binary packages are built from this source package. If you want the oids to resolve to their text description, activate the nonfree repository and install snmp mibsdownloader.
Apcupsd can be used for controlling most apc upses. This is netsnmp module for monitoring apc upses without snmp support. Installation and configuration of a apc ups using apcupsd. In order to install cacti from sources in debian 9, first, download and extract the latest version of cacti tarball compressed archive, then. Apcupsd runs in daemon mode so to keep a live connection with the ups. During a power failure or other event, apcupsd can execute a script of actions to take, such as broadcast a wall. An snmp ups, for example a web snmp ap9716 or powernet snmp ap9605 card installed into the smartslot. Debian details of package apcupsd in buster debian packages. Maintainers for apcupsd are thorsten alteholz you may want to refer to the following packages that are part of the same source.
The package apcupsd provides a daemon which will monitor your apc ups, and shutdown the system when power is no longer being supplied to the ups prerequisites. Debian details of source package apcupsd in stretch. A ups is a big battery to keep the servers running when power fails and eventually. I cant seem to find apcupsd a ups monitor, that shutdowns computers, before you run out of ups power on centos 6, surprisingly on centos 7 this package is available from epel, but not so for centos 6. An snmp ups, for example a websnmp ap9716 or powernet snmp ap9605 card installed into the smartslot. It reads output from apcupsd sbinapcaccess and writes it into appropriate oids like upses with builtin snmp support. Advanced package tool, or apt, is a free software user interface that works with core libraries to handle the installation and removal of software on debian, ubuntu and other linux distributions. Allows your computer or server to run for a specified length of time on ups power then executes a controlled shutdown in the case of an extended power failure. The package should be updated to follow the last version of debian policy standardsversion 4. I really like being able to easily monitor my ups with snmp when powerchute is installed.
It controls and monitors the status of ups and allows your computer to run for a specified length of time on ups power, and then executes a controlled shutdown in the case of an. Here is the data as dumped by apcupsd every 5 seconds. I designed the script and templates so they could easily be extended. In order to install the snmp program, snmp daemon service and snmp mibs in your local debian 9 system, issue the following command with root privileges. The file is a plain ascii text file which comprises a number of configuration directives which control how the apcupsd program behaves when controlling most american power conversion corp apc upses. Apc ups daemon powerful daemon for apc upss controls and monitors the status of an apc ups under linux. Ups monitoring without snmp apcupsd zabbix need some help they all involve putting the data into a file that zabbix can read.
With version 3 of the snmp protocol security comes to snmp which makes a lot of things smarter but also a bit more complicate to configure. Depending on the settings and type of connection, apcupsd either polls the ups to learn about its current state, or receives messages from the ups itself, e. Getting apcupsd working with powerchute pcnet ask question asked 6 years, 10 months ago. That is why i would like to give a small introduction howto setup snmp v3 within this blog article for all debian and ubuntu linux environments. Apc smartups check if ups is on batteries or cable.
Apcupsd can be used for power mangement and controlling most of apcs ups models on unix and windows machines. How do i configure and use my apc smartups under debina ubuntu rhel centos fedora scientific linux operating system for power management. Download apcupsd packages for alpine, alt linux, arch linux, centos, debian, fedora, freebsd, mageia, netbsd, openmandriva, opensuse, openwrt, pclinuxos, slackware. Introduction, installation, configuration, and statistics. Will this work properly if i use a serial connection. To run apcupsd with a snmp ups, you need the following things. This is net snmp module for monitoring apc upses without snmp support. This video tutorial explains how to install and configure apcupsd for power management and controlling most of apcs ups models on linux. Power monitoring and logging with apcupsd and cacti. This video tutorial explains how to install and configure apcupsd for power management and controlling most of apcs ups models on linux and unix nas. Good day, ive been trying to configure apcupsd to monitor all my upss that are on my network via snmp.
1320 1355 1548 324 679 394 726 285 338 1236 803 1049 300 1070 717 202 1403 648 1543 1536 1544 75 1301 1416 1506 1170 48 1268 1535 682 418 1057 1259 626 923 1348 1423 1119 1440 137 662 1092 1475 299