NVIDIA UFM Enterprise User Manual

Appendix – UFM Event Forwarder

UFM event forwarding enables forwarding the UFM events to Fluentd.

2020-10-13 19:40:10.183000000 +0000 fluent_bit: {"pri":"10","logger":"eventlog","pid":"119194","severity":"CRITICAL","time":"2020-10-13 19:40:10.183","index":"17","id":"394","event_severity":"CRITICAL","site":"ufm-nvidia-test","category":"Module_Status","object":"Switch","object_desc":"[default(4) / Switch: r-ufm-sw121 / NA / NA] [dev_id: 0c42a1030060acd0]","message":"Module PS 1 on r-ufm-sw121(10.209.36.90) status is fatal\u0000"}

To configure UFM events forwarder:

  1. Enable sending UFM events to UFM events forwarder (internal) container. Run: 

    ufmapl [mgmt-ha-active] (config) # ufm logging syslog enable
    ufmapl [mgmt-ha-active] (config) # ufm logging syslog ufm-events enable
    
  2. Set the UFM events forwarder (internal) container IPv4 address and listening port. Run: 

    ufmapl [mgmt-ha-active] (config) ufm logging syslog 127.0.0.1:5140
    
  3. Enable docker service. Run: 

    ufmapl [mgmt-ha-active] (config) # no docker shutdown
    
  4. Deploy the container. Run:

    ufmapl [mgmt-ha-active] (config) # docker pull mellanox/ufm-events-forwarder
    
  5. Enable forwarding the UFM events. Run: 

    ufmapl [mgmt-ha-active] (config) # ufm events-forwarder enable
    
  6. Set the Fluentd IPv4 address and listening port. Run: 

    ufmapl [mgmt-ha-active] (config) # ufm events-forwarder server ip 10.215.1.7 port 24224
    
  7. Set UFM site name. Run: 

    ufmapl [mgmt-ha-active] (config) # ufm site-name ufm.nvidia-test.net
    
  8. Save the configuration changes. Run: 

    ufmapl [mgmt-ha-active] (config) # configuration write
    
  9. Once all configurations are set, start the UFM service. Run: 

    ufmapl [mgmt-ha-active] (config) # ufm start
    

For more information regarding the commands used, please refer to the UFM Appliance Command Reference Guide.

Last updated: