Check_http_Multipple_port
Rick Munn
rick at screenscape.net
Sun Oct 31 14:12:30 CET 2010
Here's a method we use:
Here's something that might help. This check looks for a specific string in
a file hosted by the Tomcat instance being checked.
define service{
use generic-service
host_name hostname_here
servicegroups tomcat-services
service_description Tomcat Probe Instance 8082
check_command check_http!-H tomcat_hostname_here -p 8082 -u
/probe/adm/check.xml.htm -a userid:password -s ok
}
On Sat, Oct 30, 2010 at 8:26 AM, quanta <quanta.linux at gmail.com> wrote:
> Try to write a wrapper of check_http for yourself:
> http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm
>
> On 10/27/2010 05:03 PM, Rajesh Kumar wrote:
>
> Hi Sir
>
> 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
>
> define command{
> command_name check_http_args
> command_line $USER1$/check_http -H $ARG1$ -p $ARG2$
> }
> for example
>
> http://testingserver:8082
> http://tomcatserver:8084
>
> Please help me.
>
>
> Thanks & Regards
>
> B.Rajeshkumar
>
>
> ------------------------------------------------------------------------------
> 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 http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
> ------------------------------------------------------------------------------
> 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
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> 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/20101031/d3ed26a1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
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