currently i'm using Nagios 3.3.1 and 1.4.5 plugins. At the moment I'm monitoring around 500 services of different types.
I have added recently another SQL to monitor and it doesn't throw errors. For a german SQL Server Express 2003 I use:
Code: Select all
define command{
command_name check_nt_bb_sql_user_connections_german
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p PORT -v COUNTER -l "\\MSSQL\$BES:Allgemeine Statistik\\Benutzerverbindungen","SQL Server User Connections: %.f" -w $ARG1$ -c $ARG2$
}along with:
Code: Select all
define service{
use generic-service,srv-pnp
host_name HOSTNAME
service_description SQL Server User Connections
check_command check_nt_bb_sql_user_connections_german!10!20
}Code: Select all
/check_nt -H IP -p PORT -v COUNTER -l "\\MSSQL\$BES:Allgemeine Statistik\\Benutzerverbindungen","User Connections: %.f" -w 10 -c 20
User Connections: 118 | 'User Connections: %.f'=118.000000%;10.000000;20.000000;Code: Select all
Performance Data: 'SQL Server User Connections %.f'=118.000000%;0.000000;0.000000;Any ideas?