Problems with nagios.cmd
adamn at eyemedia.com.au
adamn at eyemedia.com.au
Mon Dec 27 09:55:31 CET 2004
Hope just straight outta the box nagios, no database stuff.
I'm sure it has to be a permission thing, but I have no idea how to either
get debugging information from nagios or from apache to be able to nail
why/where the cgi can't access the nagios.cmd file.
Regards,
Adam Niedzwiedzki
c: eye media (aust) pty ltd
a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth
p: +61 (0)3 8080 5850
f: +61 (0)3 8080 5840
m: +61 (0)439 646 941
w: http://www.eyemedia.com.au
pgp: http://www.eyemedia.com.au/adamn.asc
Andreas Koch <a.koch at eurodata.de>
Sent by: nagios-users-admin at lists.sourceforge.net
27/12/2004 07:16 PM
To
adamn at eyemedia.com.au
cc
nagios-users at lists.sourceforge.net
Subject
Re: [Nagios-users] Problems with nagios.cmd
Hi,
have you nagios whith mysql install?
When you have, check_nagios can not check, if the nagios is running.....
Search in google, and you find a check_nagios for mysql.
Andreas
Am Montag, den 27.12.2004, 19:19 +1100 schrieb adamn at eyemedia.com.au:
>
> Hi all,
>
> Well I have exhausted my google options and thought I best put this to
> the mailing list.
>
> I'm running Fedora Core 3 with Apache/2.0.5 (Default RPM)...
>
> It took me a while to get the cgi's working (for those that have had
> problems I had to do this to get the cgi's working with suexec and
> Apache 2 on Fedora)
> chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
> chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
> After running those commands all the cgi's run fine.
>
> I've set-up authorization on the cgi's so I can submit commands via
> the web, but now I have a problem with the nagios.cmd file.
>
> I have used the FAQ's and set all permission's and have tried all
> sorts of combinations.
> This is the error I get..
>
> 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
>
> I'm not sure what/where to go from here to get this working.
> nagios creates/removes the nagios.cmd file as you start and stop
> nagios.
> I have set all the permission's on the /usr/local/nagios/var/rw/ as
> instructed in http://nagios.sourceforge.net/docs/1_0/commandfile.html
> and restarted apache.
>
> Is there any logging/output/debug that I can check/run to try and
> figure out why the cgi's cannot
> access /usr/local/nagios/var/rw/nagios.cmd
>
> Thanks in advance
>
> Regards,
> Adam Niedzwiedzki
>
> c: eye media (aust) pty ltd
> a: suite 301, 685 burke rd, camberwell, victoria, 3124, au, earth
> p: +61 (0)3 8080 5850
> f: +61 (0)3 8080 5840
> m: +61 (0)439 646 941
> w: http://www.eyemedia.com.au
> pgp: http://www.eyemedia.com.au/adamn.asc
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041227/6519bca7/attachment.html>
More information about the Users
mailing list