On Jun 13, 2008, at 9:02 AM, howard chen wrote: > > Yes, some of them are 4000, but some of them maybe listening others... > so are there other methods?
Yes, you could pass the port number from the service definition as an argument to the command. If using nagios-3, see 'Macros and how they work'. If using nagios-2, see 'Using macros in commands'. -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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
