Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| monitors:apc_checks [2018/02/16 18:49] – [Installation] fletch2k | monitors:apc_checks [2018/02/16 19:13] (current) – fletch2k | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| ^ Author | [[ cmaroney@gmail.com | fletch2k ]] | | ^ Author | [[ cmaroney@gmail.com | fletch2k ]] | | ||
| Line 13: | Line 13: | ||
| Enable SNMPv1 on the APC UPS and allow the xymon server access. | Enable SNMPv1 on the APC UPS and allow the xymon server access. | ||
| === Server side === | === Server side === | ||
| - | 1) Make a copy for each UPS in your environment. | + | - Ordered List ItemMake |
| - | 2) Edit the script and update the $UPS variable with the FQN for the UPS | + | - Ordered List ItemEdit |
| - | 3) Add the following example to the / | + | - Ordered List ItemAdd |
| - | " | + | Add the following to / |
| + | |||
| + | TEST2RRD: | ||
| + | ... | ||
| + | GRAPHS: | ||
| + | ... | ||
| + | NCV_TempC="Reading: | ||
| + | NCV_batt=" | ||
| + | NCV_volt=" | ||
| + | |||
| + | Add the following to / | ||
| + | [TempC] | ||
| + | TITLE Temperatures | ||
| + | YAXIS Degrees/ | ||
| + | DEF: | ||
| + | HRULE: | ||
| + | HRULE: | ||
| + | -u 35 | ||
| + | -l 0 | ||
| + | AREA: | ||
| + | COMMENT: \n | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | |||
| + | [volt] | ||
| + | TITLE I/O Voltage | ||
| + | YAXIS Volts | ||
| + | DEF: | ||
| + | DEF: | ||
| + | # | ||
| + | # | ||
| + | LINE1: | ||
| + | LINE2: | ||
| + | -u 240 | ||
| + | -l 0 | ||
| + | COMMENT: \n | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | |||
| + | [batt] | ||
| + | TITLE BatteryRunTime | ||
| + | YAXIS Minutes | ||
| + | DEF: | ||
| + | -u 60 | ||
| + | -l 0 | ||
| + | # | ||
| + | LINE2: | ||
| + | COMMENT: \n | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | GPRINT: | ||
| + | |||
| + | |||
| + | # Add the following line to / | ||
| + | | ||
| ENVFILE / | ENVFILE / | ||
| CMD $XYMONCLIENTHOME/ | CMD $XYMONCLIENTHOME/ | ||
| Line 23: | Line 86: | ||
| | | ||
| ===== Source ===== | ===== Source ===== | ||
| - | ==== lab-apc-ups.pl ==== | + | ==== apc_checks.pl ==== |
| <hidden onHidden=" | <hidden onHidden=" | ||
| < | < | ||
| # | # | ||
| # | # | ||
| - | # checkTemp.pl | + | # apc_checks.pl |
| # | # | ||
| ########################################## | ########################################## | ||