25.04.1 UPS / ipmi issues / bug / improvements

another fangtooth issue I think

first… APC ups connected to server via usb… stats are shown in the reports

bug
estimated runtime is in DAYS … not minutes… seeing .1 days runtime not a useful stat

improvement
cant find a way to use ipmitool so that I can generate and esxi host shutdown (this is an all in one… but could be used even standalone host) to soft shutdown the host

ipmitool I think should be built into truenas as a standard package and not require dev mode or other breaking workaround .

ipmi is too ubiquitous in todays managed environment and is used everywhere

thanks

If you believe to have a bug, file a Bug Report either on the forums, Report a Bug, at the top right of the forum page or in the TrueNAS GUI, Smile icon is for Feedback and Reporting Bugs.

It is built-in.

% which ipmitool
/usr/bin/ipmitool

you are correct on /usr/bin/ipmitool
not sure why it was giving me fits the other day… working

now trying to figure out if and where truenas may have changed the typical nut… or for me I am more familiar with apcupsd scripts to set the right flags on a shutdown and kill the ups.

I want to issue a soft shutdown via ipmitool, which should trigger vcenter to shutdown all VMs in order, including truenas (last) then kill the host, then kill the ups… had this working via apcupsd when using nappit … thanks

Many have had trouble with killing the UPS power, there is an existing bug report for this on Jira for the past year or so.

Not a bug, really, just a completely stupid way to do it.