Documentations

Use of action models

On the page

Need some help?

Objective

Objective: Understand the functioning and use of action models.

The action model

Definition

An action model is a predefined command that can be used in the configuration of a user service, an equipment or a unit service.

This command will only be executed when there is a confirmed OK to CRITICAL change of state.

Its implementation is linked to the resolution of problems that include, for example, restarting a service (Windows or Linux) or executing a linux command.

This model catalogue will be enriched according to the needs of our customers.

 

Predefined action commands

The action templates support the following commands:

 

Applicable A Description Action control
User Service Writing a variable in the external application PCvue write_arcinfo_pcvue_variable
Equipment Write to the syslog file of the Linux device associated with the action. write_syslog_host
Execution of a Dos or Powershell command on any Windows device via winexe on winrm. launch_command_windows_host
Unit Service Execute a command via SSH on any port, on the equipment associated with the service launch_command_linux_debian
Execution of a Dos or Powershell command on any Windows device via winexe on winrm. launch_command_windows_service
Rebooting a service on Debian Linux OS, via SSH, and on the equipment associated with the service. restart_service_linux_debian
Reboot a service on Windows OS, via SSH, and on the equipment associated with the service. restart_service_windows
Write to the syslog file of the Linux device associated with the action. Possibility of not executing this action if the device is in CRITICAL or UNKNOWN state. Possibility of not executing this action if the equipment or the service is under maintenance. write_syslog_service

 

Configuration

Creation of the action model

To add an action template, go to the section Configuration and then in the menu General > Action models.

Action model - Menu2

Click on "Add": a configuration window opens.

Action Model - Add

Fill in the general information then click on " Validate ".

You can add action templates for a user service, an equipment or a unit service.

 

Modification of an action model

You can modify an action template. To do so, click on the name of the template to be modified.

Action model - Modification

 

Deleting an action model

Select the action template to be deleted and then click on the "Delete" button.

Action model - Deletion

Confirm the deletion of the action template.

Action model - Deletion2

 

Using the action model

Assigning the model to a user service, equipment or unit service

To assign an action model to a unit service, go to the section Supervision and then in the menu Technical Operation.

Example : I want to automatically restart the Windows Update service if it stops on my server COPCGRE61.

Action Model - Example

Select the unit service to configure. The configuration window opens. Go to the Action and choose the pattern of action.

Action model - Service

Enter the service to be restarted and click on Validate.

Note The configuration is the same for a user department or a piece of equipment.

 

Changing the assignment of an action model

To change an action template, proceed as for the assignment. Select the command to be used from the list of action templates.

Deleting the assignment of an action model

To delete an action model from a unit service, go to the section Supervision and then in the menu Technical Operation.

Action Model - Example

Select the unit service you want to change. The configuration window opens. Go to the Action then select the empty field from the list Model.

Action model - Service

Action model - Modification2

Then click on Validate.

This may also be of interest to you

Using Action Monitoring

Event and notification log

Technical Operation Screen

en_USEnglish
fr_FRFrench en_USEnglish

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.