IPMI time zone using ipmitool

ipmitool does not, by default tell you what timezone the sel logs are in

[root@test:~] ./ipmitool sel list
1 | 01/06/2021 | 05:58:49 | Unknown | | Asserted
2 | 01/06/2021 | 05:58:49 | Unknown | | Asserted
3 | 01/06/2021 | 05:59:12 | Power Supply #0xc5 | Failure detected () | Asserted
4 | 01/06/2021 | 05:59:42 | Physical Security #0xaa | General Chassis intrusion () | Asserted
5 | 01/06/2021 | 05:59:46 | Power Supply #0xc5 | Failure detected () | Asserted
6 | 01/06/2021 | 06:00:19 | System Event #0xff | PEF Action () | Asserted

the ipmitool sel time get can be used to get BMC time

./ipmitool -I open sel time get
01/24/2021 17:41:26

Can be confirmed using hwclock

hwclock
17:41:23 01/24/2021 UTC

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *