06-27-2005
Nagios CGI's not displaying
Hello,
I have installed Nagios 2.0b3 and running on Enterprise Linux ES4. I can view the Nagios home page and view the documentation but cannot get into any of the CGI pages. I am getting two different error messages. The first error message is that of Forbidden access. This is simply telling me that I can't access a specific directory on the server. The other error is that of NOT FOUND. This is telling me that the path is not on the server.
I have looked into both of these errors. The permissions that are set for the CGI's are 755 which should be allowing me access to the CGI's. And I've checked the file path for the ones that I am getting error NOT FOUND. I can find the files and the path is correct on the server.
I am a newbie to network monitoring as well as Apache,MySQL and PHP configuration. If there is something that I am missing, please point me in the right direction. I greatly appreciate all of your assistance in this matter.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having trouble running my perl cgi on the Internet.
After i put the cgi file into the public_html directory and try to browse it on the internet, it returns me the exact content of the cgi file.
Is the file permission 755 for the cgi file correct?
My path to perl is something like ... (2 Replies)
Discussion started by: vince
2 Replies
2. Shell Programming and Scripting
If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link?
Hope that makes sense!
:) (2 Replies)
Discussion started by: WIntellect
2 Replies
3. Linux
I'm trying to set up a nagios server.
I have no problem accessing the home page of my nagios server, but can not get into any cgi page.
I've checked the rights, and checked the .htacces file in the /usr/lib/nagios/cgi directory
I've checked all conf files for apache, but i unvariably get:... (2 Replies)
Discussion started by: penguin-friend
2 Replies
4. Solaris
Hi All,
Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf
servername testing
DocumentRoot "/usr/local/apache2/htdocs"
ErrorDocument 400 /cgi-bin/badrequest-400.cgi
Here is... (0 Replies)
Discussion started by: afadaghi
0 Replies
5. Web Development
Hello all, i`m new here and new in programming with cgi. But i need it for my running project. I`ve googled half a week with no success.
All i need is to run an .sh-file via cgi.
My file is stored in /home/bots/
but if i try
#!/bin/sh
echo 'Content-type: text/html'
echo
echo... (5 Replies)
Discussion started by: cryp0r
5 Replies
6. Web Development
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies
7. Shell Programming and Scripting
Hi team,
I have a typical problem with cgi pages in apache webserver in WINDOWS
I am able to execute(display) the pages that are saved in cgi-bin folder.
But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder.
Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies
8. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
9. Shell Programming and Scripting
Hi Team,
I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
Discussion started by: scriptscript
1 Replies
10. Infrastructure Monitoring
We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side.
I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies
LEARN ABOUT CENTOS
nagios
nagios(8) Nagios nagios(8)
NAME
Nagios - network/systems status monitoring daemon
SYNOPSIS
nagios [-h] [-v] [-s] [-d] <main_config_file>
DESCRIPTION
nagios is a daemon program that monitors the status of various network accessible systems, devices, and more. For more information, please
consult the online documentation available at http://www.nagios.org, or on your nagios server's web page.
OPTIONS
main_config_file
The main configuration file. On openSUSE systems this defaults to /etc/nagios/nagios.cfg
-h A helpful usage message
-v Reads all data in the configuration files and performs a basic verification/sanity check. Always make sure you verify your config
data before (re)starting Nagios. You can also use the Nagios init script to verify your configuration - try: rcnagios check_verbose
-s Shows projected/recommended check scheduling information based on the current data in the configuration files.
-d Starts Nagios in daemon mode (instead of as a foreground process).
FILES
/etc/nagios
Default configuration directory for nagios
AUTHOR
Nagios is written and maintained by Ethan Galstad <nagios@nagios.org>. This manual page was written by sean finney <seanius@debian.org>
for the Debian GNU/Linux operating system (but it may be freely used, modified, and redistributed by others) and adapted by Lars Vogdt for
openSUSE.
sean finney, Lars Vogdt February 2006, May 2010 nagios(8)