摘要
针对省级气象通信业务中系统数量日益增加,系统功能日益复杂,目前缺乏综合性的系统运行状态监测方案,通信业务出现的异常状况无法及时通知值班人员,影响了业务质量。提出一种集中监测网络、FTP服务、进程运行、磁盘空间、数据库连接和Web Service服务的方案,使用的关键技术包括WMI、SSH协议等。为解决监测程序受防火墙限制无法访问DMZ区网络和FTP服务的问题,借助SSH协议登录到DMZ区的中间服务器,执行Linux Shell命令返回结果。修改开源的Sharp SSH类库,使其输出重定向到字符串变量中,后续的网络、FTP状态判断均基于该字符串。测试结果表明,该方案对异常情况总的检出准确率达到95.8%,其中网络连通性、磁盘剩余空间、数据库连接、Web Service登录异常检出准确率达到100%,能够满足业务系统监测需求。
As the number of provincial meteorological communication system increasing and the system functions are more complicated, it is lack of comprehensive monitoring schema for system operation, exceptions appears in the communication business cannot be discovered timely by attendants, this affect the quality of communication service. This paper puts forward a scheme to monitor the network, FTP, process, disk space, database connection and web services. The key technologies used include WMI,SSH protocol and so on. In order to solve the problem that the monitoring program is unable to access the DMZ network and the FTP service through the firewall, the SSH protocol is used to log on to the DMZ server and execute the Linux Shell commands to return the result. Modify the open source Sharp SSH class library, make output redirection to the string variable so that the subsequent network, FTP state judgments are based on the string. The test results show that the total accuracy of anomaly detection reached 95.8% and network connectivity, disk space, database connection, web service login abnormal detection accuracy rate reached 100%, thus it can meet the needs of the business monitoring system.
出处
《电脑知识与技术(过刊)》
2017年第4X期78-81,84,共5页
Computer Knowledge and Technology
基金
中国气象局关键技术集成项目(CMAGJ2015M29)
安徽省气象局科技发展基金项目(KM201306)