We've been using NRDP here for months now.  No concerns.
 
Try adding a trailing / at the end of your URL.
 
As an FYI I recently posted a perl client that acts as a dropin replacement for 
send_ncsa to make the transition easier for nsca shops, or for shops that don't 
have php on their monitored hosts.  It has some features that we've needed in 
nsca that weren't originally present like sending to multiple hosts, and 
caching failed result sends for retry later.
 
http://exchange.nagios.org/directory/Addons/Passive-Checks/send_nrdp-Perl-Client/details
 
________________________________

From: Dan Sanville [mailto:[email protected]] 
Sent: 2011, September, 09 3:22 PM
To: [email protected]
Subject: [Nagios-users] Passive checks sent with send_nrdp.php not 
beingprocessed by nagios


Good afternoon,

I am trying to use NRDP, specifically send_nrdp.php from a nagios client 
system, to send passive checks to a nagios core server and no matter what I try 
nagios never receives my passive checks. I was wondering if anyone has 
successfully setup NRDP to send passive checks to nagios and if they can offer 
any suggestions. Also the only real documentation I can find is a four page 
"NRDP - Overview" pdf and I was wondering if someone has or can point me to 
more in depth documentation?

I followed the instructions in the four page pdf and nrdp seemed to setup just 
fine. http://abc.def.ghi.jkl/nrdp brings up the web page exactly as the 
documentation shows. I filled out the webpage, added in my token, hit submit 
and I received the following:

<result>
<status>0</status>
<message>OK</message>
−
<meta>
<output>2 checks processed.</output>
</meta>
</result>


I am not 100% sure this is what I should receive but it looked good. On the 
client I ran the following command:

usr/bin/php /usr/local/nrdp/clients/send_nrdp.php 
--url=http://abc.def.ghi.jkl/nrdp --token=mysecrettoken 
--host=nagios-test-client --service=Check_Passive --state=2 
--output="test1234567890"

via tcpdump looking at port 80 I see the command sends data to my nagios server 
but from here I am at a loss for what happens. My passive checks stays in 
"unknown" status and I see very little in nagios.log. 

I would be grateful for any insight as to what is supposed to happen, what I 
should be looking for in a logfile, or any suggestions/thoughts.

thanks
Dan Sanville




-- 
Dan Sanville
System Administrator
MIT Lincoln Laboratory
244 Wood Street, Lexington, MA 02420
Office: 781-981-1601

_______________________________________________________________________

This email may be privileged and/or confidential, and the
sender does not waive any related rights and obligations.
Any distribution, use or copying of this email or the
information it contains by other than an intended recipient
is unauthorized. If you received this email in error,
please advise the sender (by return email or otherwise)
immediately. You have consented to receive the attached
electronically at the above-noted email address; please retain a
copy of this confirmation for future reference.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce
pas aux droits et obligations qui s'y rapportent. Toute diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il
contient par une personne autre que le (les) destinataire(s)
désigné(s) est interdite. Si vous recevez ce courriel par erreur,
veuillez en aviser l’expéditeur immédiatement, par retour de courriel
ou par un autre moyen. Vous avez accepté de recevoir le(s) document(s)
ci-joint(s) par voie électronique à l’adresse courriel indiquée ci-dessus;
veuillez conserver une copie de cette confirmation pour les fins de reference 
future.

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to