Error with "check_ping" and other basic status tools

Jon Lyons jlyons30 at yahoo.com
Thu Jan 9 01:28:09 CET 2003


You need to download and install the plugins, and they'll endup in /usr/local/libexec/nagios... :)
 "Nicholas P. Bernstein" <nickbernstein at sbcglobal.net> wrote:OS: GNU LINUX, RedHat v. 7.3
Nagios: 1.0

Overview:
I've successfully installed nagios and have it at the point where one host
is defined and it doesn't give me errors when I start it. Currently, I'm
getting the error: "(Return code of 127 is out of bounds - plugin may be
missing)" - which would be expected, and in fact was expected in regards to
something like the free-space, or Current Users checks, but I wouldn't think
for the ping. I would have to install client software for the the other
checks, but not for ping.

I'm sure that this has been discussed before, and I apologize. This is
happening in essentially the default install but I didn't see anything in
the installation/configuration guide that discussed this. This is my first
time setting up nagios, and the only thing that I could find that seemed
even close to relevant was this:
http://www.nagios.org/faqs/viewfaq.php?faq_id=17 but from what I I
understand, nagios got rid of the /usr/local/nagios/libexec directory when
it changed over from netsaint -> nagios.

I did an "fgrep ping *" in the nagios/etc directory to see if I could figure
out what nagios was calling to try and ping the server (one would think
/bin/ping but you never know) and the only thing I could come up with is
that in the checkcommands.cfg file the check_ping command is defined as:

# 'check_ping' command definition
define command{
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5
}

and
resource.cfg:$USER1$=/usr/local/nagios/libexec

Am I daft, or just missing something? It seems like the
/usr/local/nagios/libexec directory should have been created during
installation and there should be a *bunch* of stuff in it. Could someone
point to where I can get these files?

Any help or explanations would be very greatly appreciated.

Thanks in advance,
Nick


--

+---------------------------------------------------------------------------
--------+
| Nicholas Bernstein | Work: | Home: |
| UNIX Systems Administrator | nick at docmagic.com |
nickbernstein at sbcglobal.net |
| Document Systems Inc. | www.docmagic.com | nickbernstein at inbox.lv |

+---------------------------------------------------------------------------
--------+



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030108/11f48d21/attachment.html>


More information about the Users mailing list