<!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="#000000">
<br>
    I dont know if nsclient++ support INSTANCES, but if opmonagent and
NC_Net already do, it would be a safe bet to apply this patch to
check_nt to be in the standard distribution.<br>
    We get NC_Net, original nsclient and opmonagnet that support
INSTANCES.<br>
    Sop, let's patch it?<br>
<br>
    []s.<br>
<br>
Anthony Montibello wrote:
<blockquote
 cite="mid:c4515bfd0711170641l75872f41qb1a1e1684fb65ecb@mail.gmail.com"
 type="cite">
  <div>There was several discussions over the last year about NOT
patching Check_nt for anything that is part of One Windows Plugin but
should be patched for Particular Universal issues. The Official Plugin
Developers Recomended that any Project that uses a modified Check_nt
should maintain it with thier release.  (I hope I paraphrases properly)
  </div>
  <div> </div>
  <div>I thought most windows plugins supported Instances? I know its
in NC_Net and I thought it was in NS_Clinet++?</div>
  <div> </div>
  <div>Tony (Author of NC_net)</div>
  <div> </div>
  <div><br>
 </div>
  <div class="gmail_quote">On Nov 17, 2007 6:11 AM, Alessandro Ren <<a
 moz-do-not-send="true" href="mailto:alessandro.ren@opservices.com.br">alessandro.ren@opservices.com.br</a>>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
    <div text="#000000" bgcolor="#ffffff"><br>
    Hello,<br>
    <br>
the last version of nsclient came with a patched check_nt version that
would include a option INSTANCES that would  list counters as described
bellow.<br>
    I'd like to know if I could submit a patch  to check_nt that as
opmonagent also support this feature.
    <br>
    <br>
    Thanks.<span lang="EN-GB"></span>
    <p><span lang="EN-GB">Syntax: check_nt -H <hostname> -p
<port> -v INSTANCES -l <counter object></span></p>
    <ul>
      <li><span lang="EN-GB"><counter object> is a Windows
Perfmon Counter object (eg. Process), if it is two words, it should be
enclosed in quotes</span></li>
      <li><span lang="EN-GB">The returned results will be a
comma-separated list of instances on the selected computer for that
object.</span></li>
      <li><span lang="EN-GB">The purpose of this is to be run from
command line to determine what instances are available for monitoring
without having to log onto the Windows server to run Perfmon directly.</span></li>
      <li><span lang="EN-GB">It can also be used in scripts that
automatically create Nagios service configuration files.</span></li>
    </ul>
    <p><span lang="EN-GB">Example</span></p>
    <p><span lang="EN-GB">./check_nt -H <a moz-do-not-send="true"
 href="http://192.168.1.1/" target="_blank">192.168.1.1</a> -p 1248 -v
INSTANCES -l Process</span></p>
    <br>
    </div>
    <br>
-------------------------------------------------------------------------
    <br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2005.<br>
    <a moz-do-not-send="true"
 href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/"
 target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
    </a><br>
_______________________________________________________<br>
Nagios Plugin Development Mailing List <a moz-do-not-send="true"
 href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a moz-do-not-send="true"
 href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel"
 target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>
::: Please include plugins version (-v) and OS when reporting any
issue.
    <br>
::: Messages without supporting info will risk being sent to /dev/null<br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
<a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________________
Nagios Plugin Development Mailing List <a class="moz-txt-link-abbreviated" href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a>
Unsubscribe at <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a>
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
</body>
</html>