How do i send syslog messages to a node details page widget.

I am trying to add this syslog widget but nothing ever shows, i know maybe i did a wrong command on my switch ? since i am fairly new at this, i only added this command to my switch 

"snmp-server enable traps syslog"  am i doing this right ? if someone has a working syslog widget can you guide me on how to set it up please? 

Thank you.