Hopefully someone can help as I am not getting how to configure this very simple configuration
I want to configure a redfish input to monitor 4 URI’s with an output of kafka, can not get it configured , is there some basic instructions?
What does not work?
Could you please post your current Telegraf configuration here in markdown format?
```toml
put yout telegraf config snippet here
```
Configuration for telegraf agent
[agent]
interval = “60s”
debug = true
quiet = false
round_interval = true
metric_batch_size = 8000
metric_buffer_limit = 20000
flush_interval = “60s”
flush_jitter = “30s”
precision = “s”
[[outputs.kafka]]
URLs of kafka brokers
brokers = [“127.0.0.1:9092”]
Kafka topic for producer messages
topic = “hardwaremetrics”
enable_tls = false
tls_ca = “/etc/telegraf/ca.cer.pem”
tls_cert = “/etc/telegraf/client.cer.pem”
tls_key = “/etc/telegraf/client.key.pem”
insecure_skip_verify = true
DR - ZT
[[inputs.redfish]]
address = “10.8.1.90”
username = “Administrator”
password = “superuser”
computer_system_id=“Self”
timeout = “60s”
insecure_skip_verify = true
name_suffix = “_zt”
[[inputs.redfish]]
address = “https://10.8.1.90]”
username = “Administrator”
password = “superuser”
computer_system_id=“Self”
timeout = “60s”
insecure_skip_verify = true
name_suffix = “_zt”
[[processors.converter]]
[processors.converter.fields]
tag = [“upper_threshold_critical”,“upper_threshold_fatal”,“lower_threshold_critical”,“lower_threshold_fatal”]
And which part is not working?
The inputs.redfish
or the outputs.kafka
part?
Does the log output of Telegraf show any error messages?
[root@scottsys config]# service telegraf start
Redirecting to /bin/systemctl start telegraf.service
[root@scottsys config]# service telegraf status
Redirecting to /bin/systemctl status telegraf.service
● telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB
Loaded: loaded (/usr/lib/systemd/system/telegraf.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-01-30 09:21:47 PST; 2 months 4 days ago
Docs: GitHub - influxdata/telegraf: The plugin-driven server agent for collecting & reporting metrics.
Main PID: 29761 (telegraf)
CGroup: /system.slice/telegraf.service
└─29761 /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
Apr 05 11:46:41 scottsys telegraf[29761]: 2021-04-05T18:46:41Z E! [agent] Error writing to outputs.influxdb: could not write any address
Apr 05 11:46:51 scottsys telegraf[29761]: 2021-04-05T18:46:51Z W! [outputs.influxdb] Metric buffer overflow; 47 metrics have been dropped
Apr 05 11:46:52 scottsys telegraf[29761]: 2021-04-05T18:46:52Z E! [outputs.influxdb] When writing to [http://localhost:8086]: 401 Unauthorized
Apr 05 11:46:52 scottsys telegraf[29761]: 2021-04-05T18:46:52Z E! [agent] Error writing to outputs.influxdb: could not write any address
Apr 05 11:47:01 scottsys telegraf[29761]: 2021-04-05T18:47:01Z W! [outputs.influxdb] Metric buffer overflow; 47 metrics have been dropped
Apr 05 11:47:02 scottsys telegraf[29761]: 2021-04-05T18:47:02Z E! [outputs.influxdb] When writing to [http://localhost:8086]: 401 Unauthorized
Apr 05 11:47:02 scottsys telegraf[29761]: 2021-04-05T18:47:02Z E! [agent] Error writing to outputs.influxdb: could not write any address
Apr 05 11:47:11 scottsys telegraf[29761]: 2021-04-05T18:47:11Z W! [outputs.influxdb] Metric buffer overflow; 47 metrics have been dropped
Apr 05 11:47:12 scottsys telegraf[29761]: 2021-04-05T18:47:11Z E! [outputs.influxdb] When writing to [http://localhost:8086]: 401 Unauthorized
Apr 05 11:47:12 scottsys telegraf[29761]: 2021-04-05T18:47:11Z E! [agent] Error writing to outputs.influxdb: could not write any address
[root@scottsys config]#
However, the error messages have nothing to do with the config shown above!?
These are outputs.influxdb
plugin errors whose config does not appear above.
Also, I had written to please post the telegraf config in markdown format…