Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 21 Next »

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

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.

 

 

Adding

There are two way to add a resource which one is select this from a group name and another is select this from a resource type.

Adding in Group

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

    [Figure] Adding Resource in a group

  2. 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.

    [Figure] Select Resource Wizard View

  3. Next steps are same as adding in resource type.

Adding in Resource Type

  1. ResourceType → Right Click → Click Add Resource

    [Figure] Adding Service Resource in a resource type

  2. This is the initial screen to add the service resource.

    [Figure] Service Resource Added


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

  4. Click "Finish" and service resource is added.

    [Figure] Adding service resource is completed

Deleting

Select resource type → right click → delete resource.

  1. Select delete resource.

    [Figure] Deleting resource view

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


[Figure] Window Service Attribute


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

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.

 

 

 

  • No labels