LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-14-2005, 09:34 AM   #1
ignus
LQ Newbie
 
Registered: Jul 2004
Location: NC
Distribution: SuSe 8.2/OS X 10.3
Posts: 8

Rep: Reputation: 0
Problems with nagios config


I set up and am running Nagios and everything is going swimmingly except for one thing. All of my plugins and commands are being recognized but the 'check_ldaps' plugin. For some reason even though it's right there with all the other plugins I get an error saying:

sh: /usr/local/nagios/libexec/check_ldaps: No such file or directory
Warning: Return code of 127 for check of service 'LDAP' on host 'bla.blabla.org' was out of bounds. Make sure the plugin you're trying to run actually exists.

Does anyone know why I would be getting this error? I can see the plugin is right there with all the other plugins and all the other ones work no problem.


Thanks
 
Old 07-14-2005, 09:40 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Is it executable? What does this script consist of? Can you run it manually?
 
Old 07-14-2005, 09:46 AM   #3
ignus
LQ Newbie
 
Registered: Jul 2004
Location: NC
Distribution: SuSe 8.2/OS X 10.3
Posts: 8

Original Poster
Rep: Reputation: 0
It's just a typical nagios plugin script, I think they're written in perl but when I open it in VI it just looks like gobbelty gook. I think I figured out away around the problem by just doing a check_tcp of the ldap port which I'm about to try. I don't believe they're executable on their own, but I am still fairly new at nagios so I'm not entirely sure.
 
Old 07-14-2005, 10:58 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ignus
It's just a typical nagios plugin script, I think they're written in perl but when I open it in VI it just looks like gobbelty gook. I think I figured out away around the problem by just doing a check_tcp of the ldap port which I'm about to try. I don't believe they're executable on their own, but I am still fairly new at nagios so I'm not entirely sure.
Some of the nagios scripts are binary, so that's probably what your seeing. Try downloading or finding another ldap plugin to test with would be my suggestion.
 
Old 07-26-2005, 08:17 AM   #5
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Do u have a working config that i could use as a base & start off with

the sample config that comes with nagios is not complete..
n with - out a sample file .. its hell to configure it !
 
  


Reply



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
problems with Nagios on check_overcr fcastells Linux - Software 0 10-26-2005 08:43 AM
Problems trying to start Nagios... shelby Linux - Software 15 10-02-2005 05:34 PM
Nagios Config Verification Problem creighzy Ubuntu 3 04-20-2005 12:46 PM
Nagios and NagMIN problems pnh73 Linux - Software 7 11-20-2004 04:28 AM
KDE Menu Config problems leading to other problems theMonkeY Linux - Software 2 09-03-2004 12:31 PM

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

All times are GMT -5. The time now is 11:18 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