Configuring Notifications via e-mail

Jan.Scholten Jan.Scholten at iconz.net
Wed Sep 15 06:44:02 CEST 2004


Check if the email server is working
(check /var/log/mail.log for outgoing mails)

services.cfg: check for correct contact group, notification_period,  
notification_options should normally be "c,r"

Check if you use /usr/bin/mail to deliver mail, otherwise correct the  
entry in misccommands.cfg

Read Documentation!


> I have these entries in my contacts.cfg. Nagos is not sending mails as
> specified in .cfg file(infact it is not sending at all)
>  how to ensure that it sends mails(kind of checklist/testing)?
> Thanks
> Praveen
> -----Original Message-----
> From: Spencer Horn [mailto:shorn at lssi.net]
> Sent: Tuesday, September 14, 2004 7:56 PM
> To: Reddy, Praveen K
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Configuring Notifications via e-mail
> Define contacts and contact groups in you contacts.cfg file,
>
> define contact{
>  contact_name                   shorn
>  alias                          Spencer Horn
>  use                            support-email
>  email                          shorn at lssi.net <mailto:shorn at lssi.net>
>  }
>
> define contactgroup{
> contactgroup_name       noc
> alias                   NOC
> members                 deuerle,shorn,bspradley,dpowell,nocaudioalert
> }
>
> then add line to your service, or host group
>
>  contact_groups                 sysadmins,noc,support,support-pagers
>
>
>
> Reddy, Praveen K wrote:
> Hi All,
>   Could you please provide me a help on how to configure notifications,  
> so
> that I can receive a mail when ever there is host/service down.
> Thanks in advance
> Praveen
>



-- 
Jan Scholten
Research and Development Intern
Iconz.co.nz


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
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