Passive check testing doesn't work

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Passive check testing doesn't work

Post by vmesquita »

We starting checking this after a few passive checks stopped being processed with no apparent cause. We did a tcpdump check and the packages were arriving ok.

So I tried to submit a manual result, via "Submit passive check result" option in XI interface. And I got this error:
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.
I checked the folder and the file '/usr/local/nagios/var/rw/nagios.cmd' didn't exist. So Following advice found in other topics, I restarted nagios service after a while the passive checks are back working again. However the 'Submit passive check' option still gives the same message. How can I fix this?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Passive check testing doesn't work

Post by scottwilkerson »

Was nagios running?

Code: Select all

service nagios status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Passive check testing doesn't work

Post by vmesquita »

I found the issue. While I was trying to fix the problem, I changed the permission of the folder "/usr/local/nagios/var/rw". Returning the permissions to the default ones fixed the issue. Thanks!
Locked