Table of Contents
Trigger an action on a service using tools like systemctl, service, init.d, Windows…
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service
- action: Action to trigger on the service (start, stop, restart, reload, …)
service_action_${service_name}_{kept, repaired, not_ok, reached}
Check if a service is running using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Process name
service_check_running_${service_name}_{kept, repaired, not_ok, reached}
Check if a service is running using ps
Compatible with nodes running Rudder 2.11 or higher.
- service_regex: Regular expression used to select a process in ps output
service_check_running_${service_regex}_{kept, repaired, not_ok, reached}
Check if a service is set to start at boot using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service name (as recognized by systemd, init.d, etc…)
service_check_started_at_boot_${service_name}_{kept, repaired, not_ok, reached}
Ensure that a service is running using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service name (as recognized by systemd, init.d, etc…)
service_ensure_running_${service_name}_{kept, repaired, not_ok, reached}
Ensure that a service is running using the appropriate method, specifying the path of the service in the ps output, or using Windows task manager
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service name (as recognized by systemd, init.d, Windows, etc…)
- service_path: Service with its path, as in the output from ps
service_ensure_running_${service_name}_{kept, repaired, not_ok, reached}
Force a service to be started at boot
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service name (as recognized by systemd, init.d, Windows, SRC, SMF, etc…)
service_ensure_started_at_boot_${service_name}_{kept, repaired, not_ok, reached}
Ensure that a service is stopped using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service
service_ensure_stopped_${service_name}_{kept, repaired, not_ok, reached}
Reload a service using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service
service_reload_${service_name}_{kept, repaired, not_ok, reached}
Restart a service using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Name of the service to restart in systemd, init.d, …
service_restart_${service_name}_{kept, repaired, not_ok, reached}
Restart a service using the appropriate method if the specified class is true, otherwise it is considered as not required and success classes are returned.
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service
- trigger_class: class(es) which will trigger the restart of Service "(package_service_installed|service_conf_changed)" by example
service_restart_${service_name}_{kept, repaired, not_ok, reached}
Start a service using the appropriate method
Compatible with nodes running Rudder 2.11 or higher.
- service_name: Service
service_start_${service_name}_{kept, repaired, not_ok, reached}