Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4771

Bulk add/modfiy ipmi-interfaces for existing devices

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • Professional Edition
    • Discovery

    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

        1. add_ipmi.php
          3 kB
          Rajko Albrecht

        Activity

          People

            landy Mike Stupalov
            albrecht Rajko Albrecht
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: