Page 1 of 4
Need help in setting up distributed monitoirng
Posted: Fri Dec 28, 2012 11:39 am
by ravish78
We want distributed monitoring environment in which we have total four servers.All are monitoring different servers specific to their location.
Our plan is to make one xi server to be master server which can get data from the local montoring as well as from all the remaining 3 nagios xi servers.
Users also should be able to login only to master server and can get data from any of the 4 servers.
Is it possible with NRDP/NSCA or Fusion or something else?
Already we have go 4 licences for nagios xi.
Do we need to get seperate license if we go for NRDP/NSCA or fusion.PLease suggest which works better for our requirement
Re: Need help in setting up distributed monitoirng
Posted: Fri Dec 28, 2012 11:59 am
by slansing
This was covered on the Core support forums, though thank you for posting it here. At least now we know you have access
It would be possible to link the other 3 servers into the 4th Nagios XI server, however Fusion provides much greater flexibility for centralized monitoring to tie them all together. The following is a carry over from the last thread.
Yes fusion is a stand alone product and more information can be found on it by contacting
[email protected], however your support contract "if you have one" covers fusion as well. If you have purchased Nagios XI you should also now be able to create threads in the customer support forums, if you are still unable to do this you can also contact sales with your forum username and they can grant you access.
Re: Need help in setting up distributed monitoirng
Posted: Fri Dec 28, 2012 12:14 pm
by BanditBBS
I kinda like the way I did it more, using gearman. One server to login to and setup all configuration. While fusion is a nice application, that would be more for a NOC to use in my opinion.
My suggestion is to fully plan/draw it out and investigate all the pros and cons with each way you are considering. I changed my mind about 10 times before I decided on gearman and then another 3 times with how I was going to use gearman I changed my mind another2 or 3 times.
Re: Need help in setting up distributed monitoirng
Posted: Fri Dec 28, 2012 3:33 pm
by mguthrie
For your scenario, it would be worth giving Fusion a try in trial mode to see if does what you need. It acts as a central viewing point for each of your machines. Fusion has a free 60-day trial, and setting it up doesn't require any changes to the XI machines.
Re: Need help in setting up distributed monitoirng
Posted: Mon Dec 31, 2012 10:48 am
by ravish78
Is it possible with NRDP or NSCA?We tried with it but not working.
Is the functionality of NRPD/NSCA similar to fusion.
Re: Need help in setting up distributed monitoirng
Posted: Wed Jan 02, 2013 11:19 am
by mguthrie
NRDP and NSCA are used for passive checks, which means that Nagios only listens for results from remote hosts, it does not schedule or initiate any checks.
If you want data from 4 servers to all be forwarded to one viewing point, I'd recommend taking a look at the inbound/outbound transfer feature of Nagios XI.
http://assets.nagios.com/downloads/nagi ... istributed
Re: Need help in setting up distributed monitoirng
Posted: Wed Jan 02, 2013 11:20 am
by scottwilkerson
ravish78 wrote:Is it possible with NRDP or NSCA?We tried with it but not working.
Yes, you should be able to setup the master with either under Admin -> Inbound transfer
Then, for the others setup Admin -> Outbound transfer using the credential set in master.
One thing to note, the machines need to be able to reach the master, either via port 5667 for NSCA or port 80/443 for NRDP.
ravish78 wrote:Is the functionality of NRPD/NSCA similar to fusion.
Not at all...
Fusion leaves each install as it it, and gives you a combined view of all of the installs giving quick access to the exact host/service on the correct machine if changes need to be made, whereas if you use the scenario above you will be able to view everything on the master but would still need to go to the other machines to make changes...
Re: Need help in setting up distributed monitoirng
Posted: Fri Jan 04, 2013 10:35 am
by ravish78
Hi,
We have tried the settings suggested by you .
Inbound transfer setting are set on server.
Outbound setting are set on client.
Clientservers are able to reach the mastaer server with port 80 and 5667.
We are able to see the transactions in messages file but they are not visible in gui.Can you please let us know if anything settings needs to be changed.
Below is the snippet of the message file output.
Jan 4 10:27:11 usa0300lv725 nsca[9102]: Handling the connection...
Jan 4 10:27:11 usa0300lv725 nsca[9102]: Time difference in packet: 0 seconds for host xdcs
Jan 4 10:27:12 usa0300lv725 nsca[9102]: SERVICE CHECK -> Host Name: 'xdcs', Service Description: '0', Return Code: '0', Output: '0 PING OK - Packet loss = 0%, RTA = 3.11 ms|rta=3.109000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\nxdcs10 0 PING OK - Packet loss = 0%, RTA = 3.24 ms|rta=3.237000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\nxdcs12 0 PING OK - Packet loss = 0%, RTA = 3.03 ms|rta=3.028000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\nxcomlrp1 0 PING OK - Packet loss = 0%, RTA = 3.38 ms|rta=3.385000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\nxcomprod1 0PING OK - Packet loss = 0%, RTA = 3.29 ms|rta=3.293000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0\nusa0300vm615 1 PING CRITICAL - Packet loss = 100%|rta=5000.000000ms;3000.000000;5000.000000;0.000000 pl=100%;80;100;0'
Jan 4 10:27:12 usa0300lv725 nsca[9102]: Attempting to write to nagios command pipe
Jan 4 10:27:12 usa0300lv725 nsca[9102]: End of connection...
Jan 4 10:27:12 usa0300lv725 nagios: Warning: Passive check result was received for service 'LOAD' on host 'usa0300vm246', but the host could not be found!
Jan 4 10:27:12 usa0300lv725 nagios: Warning: Passive check result was received for service '0' on host 'xdcs', but the host could not be found!
Jan 4 10:27:32 usa0300lv725 nsca[9303]: Handling the connection...
Jan 4 10:27:32 usa0300lv725 nsca[9303]: Time difference in packet: 0 seconds for host usa0300lv663.epn.useastgw.xerox.com
Jan 4 10:27:32 usa0300lv725 nsca[9303]: SERVICE CHECK -> Host Name: 'usa0300lv663.epn.useastgw.xerox.com', Service Description: '/tmp', Return Code: '2', Output: '(Service Check Timed Out)|\nusa0300lx944 /u12 2 (Service Check Timed Out)|\nusa0300lx946 LOAD 2 (Service Check Timed Out)|\nusaroc9050ux068 SSH 2 (Service Check Timed Out)|\nwccprodweb2 HTTPS - Modjk 0 HTTP OK HTTP/1.1 200 OK - 0.721 second response time|time=0.720846s;;15.000000;0.000000 size=2844B;;;0\nusa0300as410 DISK3 1 E:\\ - total: 1949.88 Gb - used: 1791.54 Gb (92%) - free 158.34 Gb (8%)|E:\\ Used Space=1791.54Gb;1657.40;1852.38;0.00;1949.88\nusa0300as275 DISK5 g: drive 0 G:\\ - total: 100.00 Gb - used: 30.80 Gb (31%) - free 69.20 Gb (69%)|G:\\ Used Space=30.80Gb;85.00;95.00;0.00;100.00\nwccprodweb1 HTTP - CPRT 0 HTTP OK HTTP/1.1 200 OK - 0.035 second response time|time=0.035074s;;15.000000;0.000000 size=28040B;;;0\nusa0300lv506 PeopleNet Check [https://hrapps7.xpn.xerox.com/s/owa/home] 0 HTTP OK HTTP/1.1 200 OK - 0.059 second response time|time=0
Jan 4 10:27:32 usa0300lv725 nsca[9303]: Attempting to write to nagios command pipe
Jan 4 10:27:32 usa0300lv725 nsca[9303]: End of connection...
Thanks
Re: Need help in setting up distributed monitoirng
Posted: Fri Jan 04, 2013 10:48 am
by slansing
Have the services been discovered in the unconfigured objects section?
This section of Nagios XI can be found here:
Admin > Unconfigured Objects. From here you must add received service's that are being created by Nagios XI on the results sent from the passive hosts.
Re: Need help in setting up distributed monitoirng
Posted: Fri Jan 04, 2013 4:36 pm
by ravish78
I have found the servers and services in admin -unconfigured objects section.
While i try to select that it asked to import and install unconfigured passive wizard .I've downloaded and uploaded the plugin in admin-manage plugins.
I can view it in under monitoring plugins
passiveobject.inc.php apache apache rwxr-xr-x 2013-01-04 16:25:49
passiveobject.zip apache apache rwxr-xr-x 2013-01-04 15:59:54
Again when i try to add the servers it is not accepting and giving the same message to install plugin.