Reputation: 93
I am using snmp traps and i am able to send the traps from the commandline with snmptrap. There i need to define the sink for the snmp trap but the IP address is configurable via a configuration. The configuration writes the IP address in the snmp.conf file as trap2sink. Is there a possibility to call the snmptrap command without an ip address and that the trap is then automatically send to the defined sink in the config file?!
Upvotes: 0
Views: 1193
Reputation: 320
Try In your snmp.conf:
defTarget snmptrap domain ip:port
,where
Upvotes: 1