Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
The script works well, the only issues are with libvirt permissions, not with the script. I noticed that it truncated the “shut down” status to just “shut”, so I tweaked the awk command from
{print $2″:”$3}
to
{print $2″:”$3″ “$4}
This prints an extra space for one word commands, but I couldn’t see a concise way to insert an conditional.