FQDN for Unique Host page

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
mtarose
Posts: 7
Joined: Mon Dec 04, 2017 12:55 pm

FQDN for Unique Host page

Post by mtarose »

Hello,
is there a way where we can dynamically identify and set-up a corresponding column which displays the FQDN of the associative IP host entry in the unique host page? Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: FQDN for Unique Host page

Post by ssax »

What version of Log Server are you running? You can grab it from the bottom left hand side of the web interface.

The Unique Hosts report should show the DNS address in parenthesis, see the attached image. As long as your DNS is setup it should use gethostbyname PHP function to return the proper DNS entry.
Capture6.PNG
Am I misunderstanding what you're looking for or does that meet your needs?
You do not have the required permissions to view the files attached to this post.
mtarose
Posts: 7
Joined: Mon Dec 04, 2017 12:55 pm

Re: FQDN for Unique Host page

Post by mtarose »

Hello,

thanks for the reply. We are running the latest version--2.0.5.
I'll try and populate some dns/ptr records to do the reverse lookup on the ip address in the unique host field. Will that work to get the hostname in the ()?

thanks
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: FQDN for Unique Host page

Post by npolovenko »

@mtarose, That should do it. Otherwise its also possible to set up the DNS filter in the elasticsearch:
https://www.elastic.co/guide/en/logstas ... s-dns.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked