No Notification email

John Joseph jjk_saji at yahoo.com
Wed Sep 21 06:46:24 CEST 2005


I think for the other service which you are not
getting the notification , you need to 
 clik on the link "Enable notifications for this
service" for the service that you want. 
 Explanations are given at
   
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#retention_notes
        Thanks 
          Joseph John 




--- "Elizar M. Palad" <elizar.palad at gmail.com> wrote:

> Im sorry, i was not clear.. :)
> i said most of my services or all.
> But i do receive notification if the host is DOWN.
> Just
> that.. ping.
> 
> other services like ftp, disk usage, etc.. i don't
> receive any.
> 
> And yes, i do have mailx as my app for sending mail.
> 
> Any ideas?
> 
> Thanks
> eli
> 
> 
> 
> On 9/20/05, John Joseph <jjk_saji at yahoo.com> wrote:
> > Hi Palad
> >    Can U try this from command mode
> > printf "%b" "TEST TEST " | mail -s "Check Wheter U
> > have /usr/bin/mailx "     elizar.palad at gmail.com
> > 
> >    If the mail reaches your gmail id , it shows
> that
> > , your command for "notify for email " is wrong ,
> > in my system , I do not have "/usr/bin/mailx"
> > command , please check
> >         Thanks
> >            Joseph John
> > 
> > 
> > --- "Elizar M. Palad" <elizar.palad at gmail.com>
> wrote:
> > 
> > > Hello all!
> > > Guys help me.
> > > It seems that nagios is not sending
> notifications on
> > > most of my
> > > host/services.
> > > i have (i think) set up hosts, contacts and
> > > contactgroups.cfg
> > > correctly.
> > > here are the files:
> > > contacts.cfg
> > > define contact{
> > >         contact_name                    elizar
> > >         alias                           Nagios
> Admin
> > >         service_notification_period     24x7
> > >         host_notification_period        24x7
> > >         service_notification_options    w,u,c,r
> > >         host_notification_options       d,r
> > >         service_notification_commands
> > > notify-by-email
> > >         host_notification_commands
> > > host-notify-by-email
> > >         email
> > > eli_palad at ... elizar.palad at ...
> > >         }
> > >
> > >
> > > define contact{
> > >         contact_name                    adleo
> > >         alias                           Au de
> Leon
> > >         service_notification_period     24x7
> > >         host_notification_period        24x7
> > >         service_notification_options    w,u,c,r
> > >         host_notification_options       d,r
> > >         service_notification_commands
> > > notify-by-email
> > >         host_notification_commands
> > > host-notify-by-email
> > >         email                          
> adleo at p3m
> > >         }
> > >
> > > contactgroups.cfg
> > >
> > > define contactgroup{
> > >         contactgroup_name       admins
> > >         alias                   Nagios
> > > Administrators
> > >         members                adleo, elizar  }
> > >
> > >
> > > hosts.cfg
> > > define host{
> > >         use                     generic-host
> > >         host_name               1 NFS05
> > >         address                 10.160.2.5
> > >         check_command           check-host-alive
> > >         max_check_attempts      10
> > >         notification_interval   120
> > >         notification_period     24x7
> > >         notification_options    d,r
> > >         contact_groups          admins
> > >         }
> > >
> > >
> > >
> > > services.cfg
> > > define service{
> > >         use
> > > generic-service         ;
> > >             host_name                       2
> > > P4FTPPROD
> > >         service_description             Disk
> Usage
> > >         is_volatile                     0
> > >         check_period                    24x7
> > >         max_check_attempts              4
> > >         normal_check_interval           5
> > >         retry_check_interval            1
> > >         contact_groups                 admins
> > >         notification_interval           960
> > >         notification_period             24x7
> > >         check_command
> > > check_remote_disk!rsh!ftp09!95!97
> > >
> > > When the it triggers the warning or even the
> > > critical, no notification
> > > is sent.
> > >
> > > sending mail manually work, by the way..
> > > commands.cfg
> > >
> > > define command{
> > >         command_name    notify-by-email
> > >         command_line    /usr/bin/printf "%b"
> "*****
> > > AMKOR MONITORING
> > > SERVER *****\n\nNotification Type:
> > > $NOTIFICATIONTYPE$\n\nService:
> > > $SERVICEDESC$\nH
> > > ost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
> > > $SERVICESTATE$\n\nDate/Time:
> > > $LONGDATETIME$\n\nAdditional
> > > Info:\n\n$OUTPUT$" | /usr/bin/mailx -s "** $
> > > NOTIFICATIONTYPE$ alert -
> $HOSTALIAS$/$SERVICEDESC$
> > > is $SERVICESTATE$
> > > **" $CONTACTEMAIL$
> > >         }
> > >
> > >
> > > Thanks in advance!
> > >
> > >
> > > --
> > > ----
> > > Don't Tell Me How Hard You Work..
> > >    Show Me How Much You'd Accomplished..
> > >
> > >
> > >
> >
>
-------------------------------------------------------
> > > SF.Net email is sponsored by:
> > > Tame your development challenges with Apache's
> > > Geronimo App Server.
> > > Download it for free - -and be entered to win a
> 42"
> > > plasma tv or your very
> > > own Sony(tm)PSP.  Click here to play:
> > > http://sourceforge.net/geronimo.php
> > > _______________________________________________
> > > 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
> > >
> > 
> > 
> > 
> > 
> >
>
___________________________________________________________
> > To help you stay safe and secure online, we've
> developed the all new Yahoo! Security Centre.
> http://uk.security.yahoo.com
> > 
> 
> 
> -- 
> ----
> Don't Tell Me How Hard You Work..
>    Show Me How Much You'd Accomplished..
> 



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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