Hi Pallav, 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. define service{ use generic-service host_name winserver1,winserver2,winserver3,..........winserver30 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90
Regards Tom ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 10 April 2008 10:25 To: Marcus Cc: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios help!! Importance: High Hi Marcus this means that the service defination will also look like this define service{ use generic-service host_name winserver1 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 define service{ use generic-service host_name winserver2 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 To monitor 30 servers i need to add 30 lines.or is there any way that we monitors number of services in all hosts. Marcus <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 04/10/2008 12:18 PM To nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] Nagios help!! [EMAIL PROTECTED] schrieb: > I have added my first windows machine as stated below , now i want to > add more machines , so do i need to add one more windows.cfg file with > new host definations or simply add hostname in present file windows.cfg > seperated by comma , > like > host_name server1,server2, The comma-Solution doesnt't work. > This might seem a very stupid questions to many but still as i am new to > this, so i need some help. When I had "my first nagios-day", I ran into the exactly same issue. I monitor two linux-servers which looks like this: define host{ use linux-server host_name OpenVPN1 alias OpenVPN-Server Nr1 address ovpn1.somedomain.de } define host{ use linux-server host_name OpenVPN2 alias OpenVPN-Server Nr2 address ovpn2.somedomain.de } (The template that comes with nagios is beeing used). Hope this helps a little. greetz, marcus (By the way, Pallav, a subject with just "help" and several exclamation-marks is not appropriate for a sophisticated mailing-list like this.) ------------------------------------------------------------------------ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j avaone _______________________________________________ Nagios-users mailing list Nagios-users@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 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.
<<ATT1197410.gif>>
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Nagios-users mailing list Nagios-users@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