![Black Box LS1016A Скачать руководство пользователя страница 180](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435180.webp)
Generating Alarms
180
BLACK BOX
®
Advanced Console Server
# of this unit and the message that was received from the
source.
destination d_mail1 {
pipe("/dev/cyc_alarm"
template("sendmail -t [email protected] -f [email protected] -s
\"ALARM\"
-m \"$FULLDATE $HOST $MSG\" -h 10.0.0.2"));
};
# Example to send a pager to phone number 123 (Pager 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_pager {
pipe("/dev/cyc_alarm"
template("sendsms -d 123 -m \"$FULLDATE $HOST $MSG\"
10.0.0.1"););
};
# Example to send a Link Down trap to server at 10.0.0.1 with
message carrying the current
# date, the hostname of this unit and the message that
received from the source :
destination d_trap {
pipe("/dev/cyc_alarm"
template("snmptrap -v 1 -c public 10.0.0.1 \"\" \"\" 2 0 \"\"
\
.1.3.6.1.2.1.2.2.1.2.1 s \"$FULLDATE $HOST $MSG\" "););
};
# To send e-mail and snmptrap if message received from local
syslog client has the string "kernel panic" :
Содержание LS1016A
Страница 12: ...Table of Contents 12 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 30: ...Introduction and Overview 30 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 282: ...Time Zone 282 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 406: ...Appendix H Web User Management 406 BLACK BOX Advanced Console Server Figure 43 Access Limit List default page ...
Страница 414: ...Appendix H Web User Management 414 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 439: ...List of Figures User Guide 439 47 Terminal Server diagram 422 48 Ports configured for Dial in Access 424 ...
Страница 440: ...List of Figures 440 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 449: ...This page has been left intentionally blank ...