/
7-7 Service

7-7 Service

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 it is registered in the MCCS agent, the two values
are 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

Add the service resource to a group.

A service agent monitors the service status.
If the service is operating, the monitoring results returned to 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.


 

  1. Select a group → right click → 'Add Resource'.

  2. Select 'Service' from Resource Type lists and click 'Next' button. When you add a resource from the service resource type name, this step will be skipped.

  3. Enter a 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

  4. Click the 'Finish' button to add the basic application resource.
    You can immediately check the result in the management web console. 

Deleting

Select resource type → right click → delete resource.
The deleted resource will immediately disappear from the management web console. 

The service registered in MCCS will be automatically switched to "Manual Start".
After deleting the resource, the user needs to switch to "Manual Start".

 

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.

StatusAgent commandDescriptionNote

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.

OnlineService is started. 
OfflineTerminate the service. 

 

 

Attribute

Display the unique attribute of service resource.

Attribute

Description

Type

DefaultEditNote

ServiceName

It is a name of the window service to be monitored.
If the service is operating, the monitoring results returned to 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.

STRING

 

false

 

Attribute values 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.

 

 

 

Related content