Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I am using Ubuntu 10.04 and I installed in my PC the Nagios Core 3.5.1, Nagios Plugins 2.0.3 and the Nagios NRDP Add-on to submit passive checks to my Nagios server; I used the "compiled mode" (install from source code) to install everything following the steps of the installation manual for nagios. Everything is working fine, but when I use the nrpe address (http://servernagios/nrpd) to test the passive submits appears this:
NO REQUEST HANDLER
I tested this in a Ubuntu Server 14.04 with the same instalation mode (from source code) and all worked fine, but I can't to upgrade the server to a newest one for now, can you help me?
Can you provide us with a link to the document that you followed for installing NRDP?
What do you see when you access your NRDP server at http://<ipaddress>/nrdp/? Can you show us a screenshot?
Be sure to check out our Knowledgebase for helpful articles and solutions!
So, I installed NRDP following the install instructions inside the nrdp zip file that I downloaded from Nagios.org/add-ons. The API shows up exactly what appears here when access the url http://nagiosserver/nrdp/:
In this pdf file there is a picture of the API Window where we can test the nrdp passive check. Just to click in Submit Check Data (without to fill any data except the token) and the message must be "2 commands submited", but what appears is "NO REQUEST HANDLER".
As I wrote, I installed the Nagios and NRDP in a server with Ubuntu 14.04 and the nrdp works fine, but not in a 10.04 one...
ADD>> I think that this server is broken, I done a fresh install with the Ubuntu 10.04 in my pc and the nrdp is working fine...
lmiltchev wrote:Can you provide us with a link to the document that you followed for installing NRDP?
What do you see when you access your NRDP server at http://<ipaddress>/nrdp/? Can you show us a screenshot?
Well, I really don't know what's happening, but I will install a Ubuntu server version in my PC to figure out if this problem is with installed O.S. or if is a mess in the server installation. Whatever, this server will be reinstalled soon with a new Ubuntu version, but this is an "easy solution", because if this problem appears again, we're still not sure what is happening...
Oh, yes, I forgot to write that my installed O.S. is the Ubuntu Desktop, I will install here the same O.S. in server to see if this problem appears too; if yes, that's the problem...
slansing wrote:Ahh, the Ubuntu 10.04 installation was messed up? How do things look now that you have gotten around that hurdle?
Graphical installs have certainly caused problems in the past, so I wouldn't doubt it. But let's let the results speak for themselves. We'll keep this open until you have news about the reinstall.
As I wrote, i tried all Ubuntu Version (10.04 and 14.04, both desktop version) in my pc and all worked fine (with grafical interface). Now, with the 10.04 server intalled in my pc, the nrdp resource worked fine too. So, this is a broken installation in the server, when I fix it, I will report the results here.
well if nagios is not on your local desktop and only on a dedicated nagios system, it would make sense that nrdp would not be able to find the command file. I know you've stated it a few times, but just to be 100% both nagios core and nrpe were installed from source? If so could you send your /usr/local/nagios/etc/nagios.cfg, /usr/local/nrdp/nrdp.cfg, and /usr/local/nrdp/server/config.inc.php?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Finally I figured out what was happening with NRDP Server. The version of the Ubuntu that was installed on the server running nrdp server and nagios core was a virtual machine, not a phisical installation. Now we installed another Ubuntu Server virtual machine version (I mean, a virtual machine to run as close to a real phisical installation) and all is working fine, with the nagios core receiving through nrdp the passive checks by the remote machine. Now I need to put the script to run in Crontab, I tried sometimes but with no results. The command is:
This command works fine in a console shell, sending the passive check to nrdp server but not in Crontab (I am sure that I am doing something wrong, hehehe...).
My Crontab is (to run the command once per minute):