Did you run "check_http --help"? If you do, you'll see an option to pass a
port number. You'll need to make sure your checkcommands.cfg is setup
properly to allow for the passing of the port within your services.cfg. 

Todd 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Network Administrator
> Sent: Tuesday, February 14, 2006 12:47 PM
> To: [email protected]
> Subject: [Nagios-users] services config for http
> 
> Is there an option to have check_http command check for http service on
> non-standard ports (i.e. 80,1741,2002)?
> 
> Nagios 1.3 RHFedoraCore 3
> /usr/local/nagios/etc/services.cfg
> define service{
>          use                             generic-service
>          host_name                       someserver
>          service_description             HTTP
>          is_volatile                     0
>          check_period                    24x7
>          max_check_attempts              3
>          normal_check_interval           5
>          retry_check_interval            1
>          contact_groups                  linux-admins
>          notification_interval           120
>          notification_period             24x7
>          notification_options            w,u,c,r
>          check_command                   check_http
>          }
> --
> Irwin Dulan II
> Network Administrator
> Fuller Theological Seminary
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to