nagios.cmd Permissions and External Commands

Daniel Szortyka sekuela at gmail.com
Tue Jul 5 17:04:15 CEST 2005


Hi,

Excuse me , but dont need to change nagios.cmd permissions. Sorry :(

Daniel

On 7/5/05, Daniel Szortyka <sekuela at gmail.com> wrote:
> Hi,
> 
> First you have to look your cgi.cfg and verify the users that have
> permission to acess this files.
> 
> After you have to set the nagios.cmd with apache:nagios (or
> nagios:apache) I dont remember...
> 
> But first try to change the nagios.cmd permissions, if the error
> continue verify your cgi.cfg
> 
> Try this...
> 
> Daniel
> 
> On 7/5/05, Joe Regular <JoeRegular at gov.nl.ca> wrote:
> > Permissions are set as follows:
> > drwxrwxr-x   4 nagios nagios  288 Jul  5 11:55 var
> > drwxrwsr-x  2 nagios nagioscmd   80 Jul  5 10:11 rw
> > prw-rw----  1 nagios nagioscmd   0 Jul  5 10:11 nagios.cmd
> >
> > Does this look correct, or should the ~/var directory be "drwxrwxr-x   4 nagios nagioscmd  288 Jul  5 11:55 var"?
> >
> > Jason
> >
> >
> > >>> "Kevin Hart" <kevin.hart at centerstone.org> 2005-07-05 11:36 AM >>>
> > Make sure your rw directory and the nagios.cmd file have read write
> > permissions on them.  When I changed the permissions on that directory
> > and that file it started working, almost magicly :)
> >
> > -Kevin
> >
> > >>>Joe Regular <JoeRegular at gov.nl.ca> 07/05 8:40 am >>>
> >
> > I seem to have run into a problem with Nagios to which I hope there is a
> > simple solution.  From what I can tell, I have followed the setup
> > instructions correctly and Nagios appears to be working with the
> > exception of external commands.
> >
> >
> > When I try to schedule host downtime, I get the Sorry, but you are not
> > authorized to commit the specified command. error message.  I've since
> > read the authentication and authorization in the CGIs section of the
> > manual and the External Command File Permissions file but it's still
> > isn't working.
> >
> >
> > Can anyone offer any advice into a solution to this problem?
> >
> >
> > Jason
> >
> >
> >
> >
> > -------------------------------------------------------
> >
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> >
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> >
> > informative Webcasts and more! Get everything you need to get up to
> >
> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> >
> >
> > Nagios-users mailing list
> >
> > Nagios-users at lists.sourceforge.net
> >
> > 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
> >
> > *******************************************************
> > This message is confidential, intended only for the named
> > recipient[s] and may contain information that is private
> > under applicable law.  If you are not an intended recipient,
> > be aware that any disclosure, copying, distribution or use
> > of this message is prohibited.**************************
> > <<<<CENTERSTONE>>>>
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> > from IBM. Find simple to follow Roadmaps, straightforward articles,
> > informative Webcasts and more! Get everything you need to get up to
> > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > 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
> >
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list