![Cyclades AlterPath ACS Command Reference Manual Download Page 186](http://html.mh-extra.comalterpath-acs_command-reference-manual_2703907186.png)
170
Administration
Some examples of defining actions:
1) To send e-mail:
destination <ident> { pipe(‘/dev/cyc_alarm’ template(‘sendmail
<pars>’));};
where ident: uniquely identifies this destination. Parameters:
•
-t <name>[,<name>]
- To address
•
[-c <name>[,<name>]]
- CC address
•
[-b <name>[,<name>]]
- Bcc address
•
[-r <name>[,<name>]]
- Reply-to address
•
-f <name>
- From address
•
-s \"<text>\"
- Subject
•
-m \”<text message>\”
- Message
•
-h <IP address or name>
- SMTP server
•
[-p <port>]
- Port used. default:25
To mount the message, use this macro:
•
$FULLDATE
- The complete date when the message was sent.
•
$FACILITY
- The facility of the message.
•
$PRIORITY or $LEVEL
- The priority of the message.
udp("<ip
address>"
port(number);)
and
tcp("<ip
address>"
port(number);)
This driver sends messages to another host (ip address/
port) using either UDP or TCP protocol.
program(<pro-
gram name and
arguments>)
This driver fork()'s executes the given program with the
arguments and sends messages down to the stdin of the
child.
usertty(<user-
name>)
This driver writes messages to the terminal of a logged-
in username.
Table 5-4:
“Destination Drivers” parameters (Syslog-ng
configuration)
Option
Description
Summary of Contents for AlterPath ACS
Page 16: ...xvi Table of Contents...
Page 29: ...13 This page has been left intentionally blank...
Page 30: ...14 Preface...
Page 68: ...52 Device Access...
Page 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Page 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Page 114: ...98 Authentication...
Page 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Page 268: ...252 Power Management with AlterPath PM Integration...
Page 304: ...288 PCMCIA Cards Integration...
Page 338: ...322 Profile Configuration...
Page 364: ...348 Additional Features and Applications...
Page 376: ...360 Appendix A New User Background Information...
Page 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Page 418: ...402 List of Tables...
Page 420: ...404 List of Figures...