Scheduling Downtime

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.
Locked
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Scheduling Downtime

Post by orani »

i try to schedule a downtime and i get this

Code: Select all

Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!

The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.

An error occurred while attempting to commit your command for processing.

Return from whence you came



Any ideas???
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Scheduling Downtime

Post by scottwilkerson »

Is Nagios running when this happened?

/usr/local/nagios/var/rw/nagios.cmd only exists when the process is running.

Other possibilities are the user you were running the command as did not have permission to write to the pipe.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Scheduling Downtime

Post by orani »

I was trying with nagiosadmin and i couldn't.

I restarted nagios service a couple of times and worked fine.

Mark as solved
Locked