http port problem
Subhendu Ghosh
sghosh at sghosh.org
Fri Aug 26 20:23:34 CEST 2005
On Fri, 26 Aug 2005, Chandresh Suthar wrote:
> Hi,
>
> I want to check http on port 80 for some servers and on port 8003 for others.
>
> Entry in "checkcommands.cfg" file is as follows
>
> 'check_http' command definition
> command_name check_http
> command_line $USER1$/check_http -H $HOSTADDRESS$
>
> Entry in "minimal.cfg"
>
> define service{
> use generic-service
> host_name mail4
> service_description HTTP
> is_volatile 0
> check_period 24x7
> max_check_attempts 4
> normal_check_interval 5
> retry_check_interval 1
> contact_groups admins
> notification_interval 960
> notification_period 24x7
> check_command check_http
> }
>
> Please suggest any changes in above entries.
>
> Please also tell if i want to check http service for every 3 minutes
> then what changes are required.
>
> Chandresh Suthar
>
Please see the use of $ARGx$ macros in command definitions combined with
the use of options you need for check_http
--
-sg
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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