Can\'t get notifcations to work!!! Read everything!
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Fri Jun 13 21:18:23 CEST 2003
Before you go tearing your hair out over Nagios, please confirm
that you can su to the nagios user and send *any* mail out to
the target address.
If you can't, you know where you need to focus your attention.
jc
> -----Original Message-----
> From: stlscott [mailto:stlscott at yahoo.com]
> Sent: Friday, June 13, 2003 1:32 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Can\'t get notifcations to work!!! Read
> everything!
>
>
>
> Please help - new to Nagios, have it working great except for
> notofications.
>
> I've read tons and tons of posts regarding this issue and
> can't seem to locate the true solution - please help.
>
> Info:
> Nagios 1.1
> Plugins 1.3
> OS: RH 8.0 stock
>
> Problem: Notifications can't be forwarded because they don't
> have a "From" user address. I can only assume that I'm
> missing a config line in my misccommands.cfg file to put the
> "from" address in - but I've tried and tried and can't get it
> in the right place or maybe not the right command. Here is my
> e-mail line from my misccommands.cfg file.
>
> # 'notify-by-email' command definition
> define command{
> command_name notify-by-email
> command_line /usr/bin/printf "%b" "***** Nagios
> *****nnNotification Type: $NOTIFICATIONTYPE$nnService:
> $SERVICEDESC$nHost: $HOSTALIAS$nAddress: $HOSTADDRESS$nState:
> $SERVICESTATE$nnDate/Time: $DATETIME$nnAdditional
> Info:nn$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert
> - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **"
> $CONTACTEMAIL$ -u nagios
> }
>
> You'll notice the "-u nagios" added on - this was an attempt
> to add the "user" to the FROM address - no luck though!
>
> HELP!
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> 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
>
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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