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.
autodiscovery wizard issue
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: autodiscovery wizard issue
I'm going to go ahead and add this to an internal feature request instead of a bug, thanks for reporting this method!