Telegraf + Influxdb show false value metrics on grafana

I use ipmi_sensor plugin to monitoring some host, and wnna got temperature OUTLET/INLET it got just 1 degress

it always return timeout too =

2017-06-14T23:01:33Z E! Error in plugin [inputs.ipmi_sensor]: failed to run command /usr/bin/ipmitool -H 10.16.100.65 -U USERID -P PASSW0RD -I lan sdr: Command timed out.

please help to solve :slight_smile:

here is my config =

[global_tags]

[agent]
interval = β€œ60s”
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = β€œ0s”
flush_interval = β€œ10s”
flush_jitter = β€œ0s”
precision = β€œβ€
debug = false
quiet = false
logfile = β€œβ€
hostname = β€œβ€
omit_hostname = false

[[outputs.influxdb]]
urls = [β€œhttp://localhost:8086”] # required
database = β€œtelegraf” # required
retention_policy = β€œβ€
write_consistency = β€œany”
timeout = β€œ0s”

[[inputs.ipmi_sensor]]
path = β€œ/usr/bin/ipmitool”
servers = [β€œroot:changeme@lan(10.16.100.21)”,β€œUSERID:PASSW0RD@lan(10.16.100.64)”]

timeout = β€œ60s”
interval = β€œ300s”

What is the output of sudo -u telegraf /usr/bin/ipmitool -H 10.16.100.65 -U USERID -P PASSW0RD -I lan sdr?

I just need to capture the temperature metrics

Here is =

root@monitoring:/etc/telegraf# sudo -u telegraf /usr/bin/ipmitool -H 10.16.100.65 -U USERID -P PASSW0RD -I lan sdr
SysBrd 3.3V | 3.31 Volts | ok
SysBrd 5V | 5.11 Volts | ok
SysBrd 12V | 12.14 Volts | ok
CMOS Battery | 3.13 Volts | ok
Avg Power | 270 Watts | ok
CPU Power | no reading | ns
DIMM Power | no reading | ns
Fan 1 Power | no reading | ns
Fan 2 Power | no reading | ns
Fan 3 Power | no reading | ns
Fan 4 Power | no reading | ns
Fan 5 Power | no reading | ns
Fan 6 Power | no reading | ns
Fan 7 Power | no reading | ns
Fan 8 Power | no reading | ns
Fan 9 Power | no reading | ns
Fan 10 Power | no reading | ns
Sys Utilization | 26 unspecified | ok
CPU Utilization | 25 unspecified | ok
Mem Utilization | 0 unspecified | ok
IO Utilization | 0 unspecified | ok
PCH Temp | 62 degrees C | ok
Ambient Temp | 23 degrees C | ok
RS1 RR Amb Temp | 41 degrees C | ok
RS2 RR Amb Temp | 36 degrees C | ok
MID1 RR Amb Temp | 36 degrees C | ok
MID2 RR Amb Temp | 35 degrees C | ok
RAID RR Amb Temp | 39 degrees C | ok
PSU FR Amb Temp | 30 degrees C | ok
Fan 1A Tach | 5074 RPM | ok
Fan 1B Tach | no reading | ns
Fan 2A Tach | 4248 RPM | ok
Fan 2B Tach | no reading | ns
Fan 3A Tach | 5133 RPM | ok
Fan 3B Tach | no reading | ns
Fan 4A Tach | 5133 RPM | ok
Fan 4B Tach | no reading | ns
Fan 5A Tach | 5133 RPM | ok
Fan 5B Tach | no reading | ns
Fan 6A Tach | 4248 RPM | ok
Fan 6B Tach | no reading | ns
Fan Riser1A Tach | no reading | ns
Fan Riser1B Tach | no reading | ns
Fan Riser2A Tach | no reading | ns
Fan Riser2B Tach | no reading | ns
CPU1 VR Temp | 25 degrees C | ok
CPU2 VR Temp | 20 degrees C | ok
DIMM AB VR Temp | 37 degrees C | ok
DIMM CD VR Temp | 34 degrees C | ok
DIMM EF VR Temp | 31 degrees C | ok
DIMM GH VR Temp | 30 degrees C | ok
Dimm Chnl 1 Temp | no reading | ns
Dimm Chnl 2 Temp | no reading | ns
Dimm Chnl 3 Temp | no reading | ns
Dimm Chnl 4 Temp | no reading | ns
Dimm Chnl 5 Temp | no reading | ns
Dimm Chnl 6 Temp | no reading | ns
Dimm Chnl 7 Temp | no reading | ns
Dimm Chnl 8 Temp | no reading | ns
Host Power | 0x00 | ok
IPMI Watchdog | 0x00 | ok
Phy Presence Jmp | 0x00 | ok
TPM Cmd Failures | 0x00 | ok
ME Error | 0x00 | ok
ME Flash Error | 0x00 | ok
ME Recovery | 0x00 | ok
Low Security Jmp | 0x00 | ok
Sig Verify Fail | 0x00 | ok
TPM Lock | 0x00 | ok
TXT ACM Module | 0x00 | ok
TPM Phy Pres Set | 0x00 | ok
CPU 1 PECI | 0x00 | ok
CPU 2 PECI | 0x00 | ok
PS Heavy Load | 0x00 | ok
Power Resource | 0x00 | ok
All DIMMS | 0x00 | ok
One of the DIMMs | 0x00 | ok
Backup Memory | 0x00 | ok
OS RealTime Mod | 0x00 | ok
Fan Zone 1 | 0x00 | ok
Fan Zone 2 | 0x00 | ok
Fan Zone 3 | 0x00 | ok
Fan Zone 4 | 0x00 | ok
Drive 0 | 0x00 | ok
Drive 1 | 0x00 | ok
Drive 2 | 0x00 | ok
Drive 3 | 0x00 | ok
Drive 4 | 0x00 | ok
Drive 5 | 0x00 | ok
Drive 6 | 0x00 | ok
Drive 7 | 0x00 | ok
Drive 8 | Not Readable | ns
Drive 9 | Not Readable | ns
Drive 10 | Not Readable | ns
Drive 11 | Not Readable | ns
Drive 12 | Not Readable | ns
Drive 13 | Not Readable | ns
Drive 14 | Not Readable | ns
Drive 15 | Not Readable | ns
Ext Drive | 0x00 | ok
Power Supply 1 | 0x00 | ok
Power Supply 2 | 0x00 | ok
PS Configuration | 0x00 | ok
PS 1 Fan Fault | 0x00 | ok
PS 2 Fan Fault | 0x00 | ok
PS 1 Therm Fault | 0x00 | ok
PS 2 Therm Fault | 0x00 | ok
PS1 12V OV Fault | 0x00 | ok
PS2 12V OV Fault | 0x00 | ok
PS1 12V UV Fault | 0x00 | ok
PS2 12V UV Fault | 0x00 | ok
PS1 12V OC Fault | 0x00 | ok
PS2 12V OC Fault | 0x00 | ok
PS1 12Vaux Fault | 0x00 | ok
PS2 12Vaux Fault | 0x00 | ok
Power Unit | 0x00 | ok
NMI State | 0x00 | ok
Front Panel | 0x00 | ok
FP LCD Cable | 0x00 | ok
Front USB | 0x00 | ok
Front Video | 0x00 | ok
DASD Backplane 1 | 0x00 | ok
DASD Backplane 2 | Not Readable | ns
DASD Backplane 3 | Not Readable | ns
DASD Backplane 4 | Not Readable | ns
DASD Backplane 5 | Not Readable | ns
DASD Backplane 6 | Not Readable | ns
PCI Riser 1 | 0x00 | ok
PCI Riser 2 | 0x00 | ok
ML2 Card | 0x00 | ok
ML2 Card Fault | 0x00 | ok
ML2 OverTemp | Not Readable | ns
PDB Card | 0x00 | ok
Ambient Status | 0x00 | ok
CPU 1 | 0x00 | ok
CPU 2 | 0x00 | ok
ABR Status | 0x00 | ok
All CPUs | 0x00 | ok
One of the CPUs | 0x00 | ok
CPU 1 QPILinkErr | 0x00 | ok
CPU 2 QPILinkErr | 0x00 | ok
No Op ROM Space | 0x00 | ok
I/O Resources | 0x00 | ok
CPU 1 OverTemp | 0x00 | ok
CPU 2 OverTemp | 0x00 | ok
No Boot Device | 0x00 | ok
All PCI Error | 0x00 | ok
PCI 1 | 0x00 | ok
PCI 2 | 0x00 | ok
PCI 3 | 0x00 | ok
PCI 4 | 0x00 | ok
PCI 5 | 0x00 | ok
PCI 6 | 0x00 | ok
PCI 7 | 0x00 | ok
PCI 8 | 0x00 | ok
Internal RAID | 0x00 | ok
One of PCI Error | 0x00 | ok
Aux Log | 0x00 | ok
IMM2 FW Failover | 0x00 | ok
SysBrd Vol Fault | 0x00 | ok
DIMM 1 | 0x00 | ok
DIMM 2 | 0x00 | ok
DIMM 3 | 0x00 | ok
DIMM 4 | 0x00 | ok
DIMM 5 | 0x00 | ok
DIMM 6 | 0x00 | ok
DIMM 7 | 0x00 | ok
DIMM 8 | 0x00 | ok
DIMM 9 | 0x00 | ok
DIMM 10 | 0x00 | ok
DIMM 11 | 0x00 | ok
DIMM 12 | 0x00 | ok
DIMM 13 | 0x00 | ok
DIMM 14 | 0x00 | ok
DIMM 15 | 0x00 | ok
DIMM 16 | 0x00 | ok
DIMM 17 | 0x00 | ok
DIMM 18 | 0x00 | ok
DIMM 19 | 0x00 | ok
DIMM 20 | 0x00 | ok
DIMM 21 | 0x00 | ok
DIMM 22 | 0x00 | ok
DIMM 23 | 0x00 | ok
DIMM 24 | 0x00 | ok
Drive 16 | Not Readable | ns
Drive 17 | Not Readable | ns
Drive 18 | Not Readable | ns
Drive 19 | Not Readable | ns
Drive 20 | Not Readable | ns
Drive 21 | Not Readable | ns
Drive 22 | Not Readable | ns
Drive 23 | Not Readable | ns
Drive 24 | Not Readable | ns
Drive 25 | Not Readable | ns
Drive 26 | Not Readable | ns
Drive 27 | Not Readable | ns
Drive 28 | Not Readable | ns
Drive 29 | Not Readable | ns
Drive 30 | Not Readable | ns
Drive 31 | Not Readable | ns
PCIs | 0x00 | ok
CPUs | 0x00 | ok
DIMMs | 0x00 | ok
SysBrd Fault | 0x00 | ok
Firmware Error | 0x00 | ok
Progress | 0x00 | ok
nvDIMM Flash | 0x00 | ok
X8 PCI 1 Firm | 0x00 | ok
X8 PCI 2 Firm | 0x00 | ok
X8 PCI 6 Firm | 0x00 | ok
X8 PCI 7 Firm | 0x00 | ok
X8 PCI 1 Config | 0x00 | ok
X8 PCI 2 Config | 0x00 | ok
X8 PCI 6 Config | 0x00 | ok
X8 PCI 7 Config | 0x00 | ok
nvDIMM Status | 0x00 | ok
nvDIMM Cable | 0x00 | ok
SEL Fullness | 0x00 | ok
Sys Boot Status | 0x00 | ok
GPT Status | 0x00 | ok
ROM Recovery | 0x00 | ok
Bkup Auto Update | 0x00 | ok
IMM Recovery | 0x00 | ok
IMM Promotion | 0x00 | ok
SMM Monitor | 0x00 | ok
SMM Mode | 0x00 | ok
Rear BP1 Temp | no reading | ns
Rear BP2 Temp | no reading | ns
CPU 1 Temp | 49 degrees C | ok
CPU 2 Temp | 44 degrees C | ok
RAID Vol State | 0x00 | ok
Non-Auth DIMMs | 0x00 | ok
IMM FW Corrupted | 0x00 | ok
PCI 1 Temp | Not Readable | ns
PCI 2 Temp | Not Readable | ns
PCI 3 Temp | Not Readable | ns
PCI 4 Temp | Not Readable | ns
PCI 5 Temp | Not Readable | ns
PCI 6 Temp | Not Readable | ns
PCI 7 Temp | Not Readable | ns
PCI 8 Temp | Not Readable | ns
PCIe Dev Status | Not Readable | ns
PCIe Dev LK Down | 0x00 | ok

I’m not sure why it is unable to complete in time when called by Telegraf, I guess you should open a new issue.

@ridhoyp You said that you will do a Grafana template. I’m interested. I’m actually doing my own so if you want to share our work…