Ad Widget

Collapse

IPMI IP Address Macro name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arjen9999
    Junior Member
    • Dec 2009
    • 7

    #1

    IPMI IP Address Macro name

    I'm looking for a way to use a macro in an external script with the ip address of the IPMI controller added to the host profile.

    I found one reference to this addition

    [DEV-272] added support of { HOSTNAME}, {HOST.CONN}... macros for "IPMI IP address"

    The documentation does not mention the macro name. Can anyone point me in the right direction?
  • lseror
    Junior Member
    • Aug 2011
    • 5

    #2
    Looking for that info too

    I use IPMI also, and it is very good to get temperature, etc. But for memory errors, I need the number and the following status in the next column.

    Today I got :

    DDR3_P2_D1_ECC | 0 error | ok
    DDR3_P2_D2_ECC | 0 error | ok
    DDR3_P2_E1_ECC | 0 error | ok
    DDR3_P2_E2_ECC | 0 error | ok
    DDR3_P2_F1_ECC | 255 error | nr
    DDR3_P2_F2_ECC | 0 error | ok
    DDR3_P1_A1_ECC | 0 error | ok
    DDR3_P1_A2_ECC | 0 error | ok
    DDR3_P1_B1_ECC | 0 error | ok
    DDR3_P1_B2_ECC | 0 error | ok
    DDR3_P1_C1_ECC | 0 error | ok
    DDR3_P1_C2_ECC | 0 error | ok

    I capture the 255 very easily with IPMI, but not the "nr".

    I made a simple script to get it :

    /usr/bin/ipmitool -H $1 -L User -U zabbix -P zabbix sdr | grep $2 | awk '{print $6}'

    but I need to pass the ipmi address as a parameter in the template of the associated item. I cannot find the macro name for the ipmi address that is filled in each server.

    Regards,
    Laurent

    Comment

    • cosmobot
      Junior Member
      • Aug 2009
      • 14

      #3
      Any news\ progress there ?

      Comment

      • lseror
        Junior Member
        • Aug 2011
        • 5

        #4
        follow up

        I did not find a macro for the IPMI IP Address, so I just add one in the host configuration called {$IPMI}. I when use this macro when registering the IPMI IP Address in the same configuration window.

        That enable me to use it wherever I need to.

        L.

        Comment

        Working...