Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server Nagios使用check_mssql_health检查所有实例_Sql Server_Nagios - Fatal编程技术网

Sql server Nagios使用check_mssql_health检查所有实例

Sql server Nagios使用check_mssql_health检查所有实例,sql-server,nagios,Sql Server,Nagios,如何让Nagios使用检查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 --hostnam

如何让Nagios使用
检查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

你试过以下方法吗

与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

是的,已经试过了。。我只在星期一回去工作,然后再试一次,我会告诉你结果。。无论如何谢谢你!!没问题。也谢谢你的投票。@DontVoteMeDown,你能检查一下这个答案作为解决方案吗?是的,已经试过了。。我只在星期一回去工作,然后再试一次,我会告诉你结果。。无论如何谢谢你!!没问题。也谢谢你的投票。@DontVoteMeDown,请检查这个答案作为解决方案好吗?