Nagios XI (master) & Nagios Core (slave)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

Nagios XI (master) & Nagios Core (slave)

Post by jhobbins »

G'day Guys,

Doing a distributed monitoring proof of concept and have completed the following:

1. Read http://assets.nagios.com/downloads/gene ... r_MSPs.pdf

2. Completed steps in http://assets.nagios.com/downloads/nagi ... ith_XI.pdf

3. Completed steps in http://assets.nagios.com/downloads/nrdp ... erview.pdf (Using /usr/local/nrdp/clients/send_nrdp.sh instead of send_nrdp.php)

4. send_nrdp.sh (from Nagios Core slave) successfully sends a check to http://192.168.2.151/nrdp (Nagios XI master) and the device appears in Unconfigured Objects.

Now my question...

Where can I go to get documentation on configuring my Nagios Core slave to automatically send checks to Nagios XI master?

Happy to receive draft documentation and help contribute to its development.

Regards,

John Hobbins
Australia
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios XI (master) & Nagios Core (slave)

Post by mguthrie »

From a Core server, you can use an OSCP command to forward the check results after each service check is run. See the following tutorial:
http://www.openlogic.com/wazi/bid/18813 ... ith-Nagios
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

Re: Nagios XI (master) & Nagios Core (slave)

Post by jhobbins »

Thanks mate.

The doco has instructions for NSCA. Do you know of any doco with details on NRDP?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI (master) & Nagios Core (slave)

Post by scottwilkerson »

This is pretty much outlined in this post, you may need to modify for your setup

http://support.nagios.com/forum/viewtop ... 144#p29144
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

Re: Nagios XI (master) & Nagios Core (slave)

Post by jhobbins »

G'day Scott,

Thank you very much mate.

Your advice on send_nrdp.sh and send_nrdp.php

Which would you recommend and why?

Regards,
John Hobbins
Australia
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI (master) & Nagios Core (slave)

Post by slansing »

It's really all personal preference, the .sh version is the bash alternative to send_nrdp.php. They are both NRDP clients.

There is also a Python, and Perl version. I suppose it really comes down to what you have, or want to have installed on your system. Some may not have php, or even shell installed.
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

Re: Nagios XI (master) & Nagios Core (slave)

Post by jhobbins »

Thanks mate.

Another question from http://support.nagios.com/forum/viewtop ... 144#p29144

What is <SERVER_TO_SEND_TO>." in the instruction "You will need to create two scripts in the /usr/local/nagios/libexec/eventhandlers directory replacing..." referring to?

Regards, John
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI (master) & Nagios Core (slave)

Post by scottwilkerson »

Actually, it should read "replacing <URL of the NRDP server> with the actual URL for your nrdp server and <shared token> with your token"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

Re: Nagios XI (master) & Nagios Core (slave)

Post by jhobbins »

Thank you very much for your prompt response Scott.

Much appreciated!
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

Re: Nagios XI (master) & Nagios Core (slave)

Post by jhobbins »

I'm guessing I'll have to change the rights on service_check and host_check shell scripts.

What command would I use? Sorry man, I've been out of the IT game for many years. Killed too many brain cells.
Locked