Services (ISPmanager)

From ISPWiki

Jump to: navigation, search

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.

Module«Services»
Image:T-bullet.gif View a list of services
Image:T-new.png Add new service
Image:T-edit.png Edit service
Image:T-delete.png Delete service
Image:T-stop.png Stop service
Image:T-start.png Run service
Image:T-restart.png Restart service
Image:T-attr.png Services global settings


View a list of services

  • Name - service name.
  • Process name - name of the process that is used to start this service.
  • Number of services - number of running services.
  • Status - properties and current status of the service:
    • Image:p-on.png - this service is active.
    • Image:p-off.png - this service is not active.
    • Image:p-lock.png - service auto-start script cannot be found.
    • Image:p-mon.png - monitor this service with watchdog.
    • Image:p-auto.png - the service starts automatically after reboot.

Add new service

To add a new service, click the "New" icon and fill out the form:

Module«Services»
  • 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 monitor this service with Watchdog.

With the Standalone mode selected, the following fields will be displayed:

Module«Services»
  • 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

Module«Services»
  • 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

Module«Services»

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.
Was this helpful? Yes | No
Personal tools