Page 1 of 1

hierarchy possible

Posted: Wed Dec 30, 2020 2:00 pm
by katieKatiePants
so, we've got a "remote environment" that needs some monitoring. (happy new year to allll of us!) i've dreamed up 2 options.

option a: install a nagios core server in the remote environment and have it send alert data to the mothership nagiosxi running in the clouds. install the ncpa agent on the now local vanilla syslog server. use active or passive checks to feed delicious alert data to the nagios core server which then feeds the (still) delicious alert data to the mothership nagiosxi running in the clouds.


option b: only install the ncpa agent on the remote vanilla office syslog server; have it perform passive checks that are relayed to the mothership nagiosxi running in the clouds.


:?: a) is option a even technically possible (e.g. connecting a nagios core server to a nagiosxi server)?

:?: b) what are the conditions that would make option a preferable? option b is a lot less work but #askTheGeniuses

Re: hierarchy possible

Posted: Wed Dec 30, 2020 6:10 pm
by ssax
a) Yes, it's technically possible to do that, you would need to setup Admin > Inbound Transfers on the XI server, then see page 2 from the guide for how to setup Core:

https://assets.nagios.com/downloads/nag ... h-NRDP.pdf

b) How many total checks are you talking for that new environment (estimate)? NCPA wasn't really designed to be a relay for a large environment so it kind of depends on how many you're actually thinking about using this for. Not that it couldn't do it, it just wasn't designed with that in mind.

Another option would be for you to setup Mod Gearman and then setup a gearman worker at the new environment, then that worker would connect back to the gearman job server that gets installed on the XI server and perform the checks and return the results to the job server/XI server. The worker reaches back to the XI gearman job server to get the jobs (checks) it's supposed to perform so technically it's not the XI server reaching out, it's the worker reaching into the XI server which can help if that new environment is under compliance obligations.

See here for more info:

https://assets.nagios.com/downloads/nag ... ios_XI.pdf
https://support.nagios.com/kb/article.php?id=484

Re: hierarchy possible

Posted: Sun Feb 07, 2021 11:06 am
by katieKatiePants
you are amazeballs. thank you!

Re: hierarchy possible

Posted: Mon Feb 08, 2021 3:08 pm
by benjaminsmith
you are amazeballs. thank you!
Glad that was helpful. Did you have any other questions or shall we close this out?