AlterPath ACS Command Reference Guide
187
Administration
•
alarm
- Activates/Deactivates the alarm feature. If you don't
enable it, syslog messages won’t be generated when there is
incoming data from the ports.
•
delete
- Deletes any previously configured string.
•
edit
- Edit any previously configured string.
Example:
The below example will configure the ACS to send an e-mail every time
root user logs into a server connected to the a port. We will configure the
trigger string as “root login”. Note that the server connected to the ACS
must be properly configured to send Syslog messages.
1. Open the CLI interface by issuing the command:
# CLI
a.
Enable Alarm Notification.
You need to enable this option, otherwise messages received in the ports will be ignored and
not treated by Syslog-ng.
cli> config administration notifications alarm yes
a.
Add the trigger string.
Here you need to configure what string will trigger the e-mail notification. In our case it will
be “root login”.
cli> config administration notifications addemail "root login"
a.
Configure the necessary parameters.
For sending an e-mail the following parameters need to be configured:
add Email>body "Testing configuration"
add Email>from ACS
add Email>to [email protected]
add Email>smtpserver 200.200.200.2
add Email>smtpport 25
add Email>subject "Testing Config"
The above commands configure the from/to fields, SMTP server/port and the subject/body of
the e-mail message.
a.
Activate the configuration.
cli> config runconfig
a.
Save the configuration.
cli> config savetoflash
a.
Exit the CLI mode.
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...