z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

NRDP failed test (BAD CHECK RESULTS DIR)

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.

NRDP failed test (BAD CHECK RESULTS DIR)

Postby Urien » Tue Aug 02, 2022 6:13 am

Hello!

We are new to Nagios and we are trying to use NCPA with NRDP to transport all the data.

We are stuck in a problem after installing Nagios Core + Plugins + NRDP Server. This is the guides we used:
Nagios Core + Plugins: https://support.nagios.com/kb/article/n ... tml#CentOS
NRDP Server: https://github.com/NagiosEnterprises/nrdp/releases
At the end of the NRDP installation you can go to http://youripaddress/nrdp and test your NRDP server. The webpage works well but when we test the JSON we got a BAD CHECK RESULTS DIR.

The main problem here is that the checkresults folder can't be written. There is some fix to do when this happen:
1º Add nagios and apache users to the nagios group
2º In NRDP 2.0.5 config file the group should be renamed from "nagcmd" to "nagios"
3º Activate the NRDP debug mode (witch can't write the debug folder either)

Checking the apache error log throws a "file_put_contents() failed to open stream: Permission denied" refering to the debug log file. This a permission problem but we do not know how to solve it and we think they are related.
We tried to set 777 on nagios and nrdp folder but the issue persist. We also tried different ownerships for the folders, no luck.

Any ideas? :(
Urien
 
Posts: 2
Joined: Tue Aug 02, 2022 5:23 am

Re: NRDP failed test (BAD CHECK RESULTS DIR)

Postby Urien » Tue Aug 02, 2022 9:46 am

We reinstalled everything and now it seems to work properly.

Thank you!
Urien
 
Posts: 2
Joined: Tue Aug 02, 2022 5:23 am

Re: NRDP failed test (BAD CHECK RESULTS DIR)

Postby gormank » Tue Aug 02, 2022 5:30 pm

I think nagios recommends NCPA these days. I'm not sure whay you want to use NRDP and NCPA. I'm not saying it's incorrect, just that I don't understand the need.
gormank
 
Posts: 1079
Joined: Tue Dec 02, 2014 12:00 pm


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: No registered users and 10 guests