<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<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 style="" lang="EN-GB"></span>
<p><span style="" lang="EN-GB">Syntax: check_nt -H
<hostname> -p <port> -v INSTANCES -l <counter object></span></p>
<ul>
  <li><span style="" 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 style="" 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 style="" 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 style="" lang="EN-GB">It can also be used in scripts that
automatically create Nagios service configuration files.</span></li>
</ul>
<p><span style="" lang="EN-GB">Example</span></p>
<p><span style="" lang="EN-GB">./check_nt -H 192.168.1.1
-p 1248 -v INSTANCES -l Process</span></p>
<br>
</body>
</html>