Skip to content

Instantly share code, notes, and snippets.

View WanderingStar's full-sized avatar

Aneel Nazareth WanderingStar

View GitHub Profile
@WanderingStar
WanderingStar / apc_watts
Created March 8, 2014 23:03
Munin plugin to calculate power draw, based on apc_nis plugin
#!/usr/bin/perl -w
# -*- perl -*-
=head1 NAME
apc_watts - Plugin to monitor APC UPS via the nis port of apcupsd
=head1 CONFIGURATION
The following configuration parameters are used by this plugin