Have you considered using nrpe server behind the firewall and nagios master server outside the firewall? Using nrpe like this means you only have to "punch one hole" in the firewall to communicate with nrpe and let nrpe execute the checks as a kind of proxy if you will. This way you don't have to worry about using port address translation. 
<br><br><div class="gmail_quote">On Nov 24, 2007 2:05 PM, Daniel Bareiro <<a href="mailto:daniel-listas@gmx.net">daniel-listas@gmx.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday, 22 November 2007 08:14:54 -0600,<br><div class="Ih2E3d">Marc Powell wrote:<br><br>> >>> Then, I'd like to redefine the host object to include a port<br>> >>> variable for call it in a general service definition.
<br><br>> >> With nagios-3, yes, but not with nagios-2.<br><br>> > I'm using Nagios 3. Could you give me an example? I was searching<br>> > documentation about it, but I didn't found how to do it yet.
<br><br>> See Custom Variable Macros at<br>> <a href="http://nagios.sourceforge.net/docs/3_0/macros.html" target="_blank">http://nagios.sourceforge.net/docs/3_0/macros.html</a><br><br></div>Great! Thank you very much, Marc.
<br><div><div></div><div class="Wj3C7c"><br>Regards,<br>Daniel<br>--<br>Daniel Bareiro - System Administrator<br>Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37<br>Powered by Debian GNU/Linux Etch - Linux user #188.598
<br></div></div><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.6 (GNU/Linux)<br><br>iD8DBQFHSHXkZpa/GxTmHTcRAh0VAKCQraAjQh4gnlMHNMb8lTNCdscXJgCfQ8r6<br>38YXYzzOpv70QROa3wq1S9Y=<br>=nROR<br>-----END PGP SIGNATURE-----
<br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2005.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</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>