LinuxQuestions.org
Visit Jeremy's Blog.
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 05-13-2009, 02:29 PM   #1
vanderbult
LQ Newbie
 
Registered: Apr 2005
Location: Slippery Rock, PA
Distribution: Suse 10
Posts: 12

Rep: Reputation: 0
nagios plugin check_url_status


I am trying execute the "check_url_status" plugin. I can run it correctly from a command line with a syntax of "check_url_status -U http://hostname, but when I put it in a windows.cfg file it doesn't work.
This is the syntax from the config file.

define service{
use generic-service
host_name hostname
service_description URL STATUS
check_url_status check_url_status -U http://hostname
}

I cannot start the nagios service with this syntax. Nagios is running on a SLES 11 server and its version is 3.0.6. The plugins version is 1.4.13.
Thanks for any assistance!
 
Old 05-13-2009, 04:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Quote:
Originally Posted by vanderbult View Post
check_url_status check_url_status -U http://hostname
I don't know what it is in 3 (check your examples) but in Nagios-2 (leaving out thresholds) it was "check_command check_url_status".


Quote:
Originally Posted by vanderbult View Post
I cannot start the nagios service with this syntax.
It's always efficient to post error messages (if any).
 
Old 05-14-2009, 10:36 AM   #3
vanderbult
LQ Newbie
 
Registered: Apr 2005
Location: Slippery Rock, PA
Distribution: Suse 10
Posts: 12

Original Poster
Rep: Reputation: 0
additional info

Sorry the check_url_status line is incorrect....typo...that should read

check_command check_url_status -U http://hostname

The error when restarting Nagios is:

Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.

Thanks!
 
  


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
How to use Nagios plugin? dwarf007 Linux - Software 20 10-03-2011 06:11 AM
Nagios Help ---cisco plugin tgridley Linux - Software 2 08-11-2011 08:42 AM
Need Help with Development of Nagios Plugin monkinsane Linux - Newbie 10 04-23-2009 04:55 AM
Nagios Plugin fullgore *BSD 3 10-22-2008 08:52 AM
Nagios: Raid Plugin kegwell Linux - Software 2 05-01-2005 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration