From f3fad47d9ea3efe5a5236eaacaf6e172059f259f Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Thu, 12 May 2022 10:33:54 -0700 Subject: [PATCH] cleanup example config files. added instructions for influxdb. --- example.collector.yaml | 10 ++++++++++ example.scrutiny.yaml | 22 +++++----------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/example.collector.yaml b/example.collector.yaml index 008927d..854de94 100644 --- a/example.collector.yaml +++ b/example.collector.yaml @@ -72,3 +72,13 @@ devices: # ######################################################################################################################## +#collect: +# metric: +# enable: true +# command: '-a -o on -S on' +# long: +# enable: false +# command: '' +# short: +# enable: false +# command: '' diff --git a/example.scrutiny.yaml b/example.scrutiny.yaml index 8e08705..56dcac0 100644 --- a/example.scrutiny.yaml +++ b/example.scrutiny.yaml @@ -34,6 +34,11 @@ web: # the location on the filesystem where scrutiny javascript + css is located frontend: path: /opt/scrutiny/web + + # if you're running influxdb on a different host (or using a cloud-provider) you'll need to update the host & port below. + # token, org, bucket are unnecessary for a new InfluxDB installation, as Scrutiny will automatically run the InfluxDB setup, + # and store the information in the config file. If you 're re-using an existing influxdb installation, you'll need to provide + # the `token` influxdb: host: 0.0.0.0 port: 8086 @@ -75,12 +80,6 @@ log: # ######################################################################################################################## -#disks: -# include: -# # - /dev/sda -# exclude: -# # - /dev/sdb - #limits: # ata: # critical: @@ -95,14 +94,3 @@ log: # critical: true # standard: true - -#collect: -# metric: -# enable: true -# command: '-a -o on -S on' -# long: -# enable: false -# command: '' -# short: -# enable: false -# command: ''