Page 1 of 1

Nagios XI and DNX

Posted: Mon Feb 20, 2012 10:29 am
by porche944
Hi, I'm new to this forum and to Nagios in general.

I've managed to install and configure NagiosXI with services and hosts. This all looks good so far.

As we have a large network, remote sites in particular, I have looked into the options for NagiosXI and found that DNX may suite our requirements.

I've installed the client and server components on the relevant servers.

After this point I'm stuck. I've searched the net for documentation for the last few days as to how to make the next step - configure NagiosXI from the web interface to monitor a service / host.

Please can someone help?

Thanks.

Re: Nagios XI and DNX

Posted: Mon Feb 20, 2012 11:51 am
by scottwilkerson
With or without DNX you add hosts / services the same way.

DNX uses a NEB module to capture the events and have the checks run by the DNC clients.

You do need to make sure the clients actually have the plugins to be able to run the checks.

Re: Nagios XI and DNX

Posted: Tue Feb 21, 2012 3:25 am
by porche944
The bit that I'm not getting my head around is this;

NagiosXi Server (Data Centre) on subnet 10.10.11.0/24, NagiosCore Server (remote site) on subnet 192.168.1.0/24, Windows Server on remote site on 192.168.1.100

So I simply run the configuration wizard within NagiosXI for the Windows Server (e.g) using the IP address of 192.168.1.100?

If so how does the remote NagiosCore relay events in this case and is the NagiosXI server aware of the NagiosCore at the remote site?

Sorry if this sounds too basic but after reading so many documents about this I'm totally confused!

Thanks.

Re: Nagios XI and DNX

Posted: Tue Feb 21, 2012 10:13 am
by scottwilkerson
I'm a little confused also because the first post was about DNX and now this one mentions NagiosCore Server..

One thing is for certain, if you are going to have multiple machines running checks, they all need to be able to reach the remote machine they are checking, and also, if you are installing Windows Agents like NSClient++, it will need to have all of your machines running checks in it's allowed IP list because you will not know which machine is going to run the check.

Re: Nagios XI and DNX

Posted: Tue Feb 21, 2012 10:32 am
by porche944
DNX runs on Nagios Core or XI as for federated monitoring.

So I have my main server with Nagios Core and XI installed and a remote Nagios Core server. Both have the DNX plugin installed as Server / client.

The problem I have is that with NagiosXI all configurations must be done from the web interface. As any manual changes are reverted by Nagios processes.

So I need to know how to tell my NagiosXI to monitor a remote Windows Server using the DNX plugin via the remote Nagios Core server.

Hope that helps.

Re: Nagios XI and DNX

Posted: Tue Feb 21, 2012 10:44 am
by scottwilkerson
porche944 wrote:DNX runs on Nagios Core or XI as for federated monitoring.
DNX doesn't need to be on a server with Core... It can be on a machine by itself...

We have a DNX setup guide here
http://library.nagios.com/library/produ ... ith-nagios

I would recommend enabling automatic synchronization of check plugins by ssh.

Once this is setup, as long as these machines can reach each other then checks will be distributed to the DNX clients, including your windows checks.

However, as I mentioned before, if you are installing Windows Agents like NSClient++, it will need to have all of your machines running checks in it's allowed IP list because you will not know which machine is going to run the check.