Broken link (distributed monitoring)

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Broken link (distributed monitoring)

Postby candlerb » Wed Sep 13, 2017 2:38 am

I'd like just to report a documentation problem.

At https://assets.nagios.com/downloads/nag ... buted.html it says:

"Different options for setting up a distributed monitoring environment, along with their strengths and weaknesses, can be found in a special Distributed Monitoring topics area of the Nagios Core Library"

The link points to https://library.nagios.com/library/spec ... 1504337972

but that link gives a 404 error.

I think it should instead link to either
https://library.nagios.com/library/specialtopics/
or
https://assets.nagios.com/downloads/gen ... 1504337972

Thanks,

Brian.
candlerb
 
Posts: 2
Joined: Wed Sep 13, 2017 2:34 am

Re: Broken link (distributed monitoring)

Postby candlerb » Wed Sep 13, 2017 10:12 am

One other thing. Page 3 of that PDF talks about federation, which is what I'm interested in:

"Remote Nagios servers can be configured to transfer check results (status
information) back to a central Nagios XI server at the NOC. This allows NOC
staff to have a birds-eye view of the entire network, and provides them with
centralized reporting and optional notifications."

But it doesn't actually say *how* to do this, nor is it indicated on the diagram.

From further googling around, it seems that:

* the central Nagios server runs NRDP: https://assets.nagios.com/downloads/nrd ... erview.pdf
* the remote Nagios servers could be configured with ocsp_command and ohcp_command to invoke an NRDP client, e.g. send_nrdp.sh

Is this correct? I haven't actually been able to find a complete example of ocsp_command=send_nrdp.sh <arg> <arg> <arg>

I did find documentation on NRDS, but that appears to be a part of the commercial Nagios XI. I'm trying to work out how you'd do federation with nagios core.

Thanks,

Brian.
candlerb
 
Posts: 2
Joined: Wed Sep 13, 2017 2:34 am

Re: Broken link (distributed monitoring)

Postby scottwilkerson » Wed Sep 13, 2017 11:28 am

Thanks for the doc update.

There is a doc that displays some of this for XI but is relevant for Core and it shows how to use ocsp_command and ohcp_command with the send_nrdp.php

Page 3 & 4 of
https://assets.nagios.com/downloads/nagiosxi/docs/Distributed-Monitoring-With-NRDP.pdf

Commands
Code: Select all
define command{
command_name send_nrdp_host
command_line $USER1$/send_nrdp.php --url=https://10.25.5.17/nrdp/ --token=XXXXX --host="$HOSTNAME$" --state=$HOSTSTATEID$ --output="$HOSTOUTPUT$"
}
define command{
   command_name send_nrdp_service
   command_line $USER1$/send_nrdp.php --url=https://10.25.5.17/nrdp/ --token=XXXXX --host="$HOSTNAME$" --service="$SERVICEDESC$" --state=$SERVICESTATEID$ --output="$SERVICEOUTPUT$"
}


nagios.cfg

Code: Select all
obsess_over_hosts=1
obsess_over_services=1
ochp_command=send_nrdp_host
ocsp_command=send_nrdp_service
User avatar
scottwilkerson
CTO
 
Posts: 7620
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 28 guests