Re: [Nagios-users] Problems w/ Nagios Web Interface

2009-07-01 Thread Leleux, Jeremy J
Thanks for the suggestion!  I was able to track down my problem; I had
to add +Indexes to my Option Directives.  After I allowed that I was
able to view the page correctly.  Thanks again for the reply!

Respectfully,

Jeremy Leleux
IT Administrator
Sunland Construction, Inc.
Corporate Division
Office: 337.550.2142
Fax: 337.546.0245
Mobile: 337.580.6062
Email: jjlel...@sunlandconstruction.com

-Original Message-
From: Jon Angliss [mailto:j...@netdork.net] 
Sent: Tuesday, June 30, 2009 8:50 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Problems w/ Nagios Web Interface

On Tue, 30 Jun 2009 09:56:13 -0500, Leleux, Jeremy J
jjlel...@sunlandconstruction.com wrote:

Hi all,

I have a fresh install of nagios 3.1.2 and I'm able to login into the
web interface, but once I'm authenticated I get the following error:

   403 Forbidden - You don't have permission to access
/nagios/ on this server.

Here is the output from my Apache error_log:

   [Tue Jun 30 09:47:17 2009] [notice] Apache/2.2.3
(CentOS) configured -- resuming normal operations
   [Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1]
Directory index forbidden by Options directive:
/usr/local/nagios/share/

This here says that your server is attempting to send a list of the
directory contents back to the client, but settings in the apache
configuration deny it.  That probably means it's not treating
index.html as the default page in the directory.  Hunt down the
DirectoryIndex line in your apache configuration, and add index.html
to the end, and restart apache.

-- 
Jonathan Angliss
j...@netdork.net



--
___
Nagios-users mailing list
Nagios-users@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

--
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Problems w/ Nagios Web Interface

2009-06-30 Thread Leleux, Jeremy J
Hi all,

I have a fresh install of nagios 3.1.2 and I'm able to login into the
web interface, but once I'm authenticated I get the following error:

403 Forbidden - You don't have permission to access
/nagios/ on this server.

Here is the output from my Apache error_log:

[Tue Jun 30 09:47:17 2009] [notice] Apache/2.2.3
(CentOS) configured -- resuming normal operations
[Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1]
Directory index forbidden by Options directive: /usr/local/nagios/share/
[Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1]
File does not exist: /var/www/html/favicon.ico
[Tue Jun 30 09:48:00 2009] [error] [client 127.0.0.1]
File does not exist: /var/www/html/favicon.ico

I'm using the newly installed, unedited nagios.conf and have also
created the htpasswd.users as instructed by the quick start guide.  I
can provide any configs as needed, just let me know.  Here are my
computer/nagios specifics:

CentOS 5.2 kernel 2.6.18-128.1.6.el5 / Apache 2.2.3 release
22.el5.centos 
Nagios 3.1.2
Copyright (c) 2009 Nagios Core Development Team and Community
Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 06-23-2009
License: GPL
Nagios-Plugins v1.4.13

Respectfully,

Jeremy Leleux
IT Administrator
Sunland Construction, Inc.
Corporate Division
Office: 337.550.2142
Fax: 337.546.0245
Mobile: 337.580.6062
Email: jjlel...@sunlandconstruction.com


--
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Running Windows batch files through NRPE

2009-05-20 Thread Leleux, Jeremy J
Thanks for the posts y'all!  I was able to get it running w/ 2 batch
files. The first batch file was strictly a file copy script that sent
over the config and update script.  The second batch uses psexec to run
the update script on each windows server.  I'm still working out some
kinks, but for the most part it's working.  If anyone is looking for
more information on how to do this, let me know and I would be glad to
help.

Respectfully,

Jeremy Leleux
IT Administrator
Sunland Construction, Inc.
Corporate Division
Office: 337.550.2142
Fax: 337.546.0245
Mobile: 337.580.6062
Email: jjlel...@sunlandconstruction.com

-Original Message-
From: Alex Burger [mailto:ale...@users.sourceforge.net] 
Sent: Tuesday, May 19, 2009 1:02 PM
To: Leleux, Jeremy J
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Running Windows batch files through NRPE


You are running NSClient++ as a service which is using the SYSTEM 
account.  The SYSTEM account does not have access to network resources. 
  One solution is to create a domain user account and then change the 
NSClient++ service to use the new account.  Also make sure the account 
has access to the batch file.

As someone else mentioned it may make more sense to use a scheduled task

but it also needs to run as a network account that has access.  You may 
want to look at psexec from Sysinternals.

Alex


Leleux, Jeremy J wrote:
 I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its
 monitoring my Windows Servers, all 2003, I have NSClient++ on those
 servers and its working fine.  My problem is that I'm trying to
 centralize the configs on the NSClient++'s w/ the help of batch files.
 I have setup commands to allow me run the scripts w/ the help of
 check_nrpe, but they will not run.
 
 Here is the contents of one of my batch files, nscpp_config.bat, to
 update the NSClient++ config:
   @echo off
   xcopy
 \\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
 C:\Progra~1\NSClient++ /Y
   exit
 When I try to run this command from my Nagios Server, I get an
Invalid
 Drive Specification Error.  And here is my config line to allow the
 command in NSClient++:


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Running Windows batch files through NRPE

2009-05-19 Thread Leleux, Jeremy J
Hi All,

I'm running Nagios 3.0.6/CentOS 5.2 for my Nagios server.  Its
monitoring my Windows Servers, all 2003, I have NSClient++ on those
servers and its working fine.  My problem is that I'm trying to
centralize the configs on the NSClient++'s w/ the help of batch files.
I have setup commands to allow me run the scripts w/ the help of
check_nrpe, but they will not run.

Here is the contents of one of my batch files, nscpp_config.bat, to
update the NSClient++ config:
@echo off
xcopy
\\10.10.0.50\public\Departments\Infor~1\Scripts\nscpp_copy.bat
C:\Progra~1\NSClient++ /Y
exit
When I try to run this command from my Nagios Server, I get an Invalid
Drive Specification Error.  And here is my config line to allow the
command in NSClient++:
cp_script=nscpp_config.bat
If someone else has done this in past, please let me know how you have
done this.

Respectfully,

Jeremy Leleux
IT Administrator
Sunland Construction, Inc.
Corporate Division
Office: 337.550.2142
Fax: 337.546.0245
Mobile: 337.580.6062
Email: jjlel...@sunlandconstruction.com


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Nagios-users mailing list
Nagios-users@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