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.
Attachments
Activity
Comment |
[ _*General questions and device support can be discussed in [our Discord channel, click here to join|https://discord.gg/GjpNXKWm8W].*_ ---- Please make and attach additional information about the device: * full snmp dump from device: {noformat} snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk {noformat} _If device not support SNMP version 2c, replace -v2c with -v1._ * If you have problems with discovery or poller processes, please do and attach these debugs: {noformat} ./discovery.php -d -h <device> ./poller.php -d -h <device> {noformat} * additionally attach device and/or vendor specific MIB files ---- {color:#505F79}_This comment is added automatically._{color} ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |