LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-03-2004, 08:50 AM   #1
Brainli
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
Nagios - Check_Dummy / Check_Http


When i test a WebServer i get the Status -> HTTP WARNING: HTTP/1.1 403 Access Forbidden

How can i use check_dummy to correct the Status WARNING to OK ?

Thanks a lot..

Greets from Switzerland
 
Old 12-06-2004, 01:24 AM   #2
Brainli
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0


Nobody has a answer
 
Old 12-15-2004, 01:09 PM   #3
mrmagos
LQ Newbie
 
Registered: Jul 2004
Location: Michigan, USA
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
Are you just trying to verify that the webserver is running? If so, you could use check_tcp!80 for the check command.
 
Old 10-02-2005, 05:09 PM   #4
denver1980
Member
 
Registered: Dec 2004
Location: Québec
Distribution: Gentoo, Kubuntu Karmic
Posts: 48

Rep: Reputation: 15
You get an Access Denied because the page refered by $HOSTNAME$ (ex : www.mydomain.com) can't be access directly.
If you need to go at a specific page ( ex : www.mydomain.com/login.asp) you must use a different check.
You must be using the basic check_http :
Code:
define command{
        command_name    check_http
        command_line    $USER1$/check_http -H $HOSTADDRESS$
        }
Define a new one in your checkcommands.cfg :
Code:
define command{
        command_name    check_http_url
        command_line    $USER1$/check_http -H "$HOSTADDRESS$/$ARG1$"
        }
then in your services.cfg, replace the entry for the new check command :
Code:
define service{
        use                             template_for_that_host
        service_description             MyWebPage
        check_command                   check_http!login.asp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NAGIOS: Unable to Execute check_http danfig Linux - Newbie 2 12-20-2004 03:53 PM
Nagios? suresheva31 Linux - General 2 10-13-2004 07:55 AM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 01:43 PM
About NAGIOS .. Redhat_guy Linux - Software 2 06-30-2004 08:13 AM
Nagios markus1982 Linux - Software 1 04-01-2003 06:04 AM


All times are GMT -5. The time now is 10:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration