Display FQDNs on mouse over

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Display FQDNs on mouse over

Post by scottwilkerson »

I believe (not 100% positive) that it will use one defined in /etc/resolv.conf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Display FQDNs on mouse over

Post by snapon_admin »

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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Display FQDNs on mouse over

Post by lmiltchev »

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!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Display FQDNs on mouse over

Post by snapon_admin »

Does it check all the servers in the resolv.conf file? Because some are still not working. I will PM you a couple screenshots.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Display FQDNs on mouse over

Post by lmiltchev »

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!
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Display FQDNs on mouse over

Post by jomann »

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Display FQDNs on mouse over

Post by snapon_admin »

Forgot to clarify something on the server list. Sent a PM to jomann.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Display FQDNs on mouse over

Post by lmiltchev »

Can you also PM the same info to nscott? Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Display FQDNs on mouse over

Post by snapon_admin »

Done, thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Display FQDNs on mouse over

Post by lmiltchev »

I sent you a PM.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked