[BACK]Return to alert CVS log [TXT][DIR] Up to [local] / nagios / alert

Diff for /nagios/alert/alert between version 1.4 and 1.5

version 1.4, 2010/02/16 17:58:35 version 1.5, 2010/02/17 16:54:14
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $AFresh1: alert,v 1.3 2010/02/16 17:18:31 andrew Exp $  # $AFresh1: alert,v 1.4 2010/02/16 17:58:35 andrew Exp $
 local _type=$1  local _type=$1
 local _method=$2  local _method=$2
 local _contact=$3  local _contact=$3
Line 72 
Line 72 
 esac  esac
   
 if [ X"$NAGIOS_NOTIFICATIONTYPE" == X"ACKNOWLEDGEMENT" ]; then  if [ X"$NAGIOS_NOTIFICATIONTYPE" == X"ACKNOWLEDGEMENT" ]; then
     _state=$NAGIOS_NOTIFICATIONTYPE      _state=ACK
 fi  fi
   
 _short="$_state: $_short"  _short="`echo $_state | cut -c 1-4`: $_short"
 _long=`echo "$_long" | awk '{ gsub(/<br *\/?>/,"\n") }1'`  _long=`echo "$_long" | awk '{ gsub(/<br *\/?>/,"\n") }1'`
   
 case $_method in  case $_method in

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>