./check_http --help will show you that you can specify the port you may have to change definition in the commands configurration file. I created a second definition check_http_443 to go against port 443.

Joe Petrucci
Office: 704-383-6089
Cell : 724-462-0443



Network Administrator <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

02/14/2006 12:46 PM

To
[email protected]
cc
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

ForwardSourceID:NT00009E6E    

Reply via email to