是否有一种服务可以像 HTTP 监视服务一样监视安全的 WCF 端点?
我在 WCF 中拥有的服务偶尔会由于 COM 组件的问题而崩溃。 当我进行故障排除时,我想设置另一台主机来定期调用此服务以监视可用性。
尽管该服务受到 SSL 和 WCF 身份验证(用户名/密码)的保护,但它比简单的 HTTP 调用稍微复杂一些。 我还希望能够解析成功的调用,以查看它们是否从我的代码中返回警告/失败状态。
您会为此推荐任何监控提供商吗?或者这超出了他们通常提供的简单监控范围?
问候
瑞安
A service I have in WCF occasionally goes down due a problem with a COM component. While I am troubleshooting I would like to setup another host to make regular calls to this service to monitor availability.
It is slightly more complicated that a simple HTTP call though as the service is secured by SSL and WCF authentication (username / password). I'd also like to be able to parse successful calls to see if they return warning / fail states from my code.
Would you recommend any monitoring providers for this or is it beyond the simple monitoring they normally provide?
Regards
Ryan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在服务器或客户端上启用 WCF 日志记录和审核 设施以生成所有流量的日志。 然后,您可以使用提供的 WCF 服务跟踪查看器工具分析结果在 .NET Framework 3.0 和 3.5 SDK 中。
在您的情况下,我可能会仅在消息级别启用日志记录。 这将减少日志文件中最终的信息量,并帮助您专注于分析实际从服务来回发送的数据。
You could enable WCF logging and auditing facilities either on the server or the client to produce a log of all traffic. Then you can analyze the results using the WCF Service Trace Viewer Tool provided in .NET Framework 3.0 and 3.5 SDK.
In your situation I would probably enable logging only at the message level. This will reduce the amount of information that ends up in the log file and will help you focus on analyzing the data that's actually being sent back and forth from the services.