added INSTALLATION
authorHIROSE Masaaki <hirose31@gmail.com>
Thu, 14 Jan 2010 10:47:44 +0000 (19:47 +0900)
committerHIROSE Masaaki <hirose31@gmail.com>
Thu, 14 Jan 2010 10:47:44 +0000 (19:47 +0900)
cp and make symbolic links different name.

apcupsd_pct

index 6291bbc..d802af1 100755 (executable)
@@ -7,6 +7,7 @@ use Pod::Usage;
 
 our $APCACCESS = $ENV{apcaccess} || "/sbin/apcaccess";
 our $UPS_MODEL = $ENV{ups_model} || "ES 725";
+our $VERSION   = 1.0;
 my  %Graph;
 my  %Metric;
 
@@ -173,6 +174,18 @@ B<apcupsd_time> [ I<config>|I<fetch> ]
 
 munin plugin to monitor APC UPS via apcupsd by apcaccess.
 
+=head1 INSTALLATION
+
+  cp apcupsd_pct $MUNIN_LIBDIR/plugsin/
+  
+  cd YOUR_MUNIN_PLUGINS_DIR
+  (make symbolic links different name)
+  ln -s $MUNIN_LIBDIR/plugsin/apcupsd_pct apcupsd_pct
+  ln -s $MUNIN_LIBDIR/plugsin/apcupsd_pct apcupsd_volt
+  ln -s $MUNIN_LIBDIR/plugsin/apcupsd_pct apcupsd_time
+  
+  restart munin-node
+
 =head1 REPOSITORY
 
 L<http://github.com/hirose31/munin-apcupsd-fixme/tree/master>