External Scripts And Alerts - Tripp Lite B092-016 Owner's Manual

Console server management switch console server with poweralert console server
Hide thumbs Also See for B092-016:
Table of Contents

Advertisement

Portmanager Daemon
Command line options:
There is normally no need to stop and restart the daemon. To restart the daemon, just run the
command:
# portmanager
Supported command line options are:
Force portmanager to run in the foreground:
--nodaemon
Set the level of debug logging:
--loglevel={debug,info,warn,error,alert}
Change which configuration file it uses:
-c /etc/config/portmanager.conf
Signals
Sending a SIGHUP signal to the portmanager will cause it to reread its configuration file.

15.2 External Scripts and Alerts

The portmanager has the ability to execute external scripts on certain events. These events are:
I.
When a port is opened by the portmanager:
When the portmanager opens a port, it attempts to execute /etc/config/scripts/portXX.init
(where XX is the number of the port, e.g. 08). The script is run with STDIN and STDOUT both
connected to the serial port.
If the script cannot be executed, then portmanager will execute
/etc/config/scripts/portXX.chat via the chat command on the serial port.
II.
When an alert occurs on a port:
187

Advertisement

Table of Contents
loading

This manual is also suitable for:

B095-004-1eB095-003-1e-mB096-016B096-048

Table of Contents