Details
Description
We had to add about 150 devices at once, each with IPMI. For adding we used of course the add_device.php script (very useful!).
But in current version of observium we would have to go to each config of a device to assign an IPMI interface - of course not usable.
So I wrote a script "add_ipmi.php" which is located in root-folder of observium. With this we could assign IPMI interfaces in bulk.
for hi in {1..128}
do
{{ ./add_ipmi.php -h m${hi}.compute }}
{{ --ipmi-level administrator }}
{{ --ipmi-host m${hi}-ipmi.service }}
{{ --ipmi-interface lanplus }}
{{ --ipmi-user ADMIN }}
--ipmi-pass XXXX
done
I think this could be very helpful - if you like you can take this, too.