Message forwarding (primary to backup)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
CAISO_Nagios
Posts: 1
Joined: Thu Jul 13, 2017 4:23 pm

Message forwarding (primary to backup)

Post by CAISO_Nagios »

When we were having our sales conference, we discussed the ability to forward messages from satellite Nagios servers to a primary single server.
My question is there any documented info on this.. I'm an HPOM guy so I know that terminology, so I may not be searching peoperly on the Nagios content..

Something was mentioned about using Outbound Transfers, and I have looked at the docs, but I am not sure I am seeing the whole picture on hos to set this up..

Outbound Transfers and NRDP??

Many Thanks!!

-Dave Johansen
CAISO Nagios Admin
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Message forwarding (primary to backup)

Post by lmiltchev »

You could send check results from multiple XI servers to one "central" XI server via outbound/inbound checks. Please review both documents to get the whole picture:
https://assets.nagios.com/downloads/nag ... ith_XI.pdf
https://assets.nagios.com/downloads/nag ... ith_XI.pdf

Let us know if you run into a specific issue with following the above documents, and we will help you out.

Having said that, it seems to me like that Nagios Fusion may be the solution that you need. We will be releasing Nagios Fusion 4 in a few days. I would recommend that you give it a go, and see if this is going to get the job for you.

https://www.nagios.com/introducing-nagios-fusion-4/
Be sure to check out our Knowledgebase for helpful articles and solutions!
djohansen
Posts: 48
Joined: Tue Jan 31, 2017 4:59 pm

Re: Message forwarding (primary to backup)

Post by djohansen »

Hey THnaks,
I lost track of this message and I reposted same, thinking this one didn't make it.. I have both docs and I am reviewing. I understand the mechanism, but not fully sure how to get the messages.. I.E. how to I send an event to outbound transfers and how do I pick them up and process them.. ()I played around a bit with NRDP, so I have a dangerous inkling.. ;))
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Message forwarding (primary to backup)

Post by eloyd »

It's like launching a rocket - it sounds simple in description, but the devil's in the details. Basically, you're going to configure server A to send all of it's check results to server B. You'll configure B to allow server A to send to it, and you'll need to configure B to accept passive checks for everything A is sending it (that's the key part).

Code: Select all

(Server B) must be configured to monitor hosts and services that it received passive check results for (from Server A). If it is not configured with a host
or service when a passive check arrives, Nagios XI will add that host or services to a list of Unconfigured objects (Admin > Monitoring
Config > Unconfigured Objects). 
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Message forwarding (primary to backup)

Post by ssax »

Thanks eloyd!

That is correct, one thing to note though is that since you may not have the same configurations in all XI systems they will likely start showing up in Admin > Unconfigured Objects, make sure to check in there periodically.

Let us know if you have any questions.

Thank you
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Message forwarding (primary to backup)

Post by tacolover101 »

depending what you're looking to accomplish, such as a single pane type of view, it may be worth considering Fusion to bring all of your XI systems together - https://www.nagios.com/introducing-nagios-fusion-4/
djohansen
Posts: 48
Joined: Tue Jan 31, 2017 4:59 pm

Re: Message forwarding (primary to backup)

Post by djohansen »

Yeah, we were looking at Fusion early on.. Our purchase was made before the new release, so I'm going to have to wait for the next purchase cycle..
djohansen
Posts: 48
Joined: Tue Jan 31, 2017 4:59 pm

Re: Message forwarding (primary to backup)

Post by djohansen »

eloyd wrote:It's like launching a rocket - it sounds simple in description, but the devil's in the details. Basically, you're going to configure server A to send all of it's check results to server B. You'll configure B to allow server A to send to it, and you'll need to configure B to accept passive checks for everything A is sending it (that's the key part).

Code: Select all

(Server B) must be configured to monitor hosts and services that it received passive check results for (from Server A). If it is not configured with a host
or service when a passive check arrives, Nagios XI will add that host or services to a list of Unconfigured objects (Admin > Monitoring
Config > Unconfigured Objects). 

I think I have the first two parts, where does the third part get configured?? (key part) Is that in the Inbound Transfers??
djohansen
Posts: 48
Joined: Tue Jan 31, 2017 4:59 pm

Re: Message forwarding (primary to backup)

Post by djohansen »

I am assuming that the three parts are as follows:

Part 1 configure server A to send all of it's check results to server B <- Outbound Transfers on Server A?
Part 2 configure B to allow server A to send to it -< Inbound Transfers on Server B?
Part 3 configure B to accept passive checks for everything A is sending it (that's the key part) <- ???
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Message forwarding (primary to backup)

Post by eloyd »

djohansen wrote:I am assuming that the three parts are as follows:

Part 1 configure server A to send all of it's check results to server B <- Outbound Transfers on Server A?
Yup.
Part 2 configure B to allow server A to send to it -< Inbound Transfers on Server B?
Yup.
Part 3 configure B to accept passive checks for everything A is sending it (that's the key part) <- ???
Yup. Oh wait, sorry. :-)

Basically, if you want server B to show all the same states for all the same services on all the same hosts as server A, then you need to duplicate all of the hosts and service from server A to server B (backup, copy, restore is an easy way). THEN you need to change them all so they're passive; meaning, Nagios B isn't actively checking those things, it's just waiting for something else (server A) to tell it what the state is.

Another approach, as @ssax said, is to not bother duplicating everything and just waiting for things to show up on server B's "Admin > Unconfigured Objects" page. You can add them from there, directly.

Personally, I'd just backup/copy/restore and set them all passive, assuming that you want to see server A's status on server B, because that way you know you have everything.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Locked