<!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.2995" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=119360716-22022007> </SPAN>Has anyone tried accessing
the performance counter files for SQL Server <SPAN
class=119360716-22022007>2000 </SPAN>Enterprise on a Windows 2003 server. I am
trying to access SQL Server counter files, but im running into issues with the
following counters SQLServer:SQL Statistics Batch Requests/sec, I can access OS
related counter files on this server. No <SPAN
class=119360716-22022007>l</SPAN>uck with any of the SQL Server Ones. I have
added a few command that im trying to work with:</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l
"</FONT><A href="file://\\SQLServer:SQL"><FONT face=Arial
size=2>\\SQLServer:SQL</FONT></A><FONT face=Arial size=2> Statistics\\Batch
Requests/sec","Batch Request per sec is %.f%%<SPAN
class=119360716-22022007>"</SPAN><BR>./check_nc_net -H $HOSTADDRESS$ -v COUNTER
-l "</FONT><A href="file://\\SQLServer:General"><FONT face=Arial
size=2>\\SQLServer:General</FONT></A><FONT face=Arial><FONT size=2>
Statistics\\User Connections","User Connections %.f%%<SPAN
class=119360716-22022007>"</SPAN></FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The result I get from the command is -1, which I
know is wrong. I have nagios 2.5 on Redhat running with NC_NET for windows
servers.</FONT></DIV></BODY></HTML>