<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Try to write a wrapper of check_http for yourself:
<a class="moz-txt-link-freetext" href="http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm">http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm</a><br>
<br>
On 10/27/2010 05:03 PM, Rajesh Kumar wrote:
<blockquote
cite="mid:AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com"
type="cite">
<div>Hi Sir</div>
<div> </div>
<div> I need to define multiple port in check_http. I defined
the command.cfg as follows, in my environment different port
tomcat are running how can i find the tomcat status</div>
<div> </div>
<div>define command{<br>
command_name check_http_args<br>
command_line $USER1$/check_http -H $ARG1$ -p $ARG2$<br>
}<br>
</div>
<div>for example</div>
<div> </div>
<div><a moz-do-not-send="true" href="http://testingserver:8082/">http://testingserver:8082</a></div>
<div><a moz-do-not-send="true" href="http://tomcatserver:8084/">http://tomcatserver:8084</a></div>
<div> </div>
<div>Please help me.</div>
<div> </div>
<div> </div>
<div>Thanks & Regards</div>
<div> </div>
<div>B.Rajeshkumar</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/nokia-dev2dev">http://p.sf.net/sfu/nokia-dev2dev</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
</body>
</html>