Re: check mssql health
Posted: Thu Feb 19, 2015 3:51 am
Hi tgriep,
Here below the content of my freetds.conf
# server specific section
[global]
# TDS protocol version
; tds version = 8.0
# Whether to write a TDSDUMP file for diagnostic purposes
# (setting this to /tmp is insecure on a multi-user system)
; dump file = /tmp/freetds.log
; debug flags = 0xffff
# Command and connection timeouts
; timeout = 10
; connect timeout = 10
# If you get out-of-memory errors, it may mean that your client
# is trying to allocate a huge buffer for a TEXT field.
# Try setting 'text size' to a more reasonable limit
text size = 64512
# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0
# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
[sqlhost1]
server = <first server that i successfully run the check>
port = 1433
tds version = 8.0
[sqlhost2]
server = <second server that i want to add>
port = 30127
tds version = 8.0
[sqlhost3]
server = <third server that i want to add>
port = 30127
tds version = 8.0
below is the sample commands
define command{
command_name check_sqlhealth_Server2_free-list-stalls
command_line $USER1$/check_mssql_health --server xx.xx.xx.xx --username username --password password --port 30127 --name server2 --mode free-list-stalls
Here below the content of my freetds.conf
# server specific section
[global]
# TDS protocol version
; tds version = 8.0
# Whether to write a TDSDUMP file for diagnostic purposes
# (setting this to /tmp is insecure on a multi-user system)
; dump file = /tmp/freetds.log
; debug flags = 0xffff
# Command and connection timeouts
; timeout = 10
; connect timeout = 10
# If you get out-of-memory errors, it may mean that your client
# is trying to allocate a huge buffer for a TEXT field.
# Try setting 'text size' to a more reasonable limit
text size = 64512
# A typical Sybase server
[egServer50]
host = symachine.domain.com
port = 5000
tds version = 5.0
# A typical Microsoft server
[egServer70]
host = ntmachine.domain.com
port = 1433
tds version = 7.0
[sqlhost1]
server = <first server that i successfully run the check>
port = 1433
tds version = 8.0
[sqlhost2]
server = <second server that i want to add>
port = 30127
tds version = 8.0
[sqlhost3]
server = <third server that i want to add>
port = 30127
tds version = 8.0
below is the sample commands
define command{
command_name check_sqlhealth_Server2_free-list-stalls
command_line $USER1$/check_mssql_health --server xx.xx.xx.xx --username username --password password --port 30127 --name server2 --mode free-list-stalls