<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=767270210-10042008><FONT face=Arial
color=#0000ff size=2>Hi Pallav,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=767270210-10042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=767270210-10042008><FONT face=Arial
color=#0000ff size=2>Provided you have setup your 30 hosts in your hosts.cfg or
what ever file then all you need to do to define the service is as i show
below.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=767270210-10042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=767270210-10042008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=767270210-10042008><FONT face=Verdana
size=1>define service{<BR>
use
generic-service<BR>
host_name winserver1,winserver2,winserver3,..........winserver30<BR>
service_description
Memory Usage<BR>
check_command check_nt!MEMUSE!-w
80 -c 90</FONT><BR></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=767270210-10042008></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>R<SPAN
class=767270210-10042008>egards</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=767270210-10042008></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=767270210-10042008>Tom</SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>Pallav.S.Gupta@relianceada.com<BR><B>Sent:</B> 10 April 2008
10:25<BR><B>To:</B> Marcus<BR><B>Cc:</B>
nagios-users-bounces@lists.sourceforge.net;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users] Nagios
help!!<BR><B>Importance:</B> High<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>Hi Marcus </FONT><BR><BR><FONT
face=sans-serif size=2>this means that the service defination will also look
like this </FONT><BR><BR><FONT face=Verdana size=1>define service{<BR>
use
generic-service<BR>
host_name
winserver1<BR>
service_description
Memory Usage<BR>
check_command
check_nt!MEMUSE!-w 80 -c 90<BR></FONT><BR><FONT face=Verdana size=1>define
service{<BR> use
generic-service<BR>
host_name
winserver2<BR>
service_description
Memory Usage<BR>
check_command
check_nt!MEMUSE!-w 80 -c 90<BR></FONT><BR><FONT face=sans-serif size=2>To
monitor 30 servers i need to add 30 lines.or is there any way that we monitors
number of services in all hosts.</FONT><BR><FONT face=sans-serif
size=2><BR></FONT><IMG src="cid:767270210@10042008-097F"><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>Marcus
<adesperateuser@googlemail.com></B></FONT><BR><FONT face=sans-serif
size=1>Sent by: nagios-users-bounces@lists.sourceforge.net</FONT>
<P><FONT face=sans-serif size=1>04/10/2008 12:18 PM</FONT></P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif
size=1>nagios-users@lists.sourceforge.net</FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>Re: [Nagios-users] Nagios
help!!</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><TT><FONT
size=2>Pallav.S.Gupta@relianceada.com schrieb:<BR>> I have added my
first windows machine as stated below , now i want to <BR>> add more machines
, so do i need to add one more windows.cfg file with <BR>> new host
definations or simply add hostname in present file windows.cfg <BR>>
seperated by comma ,<BR>> like<BR>> host_name
server1,server2,<BR>The comma-Solution doesnt't work.<BR><BR>>
This might seem a very stupid questions to many but still as i am new to
<BR>> this, so i need some help.<BR>When I had "my first nagios-day", I
ran into the exactly same issue.<BR><BR>I monitor two linux-servers which looks
like this:<BR><BR>define host{<BR> use
linux-server<BR> host_name
OpenVPN1<BR> alias
OpenVPN-Server Nr1<BR> address
ovpn1.somedomain.de<BR> }<BR><BR>define
host{<BR> use linux-server<BR>
host_name OpenVPN2<BR>
alias OpenVPN-Server Nr2<BR>
address
ovpn2.somedomain.de<BR> }<BR><BR><BR>(The template
that comes with nagios is beeing used).<BR>Hope this helps a
little.<BR><BR>greetz, marcus<BR><BR>(By the way, Pallav, a subject with just
"help" and several <BR>exclamation-marks is not appropriate for a sophisticated
mailing-list <BR>like
this.)<BR><BR>-------------------------------------------------------------------------<BR>This
SF.net email is sponsored by the 2008 JavaOne(SM) Conference <BR>Don't miss this
year's exciting event. There's still time to save $100. <BR>Use priority code
J8TL2D2.
<BR>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone<BR>_______________________________________________<BR>Nagios-users
mailing
list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>:::
Please include Nagios version, plugin version (-v) and OS when reporting any
issue. <BR>::: Messages without supporting info will risk being sent to
/dev/null<BR></FONT></TT><BR><BR><BR><BR>The information contained in this
e-mail message is intended only for the use of the individual or entity to which
it is addressed. If you are not the intended recipient, you should return it to
the sender immediately. Please note that while we scan all e-mails for viruses
we cannot guarantee that any e-mail is virus-free and accept no liability for
any damage caused by any virus transmitted by this email.<BR></BODY></HTML>