Bonjour,
j'ai un probleme de notification par fichier.txt mais je ne sais pas comment envoyer le fichier.txt
voilà le commande au-dessous, si il y a erreur, alors lequel?
Merci de votre aide
cdt
j'ai un probleme de notification par fichier.txt mais je ne sais pas comment envoyer le fichier.txt
voilà le commande au-dessous, si il y a erreur, alors lequel?
Code:
# 'notify-by-file' command definition define command{ command_name notify-by-file command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" > /home/nagios.txt }
cdt
Comment