Sambar Server Documentation
|
Watcher Daemon |
The Watcher Daemon can be run either when running the Sambar Server as a windows GUI (bin\server.exe) or when running as an NT Service (bin\ntserver).
Important: The Watcher Daemon does not run by default. The Watcher Daemon can be configured to run through the Sambar Server administration interface. The Watcher Daemon should not be started manually.
The Watcher Daemon performs a www-ping of the server every 5 minutes (configurable) and if the server does not respond, it is terminated and restarted. A log of all actions taken is written to the log/watcher.log file.
The following [server] configuration parameters are used by the watcher:
Run Watcher | true or false |
Watcher Timeout | # (minutes) |
Watcher Server | server.exe |
Watcher Notify | webmaster@foobar.com |
The Watcher Daemon connects to the Sambar Server via the localhost address (127.0.0.1). In the event of a WatcherLog failure, a message is written to the log\watcher.log file.
In addition, if the Watcher Daemon restarts the Sambar Server and the Watcher Notify parameter is configured, e-mail will be sent to the administrator indicating the server was either successfully restarted or could not be restarted and is down. Note: The e-mail notification feature is only available with Sambar Server Pro.
© 1999 Sambar Technologies. All rights reserved. Terms of Use.