How can I sent SNMP notification in Ambari, I have read this and do the required configuration, but when I use this command:
nohup snmptrapd -m ALL -A -n -Lf /traps.log & to see notification I don't find any thing in the log file ( except the version of snmp). thank you in advance for help
You can do this through Ambari UI. Go to Alerts page, select "Manage Notifications" under the Actions button.
See the images below.
You can select either EMAIL or SNMP in the method field:
thank you for responding, but yeah that what I did and when I traied to see the notifications using this command :
nohup snmptrapd -m ALL -A -n -Lf /traps.log &
I find the log file(traps.log) empty, as if there is no logs