<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Virtual Services???</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm not really understanding what you mean by a
virtual service. What I was able to get out of this email was that you want to
define a service such as check_http to check the same "host" multiple times, for
example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define service{</FONT></DIV>
<DIV><FONT face=Arial size=2> host_name <A
href="http://www.domain.com">www.domain.com</A><BR>
service_description HTTP check</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>...but have this issue it's results to more than
one host. If you try and define that service to check host <A
href="http://www.domain.com">www.domain.com</A> twice, you will get an error.
Therefore, you need 2 hosts defined in your hosts.cfg like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define host{<BR> host_name <A
href="http://www.domain.com.internal">www.domain.com.internal</A><BR>
address 127.0.0.1<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>define host{<BR> host_name <A
href="http://www.domain.com.virtual">www.domain.com.virtual</A><BR>
address 127.0.0.1<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Then define a service to check_http for each of
these hosts, and you'll be ok. Just make sure check_http uses the ip address and
not the hostname.</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define service{</FONT></DIV>
<DIV><FONT face=Arial size=2> host_name <A
href="http://www.domain.com.internal">www.domain.com.internal</A><BR>
service_description HTTP check</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>define service{</FONT></DIV>
<DIV><FONT face=Arial size=2> host_name <A
href="http://www.domain.com.virtual">www.domain.com.virtual</A><BR>
service_description HTTP check</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope this helps!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Jason</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=matorres@prisacom.com href="mailto:matorres@prisacom.com">Miguel A.
Torres</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 09, 2003 10:40</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] Virtual
Services???</DIV>
<DIV><BR></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello,</FONT> </P>
<P><FONT face=Arial size=2>I'm configuring nagios to monitoring a lot of
services. I need to group many services in a "Virtual service" who it is not
associated to a host. For example:</FONT></P>
<P><FONT face=Arial size=2>I have 3 machines with webs servers, so I have
configured 3 independent services associated with it`s respective host. Now I
want to configure a "virtual service" who include those 3 services. I have
been reading all the documentation for nagios and I don`t find how can I make
it. </FONT></P>
<P><FONT face=Arial size=2>My question is: Is it possible
with nagios?</FONT> </P>
<P><FONT face=Arial size=2>Thanks and excuse my poor english.</FONT>
</P></BLOCKQUOTE></BODY></HTML>