Sorry for the confusion - I had temporarily unlocked the telegraf user account so that I could login and manually run the command once. I misunderstood your request - my mistake. I have since put the account back the way it was.
I have followed your steps. Here are the results. They seem consistent with what I had been seeing before.
[global_tags]
[agent]
hostname = "host1"
omit_hostname = false
interval = "1m"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "1m"
flush_jitter = "0s"
precision = ""
logfile = "/var/log/telegraf/telegraf.log"
debug = false
quiet = false
[[inputs.redfish]]
address = "https://host1-obm.ourdomain.com/redfish/v1/"
username = "root"
password = "ourrootpassword"
computer_system_id="System.Embedded.1"
insecure_skip_verify = true
[[outputs.file]]
files = ["/tmp/telegraf-debugging"]
[root@host1 telegraf]# systemctl start telegraf
[root@host1 telegraf]# cat /var/log/telegraf/telegraf.log
2023-11-03T19:02:24Z I! Starting Telegraf 1.28.1 brought to you by InfluxData the makers of InfluxDB
2023-11-03T19:02:24Z I! Available plugins: 240 inputs, 9 aggregators, 29 processors, 24 parsers, 59 outputs, 5 secret-stores
2023-11-03T19:02:24Z I! Loaded inputs: redfish
2023-11-03T19:02:24Z I! Loaded aggregators:
2023-11-03T19:02:24Z I! Loaded processors:
2023-11-03T19:02:24Z I! Loaded secretstores:
2023-11-03T19:02:24Z I! Loaded outputs: file
2023-11-03T19:02:24Z I! Tags enabled: host=host1
2023-11-03T19:02:24Z I! [agent] Config: Interval:1m0s, Quiet:false, Hostname:"host1", Flush Interval:1m0s
2023-11-03T19:03:00Z E! [inputs.redfish] Error in plugin: Get "https://host1-obm.ourdomain.com/redfish/v1/Systems/System.Embedded.1": Forbidden
[root@host1 telegraf]# cat /tmp/telegraf-debugging
[root@host1 telegraf]#
[root@host1 telegraf]# systemctl stop telegraf
[root@host1 telegraf]# rm /var/log/telegraf/telegraf.log
rm: remove regular file '/var/log/telegraf/telegraf.log'? y
[root@host1 telegraf]# sudo -u telegraf /usr/bin/telegraf --once
[root@host1 telegraf]# cat /var/log/telegraf/telegraf.log
2023-11-03T19:04:27Z I! Starting Telegraf 1.28.1 brought to you by InfluxData the makers of InfluxDB
2023-11-03T19:04:27Z I! Available plugins: 240 inputs, 9 aggregators, 29 processors, 24 parsers, 59 outputs, 5 secret-stores
2023-11-03T19:04:27Z I! Loaded inputs: redfish
2023-11-03T19:04:27Z I! Loaded aggregators:
2023-11-03T19:04:27Z I! Loaded processors:
2023-11-03T19:04:27Z I! Loaded secretstores:
2023-11-03T19:04:27Z I! Loaded outputs: file
2023-11-03T19:04:27Z I! Tags enabled: host=host1
2023-11-03T19:04:28Z I! [agent] Hang on, flushing any cached metrics before shutdown
2023-11-03T19:04:28Z I! [agent] Stopping running outputs
[root@host1 telegraf]# cat /tmp/telegraf-debugging
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=0,name=CPU1\ Temp,state=Enabled upper_threshold_critical=103,lower_threshold_critical=3,reading_celsius=48 1699038268000000000
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=1,name=CPU2\ Temp,state=Enabled lower_threshold_critical=3,reading_celsius=44,upper_threshold_critical=103 1699038268000000000
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=2,name=System\ Board\ Inlet\ Temp,state=Enabled lower_threshold_critical=-7,reading_celsius=22,upper_threshold_critical=42 1699038268000000000
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=3,name=System\ Board\ Exhaust\ Temp,state=Enabled reading_celsius=38,upper_threshold_critical=80,lower_threshold_critical=3 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=0,name=System\ Board\ Fan1A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=1,name=System\ Board\ Fan1B,state=Enabled reading_rpm=7560i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=2,name=System\ Board\ Fan2A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=3,name=System\ Board\ Fan2B,state=Enabled reading_rpm=7560i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=4,name=System\ Board\ Fan3A,state=Enabled reading_rpm=8160i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=5,name=System\ Board\ Fan3B,state=Enabled lower_threshold_critical=480i,reading_rpm=7800i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=6,name=System\ Board\ Fan4A,state=Enabled lower_threshold_critical=480i,reading_rpm=8040i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=7,name=System\ Board\ Fan4B,state=Enabled reading_rpm=7680i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=8,name=System\ Board\ Fan5A,state=Enabled reading_rpm=8160i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=9,name=System\ Board\ Fan5B,state=Enabled lower_threshold_critical=480i,reading_rpm=7680i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=10,name=System\ Board\ Fan6A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=11,name=System\ Board\ Fan6B,state=Enabled reading_rpm=7680i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=12,name=System\ Board\ Fan7A,state=Enabled reading_rpm=8160i,lower_threshold_critical=480i 1699038268000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=13,name=System\ Board\ Fan7B,state=Enabled reading_rpm=7560i,lower_threshold_critical=480i 1699038268000000000
redfish_power_powercontrol,address=host1-obm.ourdomain.com,host=host1,member_id=0,name=System\ Power\ Control power_consumed_watts=255,power_requested_watts=1176.71069335938,average_consumed_watts=255,interval_in_min=1i,min_consumed_watts=253,power_allocated_watts=840,power_available_watts=0,power_capacity_watts=1120,max_consumed_watts=281 1699038268000000000
redfish_power_powersupplies,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=0,name=PS1\ Status,state=Enabled power_output_watts=113.125,line_input_voltage=204,last_power_output_watts=113.125,power_capacity_watts=800,power_input_watts=126.5 1699038268000000000
redfish_power_powersupplies,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=1,name=PS2\ Status,state=Enabled power_input_watts=127.25,power_output_watts=113.375,line_input_voltage=208,last_power_output_watts=113.375,power_capacity_watts=800 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=39,name=CPU1\ VCORE\ VR,state=Enabled reading_volts=1.77 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=40,name=CPU2\ VCORE\ VR,state=Enabled reading_volts=1.77 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=41,name=CPU1\ MEM0123\ VR,state=Enabled reading_volts=1.21 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=42,name=CPU1\ MEM4567\ VR,state=Enabled reading_volts=1.21 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=43,name=CPU2\ MEM0123\ VR,state=Enabled reading_volts=1.21 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=44,name=CPU2\ MEM4567\ VR,state=Enabled reading_volts=1.21 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=45,name=PS1\ Voltage\ 1,state=Enabled reading_volts=204 1699038268000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=46,name=PS2\ Voltage\ 2,state=Enabled reading_volts=208 1699038268000000000
[root@host1 telegraf]#
[root@host1 telegraf]# rm /var/log/telegraf/telegraf.log
rm: remove regular file '/var/log/telegraf/telegraf.log'? y
[root@host1 telegraf]# rm /tmp/telegraf-debugging
rm: remove regular file '/tmp/telegraf-debugging'? y
[root@host1 telegraf]# sudo -u telegraf /usr/bin/telegraf
2023-11-03T19:11:45Z I! Loading config: /etc/telegraf/telegraf.conf
[From another terminal]
[root@host1 telegraf]# cat /var/log/telegraf/telegraf.log
2023-11-03T19:11:45Z I! Starting Telegraf 1.28.1 brought to you by InfluxData the makers of InfluxDB
2023-11-03T19:11:45Z I! Available plugins: 240 inputs, 9 aggregators, 29 processors, 24 parsers, 59 outputs, 5 secret-stores
2023-11-03T19:11:45Z I! Loaded inputs: redfish
2023-11-03T19:11:45Z I! Loaded aggregators:
2023-11-03T19:11:45Z I! Loaded processors:
2023-11-03T19:11:45Z I! Loaded secretstores:
2023-11-03T19:11:45Z I! Loaded outputs: file
2023-11-03T19:11:45Z I! Tags enabled: host=host1
2023-11-03T19:11:45Z I! [agent] Config: Interval:1m0s, Quiet:false, Hostname:"host1", Flush Interval:1m0s
[root@host1 telegraf]# cat /tmp/telegraf-debugging
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=0,name=CPU1\ Temp,state=Enabled reading_celsius=48,upper_threshold_critical=103,lower_threshold_critical=3 1699038721000000000
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=1,name=CPU2\ Temp,state=Enabled lower_threshold_critical=3,reading_celsius=44,upper_threshold_critical=103 1699038721000000000
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=2,name=System\ Board\ Inlet\ Temp,state=Enabled reading_celsius=22,upper_threshold_critical=42,lower_threshold_critical=-7 1699038721000000000
redfish_thermal_temperatures,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=3,name=System\ Board\ Exhaust\ Temp,state=Enabled lower_threshold_critical=3,reading_celsius=39,upper_threshold_critical=80 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=0,name=System\ Board\ Fan1A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=1,name=System\ Board\ Fan1B,state=Enabled lower_threshold_critical=480i,reading_rpm=7560i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=2,name=System\ Board\ Fan2A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=3,name=System\ Board\ Fan2B,state=Enabled lower_threshold_critical=480i,reading_rpm=7680i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=4,name=System\ Board\ Fan3A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=5,name=System\ Board\ Fan3B,state=Enabled lower_threshold_critical=480i,reading_rpm=7800i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=6,name=System\ Board\ Fan4A,state=Enabled lower_threshold_critical=480i,reading_rpm=8040i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=7,name=System\ Board\ Fan4B,state=Enabled lower_threshold_critical=480i,reading_rpm=7680i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=8,name=System\ Board\ Fan5A,state=Enabled lower_threshold_critical=480i,reading_rpm=8280i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=9,name=System\ Board\ Fan5B,state=Enabled lower_threshold_critical=480i,reading_rpm=7800i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=10,name=System\ Board\ Fan6A,state=Enabled reading_rpm=8160i,lower_threshold_critical=480i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=11,name=System\ Board\ Fan6B,state=Enabled lower_threshold_critical=480i,reading_rpm=7680i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=12,name=System\ Board\ Fan7A,state=Enabled lower_threshold_critical=480i,reading_rpm=8160i 1699038721000000000
redfish_thermal_fans,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=13,name=System\ Board\ Fan7B,state=Enabled reading_rpm=7560i,lower_threshold_critical=480i 1699038721000000000
redfish_power_powercontrol,address=host1-obm.ourdomain.com,host=host1,member_id=0,name=System\ Power\ Control interval_in_min=1i,min_consumed_watts=253,power_allocated_watts=840,power_available_watts=0,power_requested_watts=1176.71069335938,max_consumed_watts=281,power_capacity_watts=1120,power_consumed_watts=255,average_consumed_watts=255 1699038721000000000
redfish_power_powersupplies,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=0,name=PS1\ Status,state=Enabled power_input_watts=126.5,power_output_watts=113.5,line_input_voltage=204,last_power_output_watts=113.5,power_capacity_watts=800 1699038721000000000
redfish_power_powersupplies,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=1,name=PS2\ Status,state=Enabled power_input_watts=127.25,power_output_watts=113.875,line_input_voltage=208,last_power_output_watts=113.875,power_capacity_watts=800 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=39,name=CPU1\ VCORE\ VR,state=Enabled reading_volts=1.77 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=40,name=CPU2\ VCORE\ VR,state=Enabled reading_volts=1.77 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=41,name=CPU1\ MEM0123\ VR,state=Enabled reading_volts=1.21 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=42,name=CPU1\ MEM4567\ VR,state=Enabled reading_volts=1.21 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=43,name=CPU2\ MEM0123\ VR,state=Enabled reading_volts=1.21 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=44,name=CPU2\ MEM4567\ VR,state=Enabled reading_volts=1.21 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=45,name=PS1\ Voltage\ 1,state=Enabled reading_volts=204 1699038721000000000
redfish_power_voltages,address=host1-obm.ourdomain.com,health=OK,host=host1,member_id=46,name=PS2\ Voltage\ 2,state=Enabled reading_volts=208 1699038721000000000
[root@host1 telegraf]#