| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # Sample multimon configuration file |
| 2 | # |
| 3 | # This file is not required. Without it, multimon will use the default |
| 4 | # field layout. |
| 5 | # |
| 6 | # Temperature selection |
| 7 | # |
| 8 | # Pick "TEMPC" for Celsius or "TEMPF" for Fahrenheit. This will override |
| 9 | # the --enable-celsius setting from the compile. UPSTEMP (below) will |
| 10 | # use this setting by default. |
| 11 | |
| 12 | TEMPC |
| 13 | |
| 14 | # Format: |
| 15 | # FIELD <variable> "<field name>" "<field suffix>" |
| 16 | # |
| 17 | # <variable> is either a word from the UPS protocol like battchg (see the |
| 18 | # table in src/cgi/upsfetch.c) or a special word in uppercase. |
| 19 | # |
| 20 | # Special words are: |
| 21 | # MODEL - Show the model name for this system in cyan |
| 22 | # |
| 23 | # STATUS - Parse the status for this system using the appropriate color |
| 24 | # |
| 25 | # UPSTEMP and AMBTEMP use the default scale. This is set to C if you use |
| 26 | # --enable-celsius at compile time *or* if you use "TEMPC" above. |
| 27 | # |
| 28 | # UPSTEMP - Show the UPS temperature in the default scale (suffix ignored) |
| 29 | # AMBTEMP - Show the ambient temperature in the default scale (suffix ignored) |
| 30 | # |
| 31 | # UPSTEMPC - Show the UPS temperature in degrees C (suffix ignored) |
| 32 | # UPSTEMPF - Show the UPS temperature in degrees F (suffix ignored) |
| 33 | # AMBTEMPC - Show the ambient temperature in degrees C (suffix ignored) |
| 34 | # AMBTEMPF - Show the ambient temperature in degrees F (suffix ignored) |
| 35 | # |
| 36 | # They're called "special" since they actually understand the content |
| 37 | # being printed and do other things based on what's in there. |
| 38 | # |
| 39 | # <field name> is what you'd like this column to be called on the page. |
| 40 | # Remember that this is HTML, so you can actually embed markup in here. |
| 41 | # This means you can even include images here. You can include quotes |
| 42 | # (and backslashes!) in the string by escaping them with a backslash (\). |
| 43 | # |
| 44 | # <field suffix> is typically something like % or VAC. It's useful if |
| 45 | # you want to convey the units that apply to a value. |
| 46 | # |
| 47 | # Example config |
| 48 | |
| 49 | FIELD SYSTEM "System" "" |
| 50 | FIELD MODEL "Model" "" |
| 51 | FIELD STATUS "Status" "" |
| 52 | FIELD battpct "Battery Chg" "%" |
| 53 | FIELD utility "Utility" "VAC" |
| 54 | FIELD loadpct "UPS Load" "%" |
| 55 | FIELD UPSTEMP "UPS Temp" "" |
| 56 | FIELD runtime "Batt. Run Time" "min." |
| 57 | FIELD DATA "Data" "All data" |
| 58 | |
| 59 | # These are only useful if you have a Smart-UPS model with the Measure-UPS II |
| 60 | # measurement card. No other models presently support these features. |
| 61 | # |
| 62 | # FIELD AMBTEMP "Ambient Temp" "" |
| 63 | # FIELD HUMIDITY "Ambient Humidity" "%" |