Mathopd web servers

Subhendu Ghosh sghosh at sghosh.org
Tue Jun 3 04:49:36 CEST 2003


On 3 Jun 2003, Sherwin Chua wrote:

> 
> Has anyone used Nagios to monitor Mathopd websites? I had no problem
> setting up and monitoring websites using aolservers but did encounter
> problems with mathopd. The error message I am getting is "Error in
> recv()". It seems like nagios was unable to get any response from
> mathopd.
> 
> 
> Below are the details...
> 
> 
> Entry under checkcommands file:
> # 'check_http_www.website.com' command definition
> define command{
>         command_name    check_http_website
>         command_line    $USER1$/check_http -H www.website.com
> 
> 
> 
> 
> Entry under services.cfg file:
> 
> # Service definition
> define service{
>         use                             generic-service         ; Name
> of service template to use
> 
>         host_name                       livesite
>         service_description             www.website.com
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           2
>         retry_check_interval            1
>         contact_groups                  linux-admins
>         notification_interval           240
>         notification_period             24x7
>         notification_options            w,u,c,r
>         check_command                   check_http_website
>         }
> 
> Any help would be appreciated, thanks.
> 
> 
> Sherwin Chua
> Systems Administrator
> Infiniteinfo Inc.
> www.infiniteinfo.com
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> 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


without version info we can be of no help...

bash$ /usr/local/nagios/libexec/check_http -H www.website.com
HTTP ok: HTTP/1.1 200 OK -   0.422 second response time |time=  0.422
bash$ /usr/local/nagios/libexec/check_http -V                
check_http (nagios-plugins 1.3.0) 1.24


--

-sg



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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