Host UP alert 0, email weirdness

jeff jorr at attributor.com
Tue Jun 23 00:58:02 CEST 2009


Hello!

We have updated our Nagios installation from 2.12 to the latest stable
3.x. For the most part, things seem to be working okay. One bit of
weirdness, though, is that we are occasionally getting email delivered
to "$@<ourdomain>.com" instead of "<username>@<ourdomain>.com". Our head
IT person is getting all these alerts, since he is the designated bounce
address for the domain.

Here is our host notify by email command:

define command {
  command_name host-notify-by-email
  command_line /usr/bin/printf "%b" "***** Nagios  *****\n\nNotification
Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$ for
$HOSTDURATION$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
$LONGDATETIME$\n\nACKed by: $HOSTACKAUTHOR$ \nComment: $HOSTACKCOMMENT$
\n" | /bin/mail -v -s "Host $HOSTSTATE$ alert $HOSTNOTIFICATIONNUMBER$
for $HOSTNAME$!" $CONTACTEMAIL$
}

The other weird thing is that the notification # seems to be resetting
back to 0 when the host recovers. Is this normal?

Thanks!

Jeff Orr
Attributor Corporation

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
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