monitors:apc_checks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
monitors:apc_checks [2018/02/16 19:08] fletch2kmonitors:apc_checks [2018/02/16 19:12] fletch2k
Line 16: Line 16:
   - Ordered List ItemEdit the script and update the $UPS variable with the FQN for the UPS   - Ordered List ItemEdit the script and update the $UPS variable with the FQN for the UPS
   - Ordered List ItemAdd the following example to the /usr/share/xymon-client/etc/clientlaunch.cfg:   - Ordered List ItemAdd the following example to the /usr/share/xymon-client/etc/clientlaunch.cfg:
 +
 Add the following to /etc/xymon/xymonserver.cfg: Add the following to /etc/xymon/xymonserver.cfg:
-TEST2RRD:TempC=ncv,volt=ncv,batt=ncv + 
-... +    TEST2RRD:TempC=ncv,volt=ncv,batt=ncv 
-GRAPHS:TempC,volt,batt +    ... 
-... +    GRAPHS:TempC,volt,batt 
-NCV_TempC="Reading:GAUGE" +    ... 
-NCV_batt="BatteryTime:GAUGE" +    NCV_TempC="Reading:GAUGE" 
-NCV_volt="InputVoltage:GAUGE,OutputVoltage:GAUGE"+    NCV_batt="BatteryTime:GAUGE" 
 +    NCV_volt="InputVoltage:GAUGE,OutputVoltage:GAUGE"
  
 Add the following to /etc/xymon/graphs.cfg Add the following to /etc/xymon/graphs.cfg
-[TempC]+    [TempC]
         TITLE Temperatures         TITLE Temperatures
         YAXIS Degrees/Celcius         YAXIS Degrees/Celcius
Line 41: Line 43:
         GPRINT:temp:AVERAGE: \: %5.1lf%s (avg)\n         GPRINT:temp:AVERAGE: \: %5.1lf%s (avg)\n
  
-[volt]+    [volt]
         TITLE I/O Voltage         TITLE I/O Voltage
         YAXIS Volts         YAXIS Volts
         DEF:ivolt=volt.rrd:InputVoltage:AVERAGE         DEF:ivolt=volt.rrd:InputVoltage:AVERAGE
         DEF:ovolt=volt.rrd:OutputVoltage:AVERAGE         DEF:ovolt=volt.rrd:OutputVoltage:AVERAGE
-       HRULE:0#FF8000:LOW +        #HRULE:0#FF8000:LOW 
-       HRULE:240#8A0808:HIGH+        #HRULE:240#8A0808:HIGH
         LINE1:ivolt#0000ff:InputVoltage         LINE1:ivolt#0000ff:InputVoltage
         LINE2:ovolt#00FF00:OutputVoltage         LINE2:ovolt#00FF00:OutputVoltage
Line 62: Line 64:
         GPRINT:ovolt:AVERAGE: \: %5.1lf%s (avg)\n         GPRINT:ovolt:AVERAGE: \: %5.1lf%s (avg)\n
  
-[batt]+    [batt]
         TITLE BatteryRunTime         TITLE BatteryRunTime
         YAXIS Minutes         YAXIS Minutes
Line 77: Line 79:
                  
                  
- +# Add the following line to /usr/share/xymon-client/etc/clientlaunch.cfg: 
-        [lab-apc-ups1]+    [lab-apc-ups1]
         ENVFILE /usr/share/xymon-client/etc/xymonclient.cfg         ENVFILE /usr/share/xymon-client/etc/xymonclient.cfg
         CMD $XYMONCLIENTHOME/ext/lab-apc-ups1.pl         CMD $XYMONCLIENTHOME/ext/lab-apc-ups1.pl
  • monitors/apc_checks.txt
  • Last modified: 2018/02/16 19:13
  • by fletch2k