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

</div>