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
Nagios XI (master) & Nagios Core (slave)
Re: Nagios XI (master) & Nagios Core (slave)
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
http://www.openlogic.com/wazi/bid/18813 ... ith-Nagios
Re: Nagios XI (master) & Nagios Core (slave)
Thanks mate.
The doco has instructions for NSCA. Do you know of any doco with details on NRDP?
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)
This is pretty much outlined in this post, you may need to modify for your setup
http://support.nagios.com/forum/viewtop ... 144#p29144
http://support.nagios.com/forum/viewtop ... 144#p29144
Re: Nagios XI (master) & Nagios Core (slave)
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
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)
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.
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.
Re: Nagios XI (master) & Nagios Core (slave)
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
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)
Actually, it should read "replacing <URL of the NRDP server> with the actual URL for your nrdp server and <shared token> with your token"
Re: Nagios XI (master) & Nagios Core (slave)
Thank you very much for your prompt response Scott.
Much appreciated!
Much appreciated!
Re: Nagios XI (master) & Nagios Core (slave)
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.
What command would I use? Sorry man, I've been out of the IT game for many years. Killed too many brain cells.