| |
AdminPort (Simple EventHandler)
Overview
The AdminPort EventHandler allows remote administration of a server. Use the Metamerge
Server Monitor to connect to this service.
Configuration
The AdminPort EventHandler needs the following parameters:
Parameter |
Description |
password |
The password required to access this service
|
tcp_port |
The TCP port on which to listen for incoming
connections |
Examples
If you want to connect to this service using other tools, you should do this:
- First make an Event Handler with the metamerge.AdminPort template
- Set a password that you can remember
- Make sure the Auto Start service is checked
- Start Metamerge server from the File menu.
- telnet <host name> <port number>
hostname: is the host name where you are running the admin service
portnumber: is the port number you configured for the admin service
- Type in the commands you want to give. Useful commands are:
auth <password> - This must be the first command you give
stat - Give the names of all AssemblyLines and EventHandlers
star MyAssemblyLine - Start MyAssemblyLine
stpl MyEventHandler - Start MyEventHandler
stop Name - Stop all AssemblyLines and EventHandlers named Name
view AL/MyAssemblyLine.log - View the log of MyAssemblyLine
view EH/MyEventHandler.log - View the log of MyEventHandler
getc - Get the entire configuration file
putc - Use this command to change the configuration file. After this
command, follow up with the content of the entire configuration file, and
then *** on a single line to mark the end of the file. It might be easier
to use the "File -> Upload to Server" command of the admin
tool.
exit - This will stop the server
quit - End this connection
Downloads
Included in base product
| |
|