On Fri, Feb 24, 2012 at 1:18 PM, Alex Griffin <agrif...@nagios.com> wrote: > check_by_ssh doesn't check the hostname using ssh's config. Perhaps it > should, but looking through the source it looks like the error is coming > from this function, which is actually a common function amongst several > nagios plugins (located in netutils.h): > > void > host_or_die(const char *str) > { > if(!str || (!is_addr(str) && !is_hostname(str))) > usage_va(_("Invalid hostname/address - %s"), str); > } > > Since it doesn't look like your machine is accessible outside of a local > network, you could set up a proper proxy or vpn or something within the > network with a public hostname. Then use check_by_ssh with the local IP, > e.g. 192.168.0.2 > > Alex Griffin > --- > Tech Team > agrif...@nagios.com >
OK, Thanks for the info Alex. -- Carlos Albornoz C. Linux User #360502 Fono: 97864420 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Nagios-users mailing list Nagios-users@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