Mail notification problem

Ortner, Gerald Gerald.Ortner at gespag.at
Tue Aug 17 15:39:57 CEST 2010


Hi,

http://fannagioscd.sourceforge.net/drupal/?q=node/10   ?

gerald


Von: Toonz IT [mailto:it.toonz at gmail.com]
Gesendet: Dienstag, 17. August 2010 15:22
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Mail notification problem

Hi Allan,

Thanks for writing... our test environment is as follows.

Server is Windows 2003 Server with 2GB RAM, we downloaded Fully Automated Nagios from http://fannagioscd.sourceforge.net/drupal/

Using VMPlayer we created a new virtual machine and installed using the fan iso image.

Nagios version 3.0.6.

After full installation we set up IP, routes and dns and access using the web interface.

Installed NSClient++ in 2 windows servers and edited the nsc.ini file also.

edited the nagios.cfg file and windows.cfg

we entered the mail address for notification to be send to in contacts.cfg file. the mail id is an intranet id and is in the same network as the nagios ipaddr. is there any other file where we have to enter smtp settings and all... we haven't set the mail server settings anywhere couldn't find where that has to be set!! mail server ip is 192.168.3.240 and nagios server ip is 192.18.3.241.

and when we give nagios verification we get the below error. telnet also resulted in connection refused.

we strongly suspect that mail settings are not complete.. but donno where to enter those details. the only entry we made is adding sysadmin at toonz.com<mailto:sysadmin at toonz.com> in contacts.cfg file. nowhere we have entered the mail server ipaddress!!

Please advice.... after this we have more queries!!! :-)

ananth.


Date: Mon, 16 Aug 2010 12:51:17 -0700
From: Allan Clark <allanc at chickenandporn.com<mailto:allanc at chickenandporn.com>>
Subject: Re: [Nagios-users] Mail sending issue.
To: Nagios Users List <nagios-users at lists.sourceforge.net<mailto:nagios-users at lists.sourceforge.net>>
Message-ID:
       <AANLkTi=9Tv0E++
ZaQVvjoHZwU02eYANwqRwJ=e04+i0- at mail.gmail.com<mailto:e04%2Bi0- at mail.gmail.com>>
Content-Type: text/plain; charset=UTF-8

On Mon, Aug 16, 2010 at 12:10, IT at Toonz <it.toonz at gmail.com<mailto:it.toonz at gmail.com>> wrote:
> Hi all,
>
> We are testing with "Fully Automated Nagios". Have installed and started
>
> ??? monitoring 2 Windows 2003 servers. But we can't get notification to
> work.
>
> When we certify Nagios installation we get the following error
>
> send-mail: fatal: config variable inet_interfaces: host not found: local
> host
>
> ??? What does "notify-host-by-mail" mean? Is the notification send to host
> only.
>
> ??? How can we make FAN send mails?
>
> ??? We have an internal mail server, and are trying to send notifications to
> an
>
> ??? ID there. Connectivity is fine, have entered the id in contacts.cfg
> file.
>
> ??? We have installed NSClient++ in these servers, but the host server,
> shows
>
> ??? connection refused, there is no firewall!

It might help if you shared:
1) your Nagios config (all of it)
2) your email config
3) the result of a test by telnetting to your mailserver and faking a
mail transaction similar to what you're trying to do.

This might seem fairly intuitive to some, but not to others, so I'm
explicitly suggesting.  In general, detail is useful -- if you're
afraid to spam a maillist that reaches thousands, then simply provide
the same detail at a URL where it can be downloaded, and just give the
URL in your message.

NOT providing detail merely means people may have to ask for it --
ultimately delaying your solution -- or waste time guessing.

As Dave Stern points out, it might not be a Nagios problem if your
mail server -- for whatever reason -- won't let the nagios user or the
Nagios server box send a message... ie it's not Nagios' issue if the
mailserver refuses, regardless what attempts are made.

Please ensure you have your mailserver administrator onboard with what
you're doing.

If the collection of this background data and discussion with your
mailserver admin resolves the issue, please let us know :)

Allan
--
allanc at chickenandporn.com<mailto:allanc at chickenandporn.com>? "??" http://linkedin.com/in/goldfish

________________________________
OOe. Gesundheits- und Spitals-AG
Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100817/7bb7be62/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
-------------- next part --------------
_______________________________________________
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