This agent manages Linux services. Linux service is a process managed by the system service manager (chkconfig) such as cron or iptables.
Several settings are the values defined by a user. But once registered in the MCCS agent, the two values is changed.
Service start type is changed manually.(RunLevel 3, 4, 5 OFF) It intends to manage starting and stopping in MCCS.
Even if you delete the resource, RunLevel is not reverted to the value previous to registration.
Table of Contents
Adding
서비스 리소스를 그룹에 추가합니다.
A service agent monitors the service status.
If the service is operating, the monitoring results returned is 0. If the service is stopped, 3 is returned.
If the service script's return value is different from the default setting, you cannot trust the monitoring results.
- Select a group → right click → 'Add Resource'.
- Select 'Service' from Resource Type lists and click 'Next' button. When add a resource from the service resource type name, this step will be skipped.
- Enter service name and it will automatically search and suggest proper service name.
Select the service to be managed.
[Figure] Search service resource and suggest name view - 완료 버튼을 클릭하면 기본 응용 리소스가 추가 되며,
관리 웹 콘솔 상에서 바로 확인이 가능합니다.
Deleting
Select resource type → right click → delete resource.
삭제된 리소스는 관리 웹콘솔 상에서 바로 사라집니다.
MCCS에 등록된 서비스는 자동시작여부가 "수동 시작" 으로 자동 변경됩니다.
해당 리소스 삭제후 서비스의 자동시작여부를 수동으로 사용자가 변경해야 합니다.
Status
The following table explains the status switching of the MCCS resource caused by a user's command and the status.
The command assumes that it is generated by a user.
Service agent: Manages the Linux services. In general, service is a process operated by daemon.
Status | Agent command | Description | Note |
---|---|---|---|
Online Service is operating properly. | Offline | Terminate the service. | |
Monitoring | The status of service is assessed. | ||
Offline Service is terminated. | Online | Service is started. | |
Monitoring | The status of service is assessed. | ||
Trouble Service is not operating properly. | Online | Service is started. | |
Offline | Terminate the service. |
Attribute
서비스 리소스의 고유 속성을 표시 합니다.
Attribute | Description | Type | Default | Edit | Note |
ServiceName | It is a name of the window service to be monitored. | STRING | false |
Attribute value of ArgList arguments are the values that are added resources and the value can be changed or viewed through 'Specified Attribute’ list on the detailed information panel.