I have an alert on my windows 2008R2 indexer that calls sendsnmptrap.cmd (see link to script below). My question is in this script it says to "Edit the agent host, port, community, and snmptrap.exe command path" which I did but I am unsure of if what the "set SNMPAGENTHOST= " should be. In their example they had the local loopback address 127.0.0.1 but if I put the ip of the indexer that doesn't work should it be the ip of my Network Management Server?
Thanks!
http://wiki.splunk.com/Community:Sending_SNMP_Traps_On_Windows
Its the IP / hostname of your NMS.