Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Panel
titleSommaire

Table of Contents
stylenone

Contexte

La commande de notification SHINKEN EXAMPLE [ notify-service-by-email-with-thresholds-display ] - Clone before use permet d'envoyer un mail de notification

Panel

Paramétrage

Code Block
languagetext
themeEmacs
$NOTIFPLUGINDIR$/notify_by_email.py --title-tpl $NOTIFPLUGINDIR$/service_alert_title_template.tpl --content-tpl 
$NOTIFPLUGINDIR$/service_alert_content_template.tpl -F "$SENDER$" -r "$CONTACTEMAIL$" -n $NOTIFICATIONTYPE$ -H "$HOSTNAME$" --address 
"$HOSTADDRESS$" --url $MAILURL$ --huuid $HOSTUUID$ --serviceuuid $SERVICEUUID$ --check "$SERVICEDESC$" --state $SERVICESTATE$ 
--last-state $LASTSERVICESTATEID$ --last-change $LASTSERVICESTATECHANGE$ --last-check "$DATE$ $TIME$" --output "$SERVICEOUTPUT$" 
--long-output "$LONGSERVICEOUTPUT$" --ack-author "$ACKAUTHOR$" --ack-data "$ACKDATA$" --downtime-comment "$SERVICEDOWNTIMECOMMENT$" 
--downtime-author "$SERVICEDOWNTIMEAUTHOR$" --first-notification-delay "$SERVICEFIRSTNOTIFICATIONDELAY$" --notification-number 
"$SERVICENOTIFICATIONNUMBER$" --realm "$HOSTREALM$" --thresholds-display "$SERVICETHRESHOLDSDISPLAY$"

Données de configuration du script d'envoi de mail

Excerpt Include
Utilisation des méthodes de notifications livrées par Shinken
Utilisation des méthodes de notifications livrées par Shinken
nopaneltrue

Données de fonctionnement indispensable pour une notification minimal

Excerpt Include
notify-service-by-email - Commande de notification
notify-service-by-email - Commande de notification
nopaneltrue

Données pour compléter l'affichage du contenu du mail

Excerpt Include
notify-host-by-email-with-images - Commande de notification
notify-host-by-email-with-images - Commande de notification
nopaneltrue

Données pour l'affichage des seuils

NomModifiable sur Description
No Format
SERVICETHRESHOLDSDISPLAY

Le check ( Onglet Supervision )

Rendu de l'affichage des seuils

Exemple

Notification type - PROBLEM

Panel

Notification type - RECOVERY

Panel