Ad Widget

Collapse

IPMI System Event Logs supported?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kurono
    Junior Member
    • Oct 2014
    • 1

    #1

    IPMI System Event Logs supported?

    Hi,

    I would like to ask if ZABBIX allows to read IPMIs System Event Log (SEL),
    and if possible to process the information gathered there to e.g. send alerts.
    Also is it possible to automatically clear this log?

    I know that there are ways to do that with ipmitool, but I could not find if
    it can be done with ZABBIX:

    * To list the content of the SEL: ipmitool -I lanplus -H node -U foo -P bar sel list
    * To clear the content of the SEL: ipmitool -I lanplus -H node -U foo -P bar sel clear

    Or maybe the only possible way is with an external script.

    Many thanks for you work,
    kurono
  • vchrizz
    Junior Member
    • Jul 2017
    • 18

    #2
    currently i am using zabbix 3.2.8 and was looking for the same...

    setup another user via ipmi (see this link: Benutzer mit USER privilege level)
    Code:
    ipmitool -H 192.168.1.200 -U admin -P mysecretadminpw user set name 3 monitor
    ipmitool -H 192.168.1.200 -U admin -P mysecretadminpw user set password 3
    (enter 2x password for monitor user, i entered "monitor" twice)
    ipmitool -H 192.168.1.200 -U admin -P mysecretadminpw channel setaccess 1 3 link=on ipmi=on callin=on privilege=2
    ipmitool -H 192.168.1.200 -U admin -P mysecretadminpw user enable 3
    created sel_last_entry.sh (in /usr/lib/zabbix/externalscripts/) and make it executeable with chmod +x
    Code:
    #!/bin/bash
    ipmitool -H 192.168.1.200 -L USER -U monitor -P monitor sel list | tail -n 1
    created item in zabbix:
    Code:
    Name: System Event Log
    Type: External check
    Key: sel_last_entry.sh
    Type of information: Log
    Update interval (in sec): 3600
    created trigger in zabbix: (you may need to change the template name where you added the item)
    Code:
    Name: IPMI: System Event Log entries found
    Severity: Warning
    Expression: {Template IPMI ASUS ASMB4:sel_last_entry.sh.regexp(^SEL has no entries$)}=0
    hope it helps.
    Last edited by vchrizz; 11-10-2017, 00:53.

    Comment

    • andris
      Zabbix developer
      • Feb 2012
      • 228

      #3
      I would like to ask if ZABBIX allows to read IPMIs System Event Log (SEL)...
      Reading of SEL is not supported. Only sensors can be read.
      You can create a feature request and people can vote for it.
      Last edited by andris; 11-10-2017, 09:56.

      Comment

      • Alex001
        Junior Member
        • Jun 2018
        • 27

        #4
        Hi!
        the situation is still the same? SEL is not supported?

        Comment

        • andris
          Zabbix developer
          • Feb 2012
          • 228

          #5
          Originally posted by Alex001
          Hi!
          the situation is still the same? SEL is not supported?
          Yes. No plans for SEL support now.

          Comment

          Working...