Problem backslash

Cristian Trujillo G. cristian at alestraidc.net.mx
Thu Oct 10 01:10:03 CEST 2002



Hi,
when recive notification via mail, all lines are ok, only one are bad..
on $OUTPUT$, when the value is c:\ or other drive only print

Aditional Info:

C:

no, backslash and no more info... this is me miscomands.cfg


# 'notify-by-email' command definition
define command{
        command_name notify-by-email
        command_line /usr/local/bin/gprintf "Nagios dice:\n\n\nServicio:
$SERVICEDESC$\nHost: $HOSTALIAS$\nDireccion: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nFecha/Hora: $DATETIME$\n\nInfo Adicional:\n$OUTPUT$" |
/usr/bin/mail -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$ - $SERVICEDESC$ es
$SERVICESTATE$ **" $CONTACTEMAIL$
}


Note 1.-
gprintf is sh-utils part.
OS FreeBSD

Thanks



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list