small problems with upgrading from nagios 1x to nagios 2x (fwd)
Deedra Waters
watersd at onid.oregonstate.edu
Tue Apr 5 20:34:58 CEST 2005
Hi all,
I'm having some trouble trying to find docs/info on this particular
issue.
I've upgraded from nagios 1x to 2x, and everything seems to be working
fine, accept for this: ( i've replaced hostname and ip with hostname and
ip.
***** Nagios *****
Notification Type: PROBLEM
Service: NRPE - Root partition check
Host:HOSTNAME
Address:IP
State: CRITICAL
Date/Time: $
Additional Info:
$
I'm guessing that something is wrong with my notify-by-email command
here, but I'm not seeing what the problem is.
define command{
command_name notify-by-email
command_line /usr/bin/printf "%b" "***** Nagios
*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$"
| /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$:$SERVICEDESC$
is $SERVICESTATE$ **" $CONTACTEMAIL$
}
Any help would be great appreciated.
Thanks!
--
Deedra Waters - Gentoo developer relations, accessibility and
infrastructure -
dmwaters at gentoo.org
Gentoo linux: http://www.gentoo.org
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list