[afnog] Nagios support

Seun Ojedeji seun.ojedeji at gmail.com
Sat May 26 21:12:48 UTC 2012


Hello Kwame,

What is the output of your cat /etc/nagios3/commands.cfg

Cheers!

On Sat, May 26, 2012 at 1:56 PM, Kwame Saidi <k.saidi at zantel.co.tz> wrote:

> Thanks all for explanation.
>
> May be I need to know something. From the server I installed nagios should
> I configure local mailserver like postfix or sendmail or I may use email
> addres that's located on the another server ?
>
> Below are the logs ;
>
>
> root at localhost ~]# tail -f /var/log/maillog
> May 24 11:16:22 nagios sendmail[13393]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:17:01 nagios sendmail[13489]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:17:34 nagios sendmail[13495]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:18:04 nagios sendmail[13501]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:18:42 nagios sendmail[13507]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:45:47 nagios sendmail[15615]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:47:05 nagios sendmail[15688]: My unqualified host name (nagios)
> unknown; sleeping for retry
> May 24 11:47:45 nagios sendmail[15694]: My unqualified host name (nagios)
> unknown; sleeping for retry
>
>
> [root at localhost ~]# tail -f /usr/local/nagios/var/nagios.log
> [1338036435] Local time is Sat May 26 15:47:15 EAT 2012
> [1338036435] LOG VERSION: 2.0
> [1338036435] Finished daemonizing... (New PID=2325)
> [1338036476] HOST NOTIFICATION:
> nagiosadmin;Allot-server;DOWN;notify-host-by-email;(Host Check Timed Out)
> [1338036486] HOST NOTIFICATION:
> nagiosadmin;Auvionics;DOWN;notify-host-by-email;(Host Check Timed Out)
> [1338036506] HOST NOTIFICATION:
> nagiosadmin;BOL-ARS;DOWN;notify-host-by-email;(Host Check Timed Out)
> [1338036516] HOST NOTIFICATION:
> nagiosadmin;BOL-DAR;DOWN;notify-host-by-email;(Host Check Timed Out)
> [1338036536] HOST NOTIFICATION:
> nagiosadmin;DAR-PE;DOWN;notify-host-by-email;(Host Check Timed Out)
>
>
>
>
> Regards,
>
> -- Kwame Saidi
> Mobile 0777899994
> Zantel.
>
>
> -----Original Message-----
> From: Hervey Allen [mailto:hervey at nsrc.org]
> Sent: Friday, May 25, 2012 23:54
> To: Kwame Saidi
> Cc: afnog at afnog.org
> Subject: Re: [afnog] Nagios support
>
> On 5/25/12 8:59 AM, Kwame Saidi wrote:
> > Greetings..!!
> >
> >
> >
> > I have installed nagios on centos,its running but unfortunately it's not
> > sending notification email (from the contacts.cfg  I have changed to my
> > email but still am unable to receive emails)and sound alert is not
> > functioning as well,
> >
>
> Hi Kwame,
>        If you determine that you can send email from the CentOS box on
> which
> Nagios is running, then be sure that you have specified the contact
> group or contacts option for the service or host that you want to be
> notified for when something happens.
>
> For example, to be notified by host specify either contact or a
> contact_groups in the host definition:
>
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host
>
> Or, if by service:
>
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service
>
> Or, for things like serviceescalation, hostescalation,
>
> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html
>
> Cheers,
>        - Hervey
>
> --
> Hervey Allen      Network Startup Resource Center
> hervey at nsrc.org   http://nsrc.org/ : http://facebook.com/nsrc.org
> GPG Fingerprint:  AC08 31CB E453 6C65 2AB3 4EDB CEEB 5A74 C6E5 624F
>
> This email is Virus free! Has been Scanned.
> _______________________________________________
> afnog mailing list
> http://afnog.org/mailman/listinfo/afnog
>



-- 
------------------------------------------------------------------------

*Seun Ojedeji,
Federal University Oye-Ekiti
web:      http://www.fuoye.edu.ng
Mobile: +2348035233535
**alt email: <http://goog_1872880453>seun.ojedeji at fuoye.edu.ng*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20120526/424a1c07/attachment.html>


More information about the afnog mailing list