Eval NagiosXI - DNS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Eval NagiosXI - DNS

Post by sharding »

I have a trial version of XI setup and IP/DNS settings are correct. When I try to monitor a website it kept failing to find out the VM cannot query DNS to resolve server names, it there something else I should be doing ?

I used the system-network-config to enter IP and DNS info and these are correct, I then ifdown my eth0 and ifup eth0

Am using r1 - Nagios tells me there is an update from Nov 5 but the download page does not have this available.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Eval NagiosXI - DNS

Post by slansing »

What was the error you received in the XI Web interface pertaining to this service's check failing?
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: Eval NagiosXI - DNS

Post by sharding »

sorry I must have explained wrong, it's not a DNS check in Nagios XI, it's the DNS of my VM, I am using our DNS addresses but when I ssh into the VM I cannot resolve any DNS names
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Eval NagiosXI - DNS

Post by lmiltchev »

Can you post a screenshot of the error that you are getting?
Be sure to check out our Knowledgebase for helpful articles and solutions!
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: Eval NagiosXI - DNS

Post by sharding »

Not really an error, anything shows as fails when the nodes/hostnames are up so I am assuming the VM has a DNS issue, but it does have the correct DNS Ip's in the system-network-config or whatever it's called
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Eval NagiosXI - DNS

Post by slansing »

Can you run the following as a test from your command line and post the results?

Code: Select all

/usr/local/nagios/libexec/check_dns -H serverfault.com -a 69.59.197.21
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: Eval NagiosXI - DNS

Post by sharding »

dns ok: 0.155 sec resp time. serverfault.com returns 69.59.197.21|time=0.155300s;;;0.000000

if I try the same with an internal hostname and ip it says

Domain <hostname> was not found by the server
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Eval NagiosXI - DNS

Post by scottwilkerson »

do you have your internal DNS server set in the /etc/resolv.conf ?

This will be required to use internal dns names...
or add the hosts to the /etc/hosts file
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sharding
Posts: 140
Joined: Thu Nov 08, 2012 11:08 am

Re: Eval NagiosXI - DNS

Post by sharding »

No all the config was done via the system-network-config util, but I did check it and the DNS was correct but the domain was totally not ours so I changed to our domain name re-started an it looks a lot better now, will check some more, but all those DNS errors have gone

thanks for your help
Locked