Page 1 of 1
NRDP doesn't seem to work, and I don't know where to look...
Posted: Thu Apr 02, 2015 10:06 am
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!
Re: NRDP doesn't seem to work, and I don't know where to loo
Posted: Thu Apr 02, 2015 12:39 pm
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:
If it is not I would suspect a firewall or other device between the two.
Re: NRDP doesn't seem to work, and I don't know where to loo
Posted: Tue Apr 07, 2015 7:31 am
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.
Re: NRDP doesn't seem to work, and I don't know where to loo
Posted: Tue Apr 07, 2015 1:30 pm
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.
Re: NRDP doesn't seem to work, and I don't know where to loo
Posted: Wed Jul 13, 2016 7:15 am
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
Re: NRDP doesn't seem to work, and I don't know where to loo
Posted: Wed Jul 13, 2016 9:25 am
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.