Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21073 - Nagios plugin check_real reports WARNING, should be OK
Summary: Nagios plugin check_real reports WARNING, should be OK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dean Bailey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 15:24 UTC by Knep
Modified: 2003-12-09 05:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Knep 2003-05-15 15:24:33 UTC
Running nagios-core-1.0-r1 and nagios-plugins-1.3.0, the check_real program reports:
RTSP/1.0 404 Not Found
Compiling from /usr/portage/distfiles/nagios-plugins-1.3.0.tar.gz results in the
same oddness.

I'm able to compile check_real from the nagiosplug-1.3-beta1 source downloaded
from nagios.org, and it replies with:
REAL ok - 0 second response time

Maybe something in my USE variable?

Reproducible: Always
Steps to Reproduce:
1. emerge nagios-core nagios-plugins
2. check_real -H hostname 
3.

Actual Results:  
check_real reported RTSP 1.0 404 Not Found

Expected Results:  
Reported
REAL ok - 0 second response time

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Pentium III (Coppermine)
GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.pu
rdue.edu/pub/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
 /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm gtk imlib java jpeg kde
 gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib pn
g qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readli
ne tcpd pam ssl perl python -X"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Knep 2003-05-27 11:22:39 UTC
Fixed this by putting "/usr/nagios/libexec/check_real -H HOSTNAME -u REAL_FILE" into services.cfg
Comment 2 Dean Bailey 2003-06-17 22:00:59 UTC
I'll be adding a new default services.cfg with a bunch of usefull plugin 
aliases and such in a few days. 
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-06 13:20:19 UTC
please test the latest version
Comment 4 Knep 2003-12-09 05:30:57 UTC
This seems to work for me now.
Thanks for your help!