I think you need to set up 2 checks. One for each port. Rutger
On Wednesday, October 27, 2010, Rajesh Kumar <[email protected]> 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://testingserver:8082/> > http://tomcatserver:8084 <http://tomcatserver:8084/> > > Please help me. > > > Thanks & Regards > > B.Rajeshkumar > -- Rutger Blom Luzernvägen 14 227 38 LUND Sweden Tel. +46 763 46 99 44 www.rutgerblom.com about.me/rutgerblom ------------------------------------------------------------------------------ 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 [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
