Monitor 2nd mail server behind natted router

Alex Dehaini alexdehaini at gmail.com
Mon Oct 20 13:21:41 CEST 2008


The issue is the mail router is natted to only one local IP.



On Mon, Oct 20, 2008 at 10:13 AM, Assaf Flatto <assaf.flatto at ssp.uk.com>wrote:

> You should be able to do that .
>
> if you have access to the server , and the routing allows you to reach it ,
> ( and as you say you do
> not have an ip collision ) then you can monitor it just like any server on
> the network , but you
> may want to be more security aware on what you transmit on public IP .
>
>
>
>
> On Monday 20 October 2008 11:03:36 Alex Dehaini wrote:
> > Nagios is on a public IP, the router is on a public IP and the two
> servers
> > are on local IPs. Here is the connection
> >
> > *mail1*(localIP) --------
> >                       ------------- *MailRouter*(PublicIP) ----- Switch
> > ------- (*Nagios*)(PublicIP)
> > *mail2* (localIP) --------
> >
> > If the two servers have the same local IP, there will be IP conflict.
> > NSClient basically sends info from the server to nagios. I can do that
> for
> > one mail server, I wonder if I can do that for the sendcond one.
> >
> > Thanks,
> > Lex
> >
> > On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto <assaf.flatto at ssp.uk.com
> >wrote:
> > > Unless you have two servers with the same local ip - you shouldn't have
> > > any problems.
> > >
> > > i assume that the routing rules you have between routers know which
> range
> > > is behind which router ,
> > > so all you need to do is monitor the second mail server as a regular
> > > server on the your network.
> > >
> > > Can you easily access or ping the server ?
> > >
> > > On Monday 20 October 2008 10:34:06 Alex Dehaini wrote:
> > > > Hi Guys,
> > > >
> > > > Our email server is currently behind a cisco router. The server is
> > >
> > > running
> > >
> > > > a local IP and the router is on a public IP. I installed NSClient and
> > > > use the check_nt plugin to monitor the email server. Here is my host
> > > > file
> > > >
> > > > define host{
> > > >         use                     dns-servers
> > > >         host_name               mailserver
> > > >         alias                   mailserver
> > > >         address                 41.211.31.43
> > > >         }
> > > >
> > > > I have a backup email server behind the same router running a local
> IP.
> > > > I was wondering how I can monitor it. Any ideas?
> > >
> > > --
> > >
> > > Assaf Flatto
> > > SSP Ops Team
> > > Linux System Administrator
> > >
> > >
> > >
> > >
> > >
> > > IMPORTANT . this email and the information in it may be confidential,
> > > legally
> > > privileged and/or protected by law. It is intended solely for the use
> of
> > > the
> > > person to whom it is addressed. If you are not the intended recipient,
> > > please
> > > notify the sender immediately and do not disclose the contents to any
> > > other person, use it for any purpose, or store or copy the information
> in
> > > any medium.
> > > Please also delete all copies of this email and any attachments from
> your
> > > system.
> > >
> > > We cannot guarantee the security or confidentiality of email
> > > communications. We
> > > do not accept any liability for losses or damages that you may suffer
> as
> > > a result of your receipt of this email including but not limited to
> > > computer service or system failure, access delays or interruption, data
> > > non-delivery or
> > > mis-delivery, computer viruses or other harmful components.
> > >
> > > Copyright in this email and any attachments belong to Select Service
> > > Partner UK
> > > Limited. Should you communicate with anyone at Select Service Partner
> UK
> > > Limited by
> > > email, you consent to us monitoring and reading any such
> correspondence.
> > >
> > > Nothing in this email shall be taken or read as suggesting, proposing
> or
> > > relating to any agreement concerted practice or other practice that
> could
> > > infringe UK or EC competition legislation.
> > >
> > > Select Service Partner UK Limited is a company registered in England
> and
> > > Wales
> > > (company number 05687183) whose registered office is at 1 The Heights,
> > > Brooklands, Weybridge. Surrey. KT13 0NY
> > >
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win great
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in the
> > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > 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
>
>
>
> --
>
> Assaf Flatto
> SSP Ops Team
> Linux System Administrator
>
>
>
>
>
> IMPORTANT . this email and the information in it may be confidential,
> legally
> privileged and/or protected by law. It is intended solely for the use of
> the
> person to whom it is addressed. If you are not the intended recipient,
> please
> notify the sender immediately and do not disclose the contents to any other
> person, use it for any purpose, or store or copy the information in any
> medium.
> Please also delete all copies of this email and any attachments from your
> system.
>
> We cannot guarantee the security or confidentiality of email
> communications. We
> do not accept any liability for losses or damages that you may suffer as a
> result of your receipt of this email including but not limited to computer
> service or system failure, access delays or interruption, data non-delivery
> or
> mis-delivery, computer viruses or other harmful components.
>
> Copyright in this email and any attachments belong to Select Service
> Partner UK
> Limited. Should you communicate with anyone at Select Service Partner UK
> Limited by
> email, you consent to us monitoring and reading any such correspondence.
>
> Nothing in this email shall be taken or read as suggesting, proposing or
> relating to any agreement concerted practice or other practice that could
> infringe UK or EC competition legislation.
>
> Select Service Partner UK Limited is a company registered in England and
> Wales
> (company number 05687183) whose registered office is at 1 The Heights,
> Brooklands, Weybridge. Surrey. KT13 0NY
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>



-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081020/33399550/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- 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