Outbound Transfers with NSCA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Outbound Transfers with NSCA

Post by b2m »

Hi everyone

we want to use distributed monitoring. We have a Nagios XI server which sends check results via NSCA to a central monitoring system based on Nagios Core.

While configuring this, a few problems occured:

1) How can I tell Nagios XI to use "encryption_method=1" (Simple XOR) with no password when sending NSCA-messages?

2) Which component / script of Nagios XI triggers send_nsca to send out the messages? How are the parameters given to send_nsca? How can I debug here to see what the XI-client sends out?

3) Some outputs of service checks are displayed on the central server, some are not. Examples:

service "rp1_exhaust_1_temp" with output "SNMP OK - Temperature 41 Degree" works
service "to_n1-lncr01_bw" with output "OK - Current BW in: 11.16Mbps Out: .92Mbps" works

service "power_supply_a0" with output "SNMP OK - Power on(2)" does not work
service "sys_location" with output "000411-000064-035-108-014-013" does not work

All hosts and services exist on the central server and have the same service descriptions. What could cause this problem?

Thanks and best wishes

b2m
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Outbound Transfers with NSCA

Post by lmiltchev »

Currently, you are not going to be able to use the GUI to configure outbound transfers with no password in Nagios XI. We may change the logic in the script in the future but for the time being, you could use the following "workaround".

On the Nagios XI server (sending server) open the "send_nsca-*" config files in a text editor:

Code: Select all

vi /usr/local/nagios/etc/send_nsca-<hostname>.cfg
and comment out the password line so it is going to look like this:

Code: Select all

#password=your password
Save, exit and restart xinetd service.

On the Nagios Core box (receiving machine), open the nsca.cfg file, and also comment out the password line. Restart xinetd.

This should work. Make sure you are using the same encryption/decryption methods on both boxes. :)

You can start a running tail on the system log to see if the checks are being received.

Code: Select all

tail -f /var/log/messages
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked