Nagios 用 check_mssql_health 检查所有实例



如何让Nagios使用check_mssql_health检查SQL Server的所有实例?

您是否尝试过以下方法?

与perl Sybase模块连接可能有些棘手。我终于以这种方式获得了成功的连接:

1 - Edit /etc/freetds/freetds.conf
[sqlhost1]
host = 192.168.1.1
port = 1433
tds version = 8.0
2 - Use the --server command line option instead of the --hostname option:
check_mssql_health --server=sqlhost1 --username=nagiosuser --password=nagiospass --mode connected-users

最新更新