OneClickExt properties for scriptserver servlet¶
© DICOS GmbH
Connection to scriptserver daemon¶
sl.rmi.port: <port>
sl.rmi.host: <localhost or hostname>
Syslog settings¶
The script server can send a syslog when starting and after finishing a script. A template for the message can be specified. Multiple destinations are supported.
Syslog can be enabled per syslog, configured with the script.
Syslog destination and source¶
sl.syslog.destinations: <host:port) ...
sl.syslog.source: <hostname>
Syslog Format Template¶
Syslogs are sent according to RFC 3164. The template supports the following variables:
| Name | Description |
|---|---|
%PRI% |
Script specific, defined with the script |
%TS% |
start/stop time |
%SCRIPT% |
script name |
%USER% |
authenticated user |
%DEVCOUNT% |
number of devices |
Format Examples:
sl.syslog.format.start: <%PRI%>%TS% %SOURCE% started script %SCRIPT% by user %USER% with %DEVCOUNT% devices
sl.syslog.format.end: <%PRI%>%TS% %SOURCE% completed script %SCRIPT% started by user %USER% with %DEVCOUNT% devices
Output history¶
The output of the scripts can be viewed later in the output history.
enable history
sl.output.history.enable: true
keep one day or until tomcat restart
sl.output.history.clean: 86400