Page 1 of 1

autodiscovery wizard issue

Posted: Fri Feb 14, 2014 6:59 pm
by niebais
I'm using nagios 2012-2.8c
Centos 64bit

I'm running this on a client network and it isn't resolving hostnames.
I ran nslookup on the IP and it returns just fine.

I looked at the output file and ran the command manually and the hostname doesn't show up. Then I ran the same command and added the --system-dns flag. It found the expected hostname correctly then.

I realize that this is a configuration issue on the client network. The nagios code is source guarded, so I can't add the option myself unless I write a replacement script for autodiscovery_new.php.

Usage of the --system-dns flag adds (on average in my limited testing) .1 seconds to the nmap query.

It looks like this is a bug in nmap, but at the same time, I believe that it would be helpful to add that flag as one of the options on the call screen.

Thanks.

Re: autodiscovery wizard issue

Posted: Mon Feb 17, 2014 12:44 pm
by slansing
I'm going to go ahead and add this to an internal feature request instead of a bug, thanks for reporting this method!