http port problem

Chandresh Suthar chandresh.suthar at gmail.com
Fri Aug 26 20:15:52 CEST 2005


Thanks a lot.

Please also give me solution of my first problem.

*I want to check http on port 80 for some servers and on port 8003 for 
others.
*
Chandresh 

On 8/26/05, Lori Adams <ladams at cloudmark.com> wrote:
> 
> 
> > -----Original Message-----
> 
> > From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-
> 
> > admin at lists.sourceforge.net] On Behalf Of Chandresh Suthar
> 
> > Sent: Friday, August 26, 2005 10:45 AM
> 
> > To: nagios-users at lists.sourceforge.net
> 
> > Subject: [Nagios-users] http port problem
> 
> > 
> 
> > 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$
> 
> 
> 
> Make sure your $USER1$ set in resource.cfg is where check_http lives.
> 
> Then run ./check_http –h in that directory to see all a complete help 
menu. 
> See section on ports.
> 
> 
> 
> > 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.
> 
> 
> 
> If you want to check every 3 minutes while the service check is in an "OK"
> state, set normal_check_interval to 3. If you want to check every 3 
minutes
> while the service is in a SOFT state (not in "OK" state), set
> retry_check_interval to 3. 
> 
> 
> 
> I suggest reading the docs:
> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html
> 
> This will tell you about every option available to you in each 
config/object
> file and what those options do.
> 
> 
> 
> > Chandresh Suthar
> 
> > 
> 
> > 
> 
> > -------------------------------------------------------
> 
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050826/9e836fe4/attachment.html>


More information about the Users mailing list