Display FQDNs on mouse over
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Display FQDNs on mouse over
I believe (not 100% positive) that it will use one defined in /etc/resolv.conf
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Display FQDNs on mouse over
That file looks like it'd be the right one. When view it I see 2 of our DNS servers in there already, likely added during the initial install I assume. I added the rest of our DNS servers and I'm still not getting anything back on the IPs that weren't working before. Is there a service or anything that needs to be restarted?
Re: Display FQDNs on mouse over
Your OS will pick a DNS server from the /etc/resolv.conf and do a reverse lookup.
Be sure to check out our Knowledgebase for helpful articles and solutions!
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Display FQDNs on mouse over
Does it check all the servers in the resolv.conf file? Because some are still not working. I will PM you a couple screenshots.
Re: Display FQDNs on mouse over
I believe it pulls the first entry, if it fails, it goes to the next one. I don't think it uses all of them at the same time. Anyway, you can PM me the screenshots. I will get the Nagios NA developers involved as well. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Display FQDNs on mouse over
From what I can tell it looks like they are using different nameservers and the nameserver for the IPs that are working is actually quite far down the list (so I am assuming it checks all nameservers) but I don't see much documentation on the actual PHP function we are using - we don't specify the nameservers to look at anywhere in our scripts, the only thing we use is the core PHP function we were talking about earlier.
My first instinct is to ask if you have PTR records set up for the IPs you are using that are not showing hostnames. Are there PTR records for the IPs that are working? If there are then the lack of PTR records for the others may be causing the issue.
My first instinct is to ask if you have PTR records set up for the IPs you are using that are not showing hostnames. Are there PTR records for the IPs that are working? If there are then the lack of PTR records for the others may be causing the issue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Display FQDNs on mouse over
Forgot to clarify something on the server list. Sent a PM to jomann.
Re: Display FQDNs on mouse over
Can you also PM the same info to nscott? Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Display FQDNs on mouse over
Done, thanks.
Re: Display FQDNs on mouse over
I sent you a PM.
Be sure to check out our Knowledgebase for helpful articles and solutions!