Bonjour,
Je n'arrive pas à remplir les champs de mon mail correctement. Pourtant j'utilise bien des macros nagios 2.0.
Ma commande de notification :
De l'aide serait la bienvenue.
Merci
Sébastien
Je n'arrive pas à remplir les champs de mon mail correctement. Pourtant j'utilise bien des macros nagios 2.0.
=========================================
Subject: ** PROBLEM alert - myhost/ is **
---------------------------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Service:
Host: myhost
Address: 192.200.200.65
State:
Date/Time: Tue May 16 04:14:04 WIT 2006
Additional Info:
=========================================
Subject: ** PROBLEM alert - myhost/ is **
---------------------------------------------------------
***** Nagios *****
Notification Type: PROBLEM
Service:
Host: myhost
Address: 192.200.200.65
State:
Date/Time: Tue May 16 04:14:04 WIT 2006
Additional Info:
=========================================
Ma commande de notification :
Code:
--------------------------------------------- /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: $SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
Merci
Sébastien
Comment