<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#993399">
Hi,<br>
(a) For getting mail alerts you need to define the mail id in
/usr/local/nagios/etc/objects/contacts.cfg<br>
Example<br>
define contact{<br>
        contact_name                    nagiosadmin             ; Raj<br>
        use                             generic-contact         ;
Inherit default values from generic-contact template (defined above)<br>
        alias                           Nagios Admin            ; Full
name of user<br>
        email                           <your email ID>    ;
<<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******<br>
        }<br>
(b) Install postfix as satellite mailing system. Point the relay host
to any private or public SMTP server for relaying your mails<br>
     (private - if for a company),, public you may have to search for it<br>
(c) edit this file installed in /etc/postfix/main.cf <br>
<br>
restart Nagios, postfix...... it should start sending the mails......
pls check the logs for the same  /var/logs<br>
<br>
Rajshekar<br>
<br>
<br>
<br>
<br>
Pallavolu Reddi Sekhar Reddy wrote:
<blockquote
 cite="mid:bd40f4cb0906170304k51b589e6lc4d9a90029f02fe6@mail.gmail.com"
 type="cite">Hi,<br>
  <br>
I have installed the nagios on fedora 10 OS.<br>
how can i get alerts from nagios? where to configure the nagios alerts
on contacts group for my mail ID(<a moz-do-not-send="true"
 href="mailto:pr.sekharreddy@gmail.com">pr.sekharreddy@gmail.com</a>).<br>
  <br>
Please let me know your suggestions. thanks in advance.<br>
  <br>
Thanks<br>
Sekhar Reddy P R<br>
  <br>
  <br>
  <div class="gmail_quote">On Wed, Jun 17, 2009 at 2:48 PM, Alain
Williams <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:addw@phcomp.co.uk">addw@phcomp.co.uk</a>></span> wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="im">On Wed, Jun 17, 2009 at 11:09:10AM +0200, Andreas
Ericsson wrote:<br>
> edward baddouh wrote:<br>
> > Yes, I want the configuration files to be worse (readable).<br>
> > The idea is to difficult as-much-as-possible config-files
theft from ohter<br>
> > people who admin that server..<br>
> ><br>
> > There have been times that configuration files were
implemented on different<br>
> > installations (different sites) with minor changes without
the admin's<br>
> > consent..<br>
> ><br>
> > I don't want nobody to get credits for work I've done and
receive no profit<br>
> > at all..<br>
> ><br>
><br>
> This is just stupid imo and would be far better solved with some
social<br>
> conventions. The problem is that there's a limited way of
configuring<br>
> Nagios for a particular setup, so it's always entirely possible
that<br>
> whoever you *think* is "stealing" configuration from you has
actually<br>
> read the nagios docs for 15-30 minutes and then figured out how to
do<br>
> it themselves. It's not exactly rocket science, and a nagios config<br>
> isn't a super-fast cryptographically secure hash algorithm that you<br>
> (sometimes) need to jealously protect. The fact that you're trying<br>
> makes me feel dirty all over, to be honest.<br>
><br>
> Why you want an opensource community help you *not* share your
work,<br>
> I really do not fathom, but you'll get absolutely no help from me.<br>
    <br>
    </div>
+1<br>
    <br>
And who knows ... one of the people who takes your config might improve
it<br>
and tell you how!<br>
    <font color="#888888"><br>
--<br>
Alain Williams<br>
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer,
IT Lecturer.<br>
+44 (0) 787 668 0256  <a moz-do-not-send="true"
 href="http://www.phcomp.co.uk/" target="_blank">http://www.phcomp.co.uk/</a><br>
Parliament Hill Computers Ltd. Registration Information: <a
 moz-do-not-send="true" href="http://www.phcomp.co.uk/contact.php"
 target="_blank">http://www.phcomp.co.uk/contact.php</a><br>
Past chairman of UKUUG: <a moz-do-not-send="true"
 href="http://www.ukuug.org/%0A#include" target="_blank">http://www.ukuug.org/<br>
#include</a> <std_disclaimer.h><br>
    </font>
    <div>
    <div class="h5"><br>
------------------------------------------------------------------------------<br>
Crystal Reports - New Free Runtime and 30 Day Trial<br>
Check out the new simplified licensing option that enables unlimited<br>
royalty-free distribution of the report engine for externally facing<br>
server and web deployment.<br>
    <a moz-do-not-send="true" href="http://p.sf.net/sfu/businessobjects"
 target="_blank">http://p.sf.net/sfu/businessobjects</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
    <a moz-do-not-send="true"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
 target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
P.R.Sekhar Reddy<br>
+91-9916727650<br>
  <pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.05070203.06000405@excelindia.com" border="0"></div>
</body>
</html>