Page 1 of 2
Message forwarding (primary to backup)
Posted: Fri Jul 14, 2017 11:35 am
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
Re: Message forwarding (primary to backup)
Posted: Fri Jul 14, 2017 1:03 pm
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/
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 12:16 pm
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..

)
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 3:00 pm
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).
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 4:00 pm
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
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 4:26 pm
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/
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 5:18 pm
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..
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 5:22 pm
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??
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 5:56 pm
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) <- ???
Re: Message forwarding (primary to backup)
Posted: Mon Jul 17, 2017 8:07 pm
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.