invalid hostname

Subhendu Ghosh sghosh at sghosh.org
Tue May 6 17:11:47 CEST 2003


All v1.3.0 plugins went by RFC1035 which stated that dns names should 
always begin with a character.

As pointed out on Apr 22 - RFC1123 relaxes the condition to allow a digit
in addition to a character.

utils.c was patched in CVS.

Can you try the 1.3 cvs snaphot?

http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-r1_3_0-200305061207.tar.gz

-sg

On Tue, 6 May 2003, Simon Østengaard wrote:

> Hi
> I use the check_smtp plugin  ver. 1.3.0
> 
> The plugin refuses to check a host that contains a number in the 
> beginning of the hosts fully-qualified-domain-name. I.e mail.2aa.dk.
> 
> [root at columbia nagios-plugins-1.3.0]# ./plugins/check_smtp -H mail.2aa.dk
> Invalid host name
> Usage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] 
> [-c crit] [-t timeout] [-v]
>        check_smtp --help
>        check_smtp --version
> [root at columbia nagios-plugins-1.3.0]# telnet mail.2aa.dk 25
> Trying 80.80.7.208...
> Connected to mail.2aa.dk.
> Escape character is '^]'.
> 220 mail.2aa.dk ESMTP Tue, 06 May 2003 15:02:58 +0200
> 
> 
> Any help will be usefull.
> 
> Best regards.
> Simon
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 

-- 







-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list