hpionIBMblade(1)

πŸ’… hpionIBMblade β€” an OpenHPI sample app (that's hpionIBMblade(1) in the OpenHPI manual, bestie)

okay so picture this: you've got an IBM Blade with a Basedboard Management Controller (BMC), and you've got two openhpi plugins that both want to talk about it. This little demo app is literally the blueprint for making them share. ✨


🌸 SYNOPSIS 🌸

 hpionIBMblade [-D nn] [-N host[:port]] [-C <cfgfile>] [ -X ] [ -h ]
 hpionIBMblade [--domain nn] [--host=host[:port]] [--cfgfile=file] [--debug] [--help]

πŸ¦‹ DESCRIPTION πŸ¦‹

So hpionIBMblade is a sample application that shows how two (2) openhpi plugins can be used to display and manage resources of an IBM Blade with Basedboard Management Controller (BMC). That's the whole vibe. 🫢

Here's the cute part: both the ipmi and snmp_bc plugin have the same IBM Blade target, and the resources from both plugins get combined so you see one complete view of the IBM Blade. Two plugins, one blade, zero drama. πŸ‘‘

⚠️ @@ WARNING @@ RESTRICTIONS @@ WARNING @@ RESTRICTIONS @@ WARNING @@ RESTRICTIONS @@ ⚠️ This client application is designed to run only inband on an IBM Blade with Basedboard Management Controller (BMC). Like, only only. Do not come in out-of-band expecting a slay. 🚫

And if no domain or host is selected, hpionIBMblade uses the default domain as specified in the openhpiclient.conf file. Easy. πŸ’–


✨ OPTIONS ✨

πŸŽ€ Help Options πŸŽ€

  • -h, --help β€” Show help options. The classic "what does this do again" button, we love her.

πŸ’œ Application Options πŸ’œ

  • -D nn, --domain=nn β€” Select domain id nn. Pick your domain, bestie.
  • -X, --debug β€” Display debug messages. Turn it on when you want the app to overshare.
  • -N "host[:port]", --host="host[:port]" β€” Open session to the domain served by the daemon at the specified URL (host:port). This option overrides the OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT environment variables. If host contains ':' (for example an IPv6 address) then enclose it in square brackets. For example: "[::1]" or "[::1]:4743". IPv6 girlies, the brackets are not optional, I'm sorry. 😭
  • -C "file", --cfgfile="file" β€” Use passed file as client configuration file. This option overrides the OPENHPICLIENT_CONF environment variable. Your config, your rules. πŸ“

🌈 SAMPLE CONFIGURATION FILE 🌈

fr fr just copy this and adjust the bits that are yours:

   handler libipmi        {
       entity_root = "{SYSTEM_CHASSIS,2}"
       name = "smi"
       addr = 0
   }

   handler libsnmp_bc {
       host = "bc.mm.ip.address"
       version = "3"
       community = "bc_community"
       entity_root = "{SYSTEM_CHASSIS,1}"
       security_name = "myid"
       passphrase = "mypassword"
       security_level = "authNoPriv"
       auth_type = "MD5"
   }

Two handlers, two plugins, one combined view. it's giving teamwork. 🧚


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, in original order:

  • hpi_shell
  • hpialarms
  • hpifan
  • hpireset
  • hpitop
  • hpidomain
  • hpigensimdata
  • hpisensor
  • hpitree
  • hpiel
  • hpiiinv
  • hpisettime
  • hpiwdt
  • hpievents
  • hpipower
  • hpithres
  • hpixml
  • ohdomainlist
  • ohhandler
  • ohparam

πŸ‘‘ AUTHORS πŸ‘‘

Authors of this man page β€” show some respect, they ate:

  • Peter D Phan (pdphan@users.sourceforge.net)
  • Ulrich Kleber (ulikleber@users.sourceforge.net)
  • Anton Pak (avpak@users.sourceforge.net)

k bye bestie πŸ’… this was hpionIBMblade(1) from OpenHPI, version 4.0.0, dated 2023-01-26 β€” mwah, go read the config file and stan two plugins at once πŸ¦‹