![Black Box LS1016A User Manual Download Page 266](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435266.webp)
Syslog
266
BLACK BOX
®
Advanced Console Server
destination d_pager {
pipe(‘/dev/cyc_alarm’
template(‘sendsms -d 123 -m \’$FULLDATE $HOST $MSG\’ 10.0.0.1’));
};
3) To send snmptrap:
destination <ident> {pipe(‘/dev/cyc_alarm’ template(‘snmptrap
<pars>’)); };
where ident : uniquely identify this destination
pars : -v 1
<snmptrapd IP address>
public : community
\"\" : enterprise-oid
\"\" : agent/hostname
<trap number> : 2-Link Down, 3-Link Up, 4-Authentication Failure
0 : specific trap
\"\" : host-uptime
.1.3.6.1.2.1.2.2.1.2.1 :interfaces.iftable.ifentry.ifdescr.1
s : the type of the next field (it is a string)
\"<message - max. size 250 characters>\"
Example to send a Link Down trap to server at 10.0.0.1 with message carrying the current
date, the hostname of this BLACK BOX
®
Advanced Console Server and the message that was
received from the source:
destination d_trap {
pipe("/dev/cyc_alarm"