check_real

Andres L. Figari andres at hostito.com
Tue Aug 5 15:39:44 CEST 2003


Hi,

I am trying to set up the check_real plugin.  I only get warnings :(
What would be the right way of setting this guy up?

I tried this:

[root at monitor root]# cd /var/www/nagios/libexec/
[root at monitor libexec]# ./check_real -H 123.123.123.123 -e 404
Invalid REAL response received from host
(null)
[root at monitor libexec]# ./check_real -H 123.123.123.12       
RTSP/1.0 404 Not Found
RTSP/1.0 404 Not Found
[root at monitor libexec]# ./check_real -H 123.123.123.12 -e "RTSP/1.0 404
Not Found\n"
Invalid REAL response received from host
(null)
[root at monitor libexec]# ./check_real -H 123.123.123.12 -e "RTSP/1.0 404
Not Found" 
Invalid REAL response received from host
(null)
[root at monitor libexec]# ./check_real -H 123.123.123.12 -e RTSP/1.0
RTSP/1.0 404 Not Found

Check_real -h says this:
Usage: check_real -H host [-e expect] [-p port] [-w warn] [-c crit]
            [-t timeout] [-v]

I am not sure what the appropriate for mat for the -e flag is.  I saw in
a previous post that -e 404 worked for check_http but it does not seem
to work for me.

Any ideas?  Thanks in advance :)

Regards,

Andres L. Figari
Systems Administrator
Hostito, Inc.
http://www.hostito.com

toll free:    1-888-HOSTITO
    phone:    1-415-821-9477
      fax:    1-415-462-1801






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list