<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#993399">
Hi,<br>
For monitoring windows machines<br>
<br>
(a) Edit /usr/local/nagios/etc/nagios.cfg<br>
<br>
remove the # for windows.cfg<br>
<br>
(b) edit usr/local/nagios/etc/objects/windows.cfg<br>
For testing just add an IP of a windows machine in the template provided<br>
<br>
<b><u>On windows side</u></b><br>
(a) Install NSClient++ on windows<br>
(b) Edit NSC.ini in c:/program files/NSClient++/NSC.ini<br>
<b>In Module section</b><br>
Except CheckWMI.dll and RemoteConfiguration.dll enable all DLLs in <br>
In <b>Settings section <br>
(i) password=<br>
(ii) allowed_hosts =  IP of your Nagios server<br>
In NSClient section<br>
</b>enable port default i.e 12489<br>
<br>
Save and exit<br>
enter services, double click on nsclient service, <b>Check</b> allow
service to insteract with desktop in <b>Log On</b> Tab<br>
<br>
close it and start the service<br>
<b><br>
</b>restart Nagios<br>
# /etc/init.d/nagios restart<br>
<br>
get in to web interface and start monitoring your first windows machine<br>
<br>
Enjoy<br>
Rajshekar<br>
Pallavolu Reddi Sekhar Reddy wrote:
<blockquote
 cite="mid:bd40f4cb0906170320y201f4722hbaa854c777cb4a3a@mail.gmail.com"
 type="cite">I want to add new windows server on nagios.<br>
how can i configure that let me know. on hosts.cfg file<br>
  <br>
  <br>
Thanks<br>
Sekhar Reddy P R<br>
  <br>
  <br>
  <div class="gmail_quote">On Wed, Jun 17, 2009 at 3:26 PM, Julian Hein
  <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:jhein@netways.de">jhein@netways.de</a>></span> wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
    <br>
Am 17.06.09 11:09 schrieb "Andreas Ericsson" unter <<a
 moz-do-not-send="true" href="mailto:ae@op5.se">ae@op5.se</a>>:<br>
    <div class="im"><br>
> edward baddouh wrote:<br>
>> Yes, I want the configuration files to be worse (readable).<br>
>> The idea is to difficult as-much-as-possible config-files
theft from ohter<br>
>> people who admin that server..<br>
>><br>
>> There have been times that configuration files were
implemented on different<br>
>> installations (different sites) with minor changes without the
admin's<br>
>> consent..<br>
>><br>
>> I don't want nobody to get credits for work I've done and
receive no profit<br>
>> at all..<br>
>><br>
><br>
> This is just stupid imo and would be far better solved with some
social<br>
> conventions. The problem is that there's a limited way of
configuring<br>
> Nagios for a particular setup, so it's always entirely possible
that<br>
> whoever you *think* is "stealing" configuration from you has
actually<br>
> read the nagios docs for 15-30 minutes and then figured out how to
do<br>
> it themselves. It's not exactly rocket science, and a nagios config<br>
> isn't a super-fast cryptographically secure hash algorithm that you<br>
> (sometimes) need to jealously protect. The fact that you're trying<br>
> makes me feel dirty all over, to be honest.<br>
><br>
> Why you want an opensource community help you *not* share your
work,<br>
> I really do not fathom, but you'll get absolutely no help from me.<br>
    <br>
    </div>
And it would not work, because the config always gets de-obfuscated in
the<br>
objects cache and is visible in the Webinterface with "view config"<br>
    <br>
Makes no sense to me as well.<br>
    <font color="#888888"><br>
Julian<br>
    </font>
    <div>
    <div class="h5"><br>
    <br>
------------------------------------------------------------------------------<br>
Crystal Reports - New Free Runtime and 30 Day Trial<br>
Check out the new simplified licensing option that enables unlimited<br>
royalty-free distribution of the report engine for externally facing<br>
server and web deployment.<br>
    <a moz-do-not-send="true" href="http://p.sf.net/sfu/businessobjects"
 target="_blank">http://p.sf.net/sfu/businessobjects</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
    <a moz-do-not-send="true"
 href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
 target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><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>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
P.R.Sekhar Reddy<br>
+91-9916727650<br>
  <pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.00060006.03010108@excelindia.com" border="0"></div>
</body>
</html>