| 1 | plugin_name: go.d.plugin |
| 2 | modules: |
| 3 | - meta: |
| 4 | id: collector-go.d.plugin-logind |
| 5 | plugin_name: go.d.plugin |
| 6 | module_name: logind |
| 7 | monitored_instance: |
| 8 | name: systemd-logind users |
| 9 | link: https://www.freedesktop.org/software/systemd/man/systemd-logind.service.html |
| 10 | icon_filename: users.svg |
| 11 | categories: |
| 12 | - data-collection.operating-systems |
| 13 | keywords: |
| 14 | - logind |
| 15 | - systemd |
| 16 | related_resources: |
| 17 | integrations: |
| 18 | list: [] |
| 19 | info_provided_to_referring_integrations: |
| 20 | description: "" |
| 21 | overview: |
| 22 | data_collection: |
| 23 | metrics_description: | |
| 24 | This collector monitors number of sessions and users as reported by the `org.freedesktop.login1` DBus API. |
| 25 | method_description: "" |
| 26 | supported_platforms: |
| 27 | include: [Linux] |
| 28 | exclude: [] |
| 29 | multi_instance: true |
| 30 | additional_permissions: |
| 31 | description: "" |
| 32 | default_behavior: |
| 33 | auto_detection: |
| 34 | description: "" |
| 35 | limits: |
| 36 | description: "" |
| 37 | performance_impact: |
| 38 | description: "" |
| 39 | setup: |
| 40 | prerequisites: |
| 41 | list: [] |
| 42 | configuration: |
| 43 | file: |
| 44 | name: go.d/logind.conf |
| 45 | options: |
| 46 | description: | |
| 47 | The following options can be defined globally: update_every, autodetection_retry. |
| 48 | folding: |
| 49 | title: Config options |
| 50 | enabled: true |
| 51 | list: [] |
| 52 | examples: |
| 53 | folding: |
| 54 | title: Config |
| 55 | enabled: true |
| 56 | list: [] |
| 57 | troubleshooting: |
| 58 | problems: |
| 59 | list: [] |
| 60 | alerts: [] |
| 61 | metrics: |
| 62 | folding: |
| 63 | title: Metrics |
| 64 | enabled: false |
| 65 | description: "" |
| 66 | availability: [] |
| 67 | scopes: |
| 68 | - name: global |
| 69 | description: These metrics refer to the entire monitored application. |
| 70 | labels: [] |
| 71 | metrics: |
| 72 | - name: logind.sessions |
| 73 | description: Logind Sessions |
| 74 | unit: sessions |
| 75 | chart_type: stacked |
| 76 | dimensions: |
| 77 | - name: remote |
| 78 | - name: local |
| 79 | - name: logind.sessions_type |
| 80 | description: Logind Sessions By Type |
| 81 | unit: sessions |
| 82 | chart_type: stacked |
| 83 | dimensions: |
| 84 | - name: console |
| 85 | - name: graphical |
| 86 | - name: other |
| 87 | - name: logind.sessions_state |
| 88 | description: Logind Sessions By State |
| 89 | unit: sessions |
| 90 | chart_type: stacked |
| 91 | dimensions: |
| 92 | - name: online |
| 93 | - name: closing |
| 94 | - name: active |
| 95 | - name: logind.users_state |
| 96 | description: Logind Users By State |
| 97 | unit: users |
| 98 | chart_type: stacked |
| 99 | dimensions: |
| 100 | - name: offline |
| 101 | - name: closing |
| 102 | - name: online |
| 103 | - name: lingering |
| 104 | - name: active |