Submit Downtime Commands

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Submit Downtime Commands

Postby mitchsmith » Thu Jun 30, 2011 5:12 am


I am facing an issue with the ability to submit commands via the web interface.

For example if i try to set host downtime, when i click commit i get the following error message
Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.

Return from whence you came

I have set access in the cmd.cgi to allow access to all users (see below)
Code: Select all

and my nagios command file has the following permissions
Code: Select all
prw-rw---- 1 nagios nagcmd 0 Jun 30 10:52 /var/nagios/rw/nagios.cmd

Is there something I am missing?

I would really appreciate any help,


Posts: 33
Joined: Mon Apr 04, 2011 7:26 am

Re: Submit Downtime Commands

Postby mitchsmith » Thu Jul 07, 2011 6:28 am

After alot of banging my head against my screen I solved it!

The apache user needs to be a member of the nagios.cmd group.

so in the httpd.conf file I set

Code: Select all
User apache2
Group nagcmd

This works as this is the user under which apache2 processes commands to files with.
Posts: 33
Joined: Mon Apr 04, 2011 7:26 am

Return to Community Support

Who is online

Users browsing this forum: No registered users and 90 guests