check_http and switches/hubs issues

Tedman Eng teng at dataway.com
Tue Dec 30 05:16:20 CET 2003


Answer to the second question:
Use the check_dummy plugin, which will always return a status of "up".  Then
you can treat the switches/hubs like any other real host, including defining
parents or children.


"Dan Rue" <drue at therub.org> wrote in message
news:20031229191626.GA399 at therub.org...
> Heyo,
>
> Nagios 1.1_3, plugins 1.3.1 on FreeBSD 4.9
>
> 2 questions:
>
> First of all, I need to check a site that uses simple HTTP
> authentication using check_http.  I know I can pass a username/password
> to check_http, but I am satisfied to see
> "HTTP WARNING: HTTP/1.1 401 Authorization Required"
> So how can I convince nagios/check_http that all is good if we get the
> auth required string?  I messed with the expect tag in check_http, but I
> still get "Invalid HTTP response received from host".
>
> 2nd question:
> How can I add hubs and switches that have no IP address?  I just want to
> be able to see them in the status map for consistancy (by setting them
> as parents in hosts.cfg).
>
> TIA,
> Dan
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> 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
>




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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