Services (ISPmanager)
From ISPWiki
In this module you can view a list of services available in the control panel, such as Apache web-server, Bind name server, SSH server, MySQL database server, etc. You may monitor running services, stop or start them. Besides, you may monitor their performance and auto start the services after the system reboot.
View a list of services
Add new service
Edit service
Delete service
Stop service
Run service
Restart service
Services global settings
View a list of services
- Name - service name.
- Process name - name of the service process.
- Number of services - number of running services.
- Status - properties and current status of the service:
Add new service
To add a new service, click the "New" icon and fill out the form:
- Name - enter the name for the service and its short description.
- Mode - select a server mode. Depending on the mode, the fields may vary.
- Process name - enter the process name that will be used to start this service.
- System name - enter the name of the service that will be used in the system configuration files.
- Type - select the service type.
- IP-address - enter the IP-address or Unix-socket name that will be used to monitor this service with watchdog.
- Autostart - check the box to automatically start the service after the system reboot.
- Monitoring - check the box to activate monitoring of the selected service.
With the Standalone mode selected, the following fields will be displayed:
- Mode - Standalone.
- Process name - enter the process name that will be used to start this service.
- Start command - enter the command to start this service.
- Stop command - enter the command to stop this service.
- System name - enter the name of the service that will be used in the system configuration files.
- Type - select the service type.
- IP-address - enter the IP-address or Unix-socket name that will be used to monitor this service with watchdog.
- Autostart - check the box to automatically start the service after the system reboot.
- Monitoring - check the box to monitor the system performance with watchlog.
Edit service
To edit a service locate the service you wish to edit, click the "Edit" icon and modify the settings you want to change.
Delete service
To delete the service, select it from the list and click the "Delete" icon. Confirm that you want to delete the selected device by clicking "OK" in the following window.
Services global settings
This function can be used to configure service parameters (e.g. conf. files location) and operation monitoring.
To view and edit the global parameters, click the "Settings" icon. The form will be displayed:
Inetd/XInetd
- Configuration file - enter the path to the configuration file.
- Start command - enter the command to start the program.
- Stop command - enter the command to stop program.
- System name - enter the name of the service used in the system configuration files
Monitoring
If you want to monitor your server services availability automatically by watchdog, you should configure this program.
- Monitoring - check the box to monitor this service. The program will run at regular intervals.If it finds any unavailable service, the program will try to restart it. If the monitoring program fails to restart, it will send the error notification to the specified e-mail address.
- Period - select the interval to monitor this service.
- Script - enter the path to the script that should start when the monitoring system failed to restart a service. The script will get the service name as parameter
- Notifications - select whether you want to receive notifications.
- E-mail for notifications - enter one or more e-mail addresses that will receive e-mail notifications about the monitoring of this service.
- Return e-mail address e-mail address - enter the e-mail address that will be used as sender e-mail address.
- Subject - enter the e-mail message subject that will be used by the monitoring system.
- Message - enter the text of system monitoring notifications.
You can use macros when creating a new message:
- %SERVICE% - service system name.
- %STATUS% - current service status.
- %RECIPIENTS% - list of message recipients.




