NagiosXI NSCA/NRDP not working to second NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

NagiosXI NSCA/NRDP not working to second NagiosXI

Post by SDohmen »

We have 2 nagiosxi machines. 1 is our main central where currently all is being send too (distributed monitoring solution) and the other is our development machine.

Last week i decided to upgrade the test machine to the latest version 3.2 (from 2.1). Firstly i made a backup of the main central to restore on the test machine so the data was as current as possible. After that i did the upgrade which was successful. I checked all the modules and all seems to be working fine on the test machine.

The problem now is that i want to restore the data connection between the 2. Before the upgrade i used nsca (even though the bug prevented perf data to be sent) which worked fine after i stopped the selinux firewall (NRDP never worked at all).

So after the upgrade i setup nsca again but i noticed no results where being recieved. I checked the logs and i noticed that the nsca was giving crc errors. After some searching around i found out that the newer version wasn't backwards compatible with the old one. What i did was grab the package from the installer and install that one on the main central. This seemed to have resolved the crc error but i am still not getting any results on the test central.

What can i do to resolve this? I would prefer to have nrdp working as its much cleaner.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: NagiosXI NSCA/NRDP not working to second NagiosXI

Post by SDohmen »

By mere luck i found a solution here on the forum.

http://support.nagios.com/forum/viewtop ... =20#p29144

The nrdp output is working fine now. Sorry for the extra thread about it. Since the original commands don't support performance data i changed the 2 commands to the following:

Host check: $USER1$/host_check $HOSTNAME$ $HOSTSTATEID$ '$HOSTOUTPUT$ | $HOSTPERFDATA$'
Service check: $USER1$/service_check '$HOSTNAME$' '$SERVICEDESC$' '$SERVICESTATEID$' '$SERVICEOUTPUT$ | $SERVICEPERFDATA$ [$SERVICECHECKCOMMAND$]'
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NagiosXI NSCA/NRDP not working to second NagiosXI

Post by mguthrie »

Thanks for updating with the solution, glad it's working for you!
Locked