CGI scripts for web monitoring
Project homepage: http://www.apcupsd.org/
Description
CGI scripts that can query an apcupsd and display information
and statistics on a web page.
Package information
- Ports path
- sysutils/apcupsd,-cgi
- Package architecture
- amd64
- Maintainer
- Kirill Bychkov <kirby@openbsd.org>
- Categories
- sysutils
- Available flavors
- no_x11
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa, m88k, sh
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Build
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running apcupsd-cgi on OpenBSD
+-----------------------------------------------------------------------
Before using multimon and the other CGI programs, first ensure that
apcupsd is configured to run the Network Information Server. This is
done by setting NETSERVER on in ${SYSCONFDIR}/apcupsd.conf.
This switch is on by default.
To run scripts in chrooted apache (default behaviour), configuration
files must be available to the webserver:
# mv ${SYSCONFDIR} ${WEB_ROOT}/${SYSCONFDIR}
# ln -s ${WEB_ROOT}/${SYSCONFDIR} ${BASESYSCONFDIR}/
And some libraries must be copied in:
# ${WEB_ROOT}/cgi-bin/apcupsd/copy-libs.sh