summaryrefslogtreecommitdiffstats
path: root/collectors/charts.d.plugin/apcupsd/metadata.yaml
blob: d078074b7bb32597eef3c5f0327a505d11a187b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
plugin_name: charts.d.plugin
modules:
  - meta:
      plugin_name: charts.d.plugin
      module_name: apcupsd
      monitored_instance:
        name: APC UPS
        link: "https://www.apc.com"
        categories:
          - data-collection.ups
        icon_filename: "apc.svg"
      related_resources:
        integrations:
          list: []
      info_provided_to_referring_integrations:
        description: ""
      keywords:
        - ups
        - apc
        - power
        - supply
        - battery
        - apcupsd
      most_popular: false
    overview:
      data_collection:
        metrics_description: "Monitor APC UPS performance with Netdata for optimal uninterruptible power supply operations. Enhance your power supply reliability with real-time APC UPS metrics."
        method_description: "The collector uses the `apcaccess` tool to contact the `apcupsd` daemon and get the APC UPS statistics."
      supported_platforms:
        include: []
        exclude: []
      multi_instance: false
      additional_permissions:
        description: ""
      default_behavior:
        auto_detection:
          description: "By default, with no configuration provided, the collector will try to contact 127.0.0.1:3551 with using the `apcaccess` utility."
        limits:
          description: ""
        performance_impact:
          description: ""
    setup:
      prerequisites:
        list:
          - title: "Required software"
            description: "Make sure the `apcaccess` and `apcupsd` are installed and running."
      configuration:
        file:
          name: charts.d/apcupsd.conf
        options:
          description: |
            The config file is sourced by the charts.d plugin. It's a standard bash file.
            
            The following collapsed table contains all the options that can be configured for the apcupsd collector.
          folding:
            title: "Config options"
            enabled: true
          list:
            - name: apcupsd_sources
              description: This is an array of apcupsd sources. You can have multiple entries there. Please refer to the example below on how to set it.
              default_value: "127.0.0.1:3551"
              required: false
            - name: apcupsd_timeout
              description: How long to wait for apcupsd to respond.
              default_value: 3
              required: false
            - name: apcupsd_update_every
              description: The data collection frequency. If unset, will inherit the netdata update frequency.
              default_value: 1
              required: false
            - name: apcupsd_priority
              description: The charts priority on the dashboard.
              default_value: 90000
              required: false
            - name: apcupsd_retries
              description: The number of retries to do in case of failure before disabling the collector.
              default_value: 10
              required: false
        examples:
          folding:
            enabled: false
            title: "Config"
          list:
            - name: Multiple apcupsd sources
              description: Specify a multiple apcupsd sources along with a custom update interval
              config: |
                # add all your APC UPSes in this array - uncomment it too
                declare -A apcupsd_sources=(
                    ["local"]="127.0.0.1:3551",
                    ["remote"]="1.2.3.4:3551"
                )
                
                # how long to wait for apcupsd to respond
                #apcupsd_timeout=3
                
                # the data collection frequency
                # if unset, will inherit the netdata update frequency
                apcupsd_update_every=5
                
                # the charts priority on the dashboard
                #apcupsd_priority=90000
                
                # the number of retries to do in case of failure
                # before disabling the module
                #apcupsd_retries=10
    troubleshooting:
      problems:
        list: []
    alerts:
      - name: apcupsd_ups_charge
        link: https://github.com/netdata/netdata/blob/master/health/health.d/apcupsd.conf
        metric: apcupsd.charge
        info: average UPS charge over the last minute
        os: "*"
      - name: apcupsd_10min_ups_load
        link: https://github.com/netdata/netdata/blob/master/health/health.d/apcupsd.conf
        metric: apcupsd.load
        info: average UPS load over the last 10 minutes
        os: "*"
      - name: apcupsd_last_collected_secs
        link: https://github.com/netdata/netdata/blob/master/health/health.d/apcupsd.conf
        metric: apcupsd.load
        info: number of seconds since the last successful data collection
    metrics:
      folding:
        title: Metrics
        enabled: false
      description: ""
      availability: []
      scopes:
        - name: ups
          description: "Metrics related to UPS. Each UPS provides its own set of the following metrics."
          labels: []
          metrics:
            - name: apcupsd.charge
              description: UPS Charge
              unit: "percentage"
              chart_type: area
              dimensions:
                - name: charge
            - name: apcupsd.battery.voltage
              description: UPS Battery Voltage
              unit: "Volts"
              chart_type: line
              dimensions:
                - name: voltage
                - name: nominal
            - name: apcupsd.input.voltage
              description: UPS Input Voltage
              unit: "Volts"
              chart_type: line
              dimensions:
                - name: voltage
                - name: min
                - name: max
            - name: apcupsd.output.voltage
              description: UPS Output Voltage
              unit: "Volts"
              chart_type: line
              dimensions:
                - name: absolute
                - name: nominal
            - name: apcupsd.input.frequency
              description: UPS Input Voltage
              unit: "Hz"
              chart_type: line
              dimensions:
                - name: frequency
            - name: apcupsd.load
              description: UPS Load
              unit: "percentage"
              chart_type: area
              dimensions:
                - name: load
            - name: apcupsd.load_usage
              description: UPS Load Usage
              unit: "Watts"
              chart_type: area
              dimensions:
                - name: load
            - name: apcupsd.temperature
              description: UPS Temperature
              unit: "Celsius"
              chart_type: line
              dimensions:
                - name: temp
            - name: apcupsd.time
              description: UPS Time Remaining
              unit: "Minutes"
              chart_type: area
              dimensions:
                - name: time
            - name: apcupsd.online
              description: UPS ONLINE flag
              unit: "boolean"
              chart_type: line
              dimensions:
                - name: online