11. Program and Script syntax reference
11.1 Alert Server Binaries
These are in the main
alert toolkit installation directory.
- alert_collector_server
Syntax: alert_collector_server [ port [ ipaddrtolistenon ] ]
Example: ./alert_collector_server 9003 169.218.154.30
- alert_console
Syntax: alert_console port ipaddress [ONCEONLY] [LINELEN=nn] [NUMLINES=nn] [BLINKOFF]]
Example: example:alert_console 9003 169.218.154.30 NUMLINES=20
- clean_shutdown
Syntax: clean_shutdown port ipaddr
Example: clean_shutdown 9003 169.218.154.30
- log_parser
This is quite complicated, refer to the
full manual page
- raise_alert
Syntax: raise_alert portnum ipaddr critical|warning|harmless|info|logonly|clearall key "text"
Example: raise_alert 9003 169.218.154.30 critical TEST_1 "Test alert"
- reload_alerts
Syntax: reload_alerts port ipaddr logfile
Example: ./reload_alerts 9003 169.218.154.30 logs/log_20031215.log
- Alert_Console_Application.jar
Syntax: java -jar Alert_Console_Application.jar hostname 9003
Example: java -jar Alert_Console_Application.jar falcon 9003
For running as an applet see the full manual
page
11.2 Alert server scripts
These are in the directory scripts under the main
alert toolkit installation directory.
11.3 Sample batch jobs
These are in the directory samples under the alert toolkit
installation directory. Refer to the README file in that
directory for the purpose of the sample scripts.
11.4 Automation samples
These are in the directory automation under the alert toolkit
installation directory if provided.
End of chapter 11