Principe
Comme pour les Sondes et les Commandes, les méthodes de notification font le lien entre les commandes exécutées par Shinken Enterprise et les notifications qui seront envoyées.
Les notifications sont de divers types et peuvent être générés par différents événements. Pour plus d'information, consulter la page de Logique de notification.
Utiliser les méthodes de notifications permet de définir précisément quel notifications seront envoyées, quand et comment.
La page de Contact permet d'attacher la méthode de notification aux contacts souhaitant être notifiés. Chaque contact peut avoir une ou plusieurs méthodes de notification.
Onglet générique
- Name
- Cette propriété permet de définir le nom utilisé pour identifier la méthode de notification.
- Host notification period
- Cette propriété permet de définir la période de temps pendant laquelle les notifications concernant les hôtes seront envoyées.
- Check notification period
- Cette propriété permet de définir la période de temps pendant laquelle les notifications concernant les checks seront envoyées.
- Enable host notifications
- Cette propriété permet de définir si Shinken va envoyer des notifications concernant les hôtes.
- Enable check notifications
- Cette propriété permet de définir si Shinken va envoyer des notifications concernant les checks.
- Host notification commands
- Cette propriété permet de définir les commandes qui envoient les notifications pour un hôte.
- Check notification commands
- Cette propriété permet de définir les commandes qui envoient les notifications pour un check.
- Host notification options
- Cette propriété permet de définir quels Statuts et Contextes de l'hôte peuvent envoyer des notifications
La valeur est une liste d'options séparées par des virgules:- d: envoi d'une notification sur un état CRITIQUE
- r: envoi d'une notification lors d'un rétablissement (signifie que l'hôte redevient OK)
- f: envoi d'une notification quand l'hôte commence ou sort du contexte FLAPPING
- s: envoi d'une notification quand l'hôte entre ou sort d'une période de maintenance
- n: n'envoyer aucune notification
Par défaut, toutes les notifications sont autorisées.
- Cette propriété permet de définir quels Statuts et Contextes de l'hôte peuvent envoyer des notifications
- Check notification options
- Cette propriété permet de définir quels Statuts et Contextes du check peuvent envoyer des notifications
La valeur est une liste d'options séparées par des virgules:- o: envoi d'une notification lors d'un rétablissement (signifie que le check redevient OK)
- u: envoi d'une notification sur un état WARNING
- d: envoi d'une notification sur un état CRITIQUE
- f: envoi d'une notification quand le check commence ou sort du contexte FLAPPING
- s: envoi d'une notification quand le check entre ou sort d'une période de maintenance
- n: n'envoyer aucune notification
Par défaut, toutes les notifications sont autorisées.
- Cette propriété permet de définir quels Statuts et Contextes du check peuvent envoyer des notifications
- Minimum business impact filter
- Cette propriété permet de définir le seuil d'Impact Métier qui enverra des notifications.
En dessus de cette valeur, les notifications ne seront pas exécutée.
- Cette propriété permet de définir le seuil d'Impact Métier qui enverra des notifications.
- Enabled
- Permettre que cet élément soit pris en compte lors du passage de Staging en Production.
- Pack
- Cette propriété permet de définir dans quel pack se trouve la Méthode de Notification.
...
Overview
...
For example, if you want a contact to be notified by email, all during the day, and for any host or check states,
we should define the following:
Notification can be from any type:
- send an email
- send a SMS
- turn on an alarm
- make tuxdroid shouting
...
...
...
The main page of notification ways, gives a list of all existing elements with following details:
- a CheckBox used to select on or more notification ways
- differences since last commit
- name of the notification way
- Host notification Period
- Check notification Period
- Status
On the top of the table, A tool bar let Administrators the ability to :
- Enable, Disable, Delete or Duplicate selected notification ways
- Filter List by Name
...
...
Add a new Notification Way
...
The form displayed is composed of one tab:
...
The left menu give to Administrators the ability to:
- Validate the new notification way
- Cancel the action
- Delete the notification way
...
Generic category form contains following options:
- Name
- the name of the notification way that will be used to identify and select it in other elements
- this field is required
- Host notification period
- defines the period on which host notification will be sent
- the value must be selected from the dropdown, listing all existing timeperiods
Check notification period (attention Service notification period dans l'appli)
- defines the period on which check notification will be sent
- the value must be selected from the dropdown, listing all existing timeperiods
- Enable host notification
- defines if notification will be sent or not for host state changes
- Value is set to True by default
note : if value is set to False, notification way will be still used for host state changes,
but no notification will be sent
- Enable check notification
- defines if notification will be sent or not for service state changes
- Value is set to True by default
note : if value is set to False, notification way will be still used for check state changes,
but no notification will be sent
- Host notification commands
- defines the command that will be used to notify contacts when an host event occurs
- the value must be choosen from the dropdown list of available commands
- Check notification commands
- defines the command that will be used to notify contacts when a chack event occurs
- the value must be choosen from the dropdown list of available commands
- Host notification options
- defines a list of flags, used to filter states that should generate a notification
- values is a comma separated list of flags, valid values are :
- d : send a notification for a DOWN state
- u : send a notification for an UNREACHABLE state
- r : send a notification for a RECOVERY state
- f : send a notification for a FLAPPING state
- s : send a notification for a SCHEDULED DOWNTIME
- n : none, no notification will be sent if this flag is used
- if no flag is filled, any host state will generate a notification
...
- Check notification options
- defines a list of flags, used to filter states
that should generate a notification - values is a comma separated list of flags, valid values are :
- c : send a notification for a CRITICAL state
- w : send a notification for a WARNING state
- u : send a notification for an UNKNOWN state
- r : send a notification for a RECOVERY state
- f : send a notification for a FLAPPING state
- n : none, no notification will be sent for Check state changes
- if no flag is filled, any check state will generate a notification
- defines a list of flags, used to filter states
- Minimum priority Filter
- This value is used to send a notification, only if the criticity is equal
or higher the minimum fixed
- This value is used to send a notification, only if the criticity is equal
note : this is very useful to send notification for critical systems only,
for example for a gateway or a DB server
...
Modify a notification way
...
To modify properties of a notification way, first go on the Notification Ways page, from the Main menu, and then click on the notification way name you want to modify.
...
The form displayed is the same as the form used to create a new contact.
All fields are filled with Notification way properties.
Once changes have been made, configuration of the contact have to be saved by clicking the Validate button available
on the left menu.
Cancel button revert all changes to previoust configuration.
...
Delete a notification way
...
From the Form page
First go to the Notification Ways page, in the Main menu, then click on the notification way name you want to delete.
Once in the page displaying the form, click on the Delete button available on the left menu.
...
From the Main page
First go to the Notification Ways page, from the Main menu, then click on the check box placed
on the first column of the table.
Use the Action menu on the top to select Delete, and click to the Launch Button.
A confirmation popup will be displayed.
Using the Main page gives Administrators ability to Delete many Elements at once.
...
Duplicate a notification way
...
Once selected, the notification way can be duplicated by selecting Duplicate in the select Action of the tool bar.
Duplication is executed by clicking the Launch button.
...

