Use the following CLI command to configure a notification that will be sent when the fan status changes:
(config) # snmp-server notify event fanchange