hi,

I want to monitor the total number of sessions in our terminal
servers/ citrix servers. From the shell it works as expected, but the
web interface does not work:

nag...@host::/usr/local/nagios/libexec$ ./check_nt -H termserver -p
12489 -v COUNTER -l "\\Terminal Services\active Sessions","active
sessions %.f" -w 45 -c 50
active sessions 10 | 'active sessions %.f'=10.000000%;45.000000;50.000000;

so as the user nagios I get the results of 10 active sessions and some
performance data. Good.

Enter opsview. I create a service check and select the check_nt plugin
with these arguments:

-H $HOSTADDRESS$ -p 12489 -v COUNTER -l "\\Terminal Services\Active
Sessions","active sessions %.f" -w 45 -c 50

after reloading the web interface, the results that I get are

active sessions 0
Performance Data:       'active sessions %.f'=0.000000%;45.000000;50.000000;

so the -w and -c options are being read, but it does not get the
number of active sessions. Any ideas what may be going wrong, or what
I am missing/doing wrong?

TIA.
-- 
Groeten,
J.Asenjo
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to