NRDP doesn't seem to work, and I don't know where to look...

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Johan159
Posts: 43
Joined: Mon Mar 30, 2015 8:05 am

NRDP doesn't seem to work, and I don't know where to look...

Post by Johan159 »

Hello,

I installed Nagios Log Server a couple days ago and am now trying to set up some alerting to my Nagios Core server. NRDP is already working properly there and is receiving messages from other sources.

I tried to configure a NRDP destination on Nagios Log Server, and associated alerts to it. I manually triggered some alerts but nothing has been received on my Nagios Core server.

And, it's ironic, but I can't find any logs about this action on the Nagios Log Server... Where should I check to see what's wrong?

Thanks in advance for your help!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP doesn't seem to work, and I don't know where to loo

Post by tmcdonald »

Run a tcpdump on the Logserver machine then trigger some alerts to see if the traffic is even getting out:

Code: Select all

tcpdump dst host <Nagios Core server ip>
If it is, we might need to run a similar command on the Core server to see if it is getting in:

Code: Select all

tcpdump src host <Logserver ip>
If it is not I would suspect a firewall or other device between the two.
Former Nagios employee
Johan159
Posts: 43
Joined: Mon Mar 30, 2015 8:05 am

Re: NRDP doesn't seem to work, and I don't know where to loo

Post by Johan159 »

Thank you for your feedback.

I managed to find out what was wrong. It might be considered as a bug (if it is possible to reproduce it) that could be corrected. Here is what I did :

1) I created a NRDP destination called NAGIOS_HOSTNAME.
2) I associated this destination to several alerts
3) I deleted the NAGIOS_HOSTNAME NRDP destination, and recreated it under the same name.
4) The alerts were still pointing to "NAGIOS_HOSTNAME" but it seems that they were pointing to the first definition (which contained errors).
5) I recreated the alerts, ponting to NAGIOS_HOSTNAME, and everything then worked as expected.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRDP doesn't seem to work, and I don't know where to loo

Post by scottwilkerson »

Johan159 wrote:Thank you for your feedback.

I managed to find out what was wrong. It might be considered as a bug (if it is possible to reproduce it) that could be corrected. Here is what I did :

1) I created a NRDP destination called NAGIOS_HOSTNAME.
2) I associated this destination to several alerts
3) I deleted the NAGIOS_HOSTNAME NRDP destination, and recreated it under the same name.
4) The alerts were still pointing to "NAGIOS_HOSTNAME" but it seems that they were pointing to the first definition (which contained errors).
5) I recreated the alerts, ponting to NAGIOS_HOSTNAME, and everything then worked as expected.
That makes sense. They are tied to a unique ID, which after deleting one, you would need to re-select the "NRDP Server" for each of your alerts.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: NRDP doesn't seem to work, and I don't know where to loo

Post by zaji_nms »

can u guys help me i want to send log server alert to one of my nagiosXI what is the right procedure ? i never did NRDP before , i successfully setup and alert in log server now i wan to send as an email or NRDP
your kind help will be highly appriciated.
thansk in advance
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NRDP doesn't seem to work, and I don't know where to loo

Post by hsmith »

Can you please create a new topic outlining exactly what you need help with? I don't want to hijack this thread since it's not exactly related.
Former Nagios Employee.
me.
Locked