Federico Donati wrote: > Hi all, > > > I'm in trouble with checking a remote service. I have to check if the > service is alive and i do this by using the check_tcp plugin. > Unfortunately, the remote service is not managed by me and it requires a > specific source port, and you know that check_tcp doesn't support this > feature. > > So, somebody had my problem? How to resolve? I've already wrote to > devel-list, but i didn't get any answer. > Before to begin scripting, i'd like to know if there is a ready-to-use > solution. > > Any kind of help will be appreciated. >
If your Nagios server is running BSD or Linux then you can use the built-in firewall to transparently change the port. Kind of like NAT, but just for the port (some vendors (Juniper) call this PAT). I suppose that Solaris and Windows might have this ability too, but I'm not that familiar with their equivalent of iptables / ipfw. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
