实例介绍
网络监控简易本地安装版本是一个独立的.NET开发的服务程序,安装在您的服务器或者电脑上,能实时监控网络,出故障自动发邮件报警。 1、网络监控简易版源码使用Microsoft Visual Studio 2008开发 2、无需要数据库,使用XML保留配置文件。 3、程序使用多线程同时监控:把监控对象生成队列,多线程逐一读取队列,用命令模式调用执行。 4、全面向对象开发。 功能特点 1、完全独立安装,独立使用,支持Windwos XP、Windows 2003、Windwos 7等Windows系统。 2、能实时监控Ping服务、TCP服务、网页是否正常。 3、使用多线程多任务,监控服务出现
【实例截图】
【核心代码】
HostMonitor
├── Application
│ ├── HostMonitorServer
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Alert.dll
│ │ │ ├── com118cy.HostMonitor.Alert.pdb
│ │ │ ├── com118cy.HostMonitor.Control.dll
│ │ │ ├── com118cy.HostMonitor.Control.pdb
│ │ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ │ ├── com118cy.HostMonitor.Pings.dll
│ │ │ ├── com118cy.HostMonitor.Pings.pdb
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ ├── com118cy.HostMonitor.ServerMonitor.dll
│ │ │ ├── com118cy.HostMonitor.ServerMonitor.pdb
│ │ │ ├── Config
│ │ │ │ ├── alert.config
│ │ │ │ ├── host.config
│ │ │ │ └── system.config
│ │ │ ├── HostMonitorServer.application
│ │ │ ├── HostMonitorServer.exe
│ │ │ ├── HostMonitorServer.exe.config
│ │ │ ├── HostMonitorServer.exe.manifest
│ │ │ ├── HostMonitorServer.InstallLog
│ │ │ ├── HostMonitorServer.InstallState
│ │ │ ├── HostMonitorServer.pdb
│ │ │ ├── HostMonitorServer.vshost.application
│ │ │ ├── HostMonitorServer.vshost.exe
│ │ │ ├── HostMonitorServer.vshost.exe.config
│ │ │ ├── log4net.dll
│ │ │ ├── log4net.pdb
│ │ │ └── log4net.xml
│ │ ├── HostMonitorServer.csproj
│ │ ├── HostMonitorServer.csproj.user
│ │ ├── HostMonitorServer.suo
│ │ ├── HostMonitorServer_TemporaryKey.pfx
│ │ ├── obj
│ │ │ └── Debug
│ │ │ ├── HostMonitorServer.application
│ │ │ ├── HostMonitorServer.csproj.FileListAbsolute.txt
│ │ │ ├── HostMonitorServer.csproj.GenerateResource.Cache
│ │ │ ├── HostMonitorServer.exe
│ │ │ ├── HostMonitorServer.exe.manifest
│ │ │ ├── HostMonitorServer.pdb
│ │ │ ├── HostMonitorServer.ProjectInstaller.resources
│ │ │ ├── HostMonitorServer.TrustInfo.xml
│ │ │ └── ResolveAssemblyReference.cache
│ │ ├── Program.cs
│ │ ├── ProjectInstaller.cs
│ │ ├── ProjectInstaller.Designer.cs
│ │ ├── ProjectInstaller.resx
│ │ ├── Properties
│ │ │ ├── app.manifest
│ │ │ └── AssemblyInfo.cs
│ │ ├── Service1.cs
│ │ └── Service1.Designer.cs
│ └── Test
│ ├── bin
│ │ └── Debug
│ │ ├── com118cy.HostMonitor.Alert.dll
│ │ ├── com118cy.HostMonitor.Alert.pdb
│ │ ├── com118cy.HostMonitor.Control.dll
│ │ ├── com118cy.HostMonitor.Control.pdb
│ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ ├── com118cy.HostMonitor.Pings.dll
│ │ ├── com118cy.HostMonitor.Pings.pdb
│ │ ├── com118cy.HostMonitor.Public.dll
│ │ ├── com118cy.HostMonitor.Public.pdb
│ │ ├── com118cy.HostMonitor.ServerMonitor.dll
│ │ ├── com118cy.HostMonitor.ServerMonitor.pdb
│ │ ├── Config
│ │ │ ├── alert.config
│ │ │ ├── host.config
│ │ │ └── system.config
│ │ ├── log4net.dll
│ │ ├── Test.application
│ │ ├── Test.exe
│ │ ├── Test.exe.config
│ │ ├── Test.exe.manifest
│ │ ├── Test.pdb
│ │ ├── Test.vshost.application
│ │ ├── Test.vshost.exe
│ │ ├── Test.vshost.exe.config
│ │ └── 复件 Test.exe.config
│ ├── Form1.cs
│ ├── Form1.Designer.cs
│ ├── Form1.resx
│ ├── obj
│ │ └── Debug
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── Test.application
│ │ ├── Test.csproj.FileListAbsolute.txt
│ │ ├── Test.csproj.GenerateResource.Cache
│ │ ├── Test.exe
│ │ ├── Test.exe.manifest
│ │ ├── Test.Form1.resources
│ │ ├── Test.pdb
│ │ └── Test.Properties.Resources.resources
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── Test.csproj
│ ├── Test.csproj.user
│ └── Test_TemporaryKey.pfx
├── class
│ ├── Alert
│ │ ├── AlertContext.cs
│ │ ├── Alert.cs
│ │ ├── Alert.csproj
│ │ ├── AlertObserver.cs
│ │ ├── Alert.sln
│ │ ├── AlertSubject.cs
│ │ ├── Alert.suo
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Alert.dll
│ │ │ ├── com118cy.HostMonitor.Alert.pdb
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ └── log4net.dll
│ │ ├── EmailAlert.cs
│ │ ├── obj
│ │ │ └── Debug
│ │ │ ├── Alert.csproj.FileListAbsolute.txt
│ │ │ ├── com118cy.HostMonitor.Alert.dll
│ │ │ └── com118cy.HostMonitor.Alert.pdb
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── SendAlertFactory.cs
│ ├── Control
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Alert.dll
│ │ │ ├── com118cy.HostMonitor.Alert.pdb
│ │ │ ├── com118cy.HostMonitor.Control.dll
│ │ │ ├── com118cy.HostMonitor.Control.pdb
│ │ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ │ ├── com118cy.HostMonitor.Pings.dll
│ │ │ ├── com118cy.HostMonitor.Pings.pdb
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ ├── com118cy.HostMonitor.ServerMonitor.dll
│ │ │ ├── com118cy.HostMonitor.ServerMonitor.pdb
│ │ │ └── log4net.dll
│ │ ├── Control.csproj
│ │ ├── Main.cs
│ │ ├── obj
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Control.dll
│ │ │ ├── com118cy.HostMonitor.Control.pdb
│ │ │ ├── Control.csproj.FileListAbsolute.txt
│ │ │ └── ResolveAssemblyReference.cache
│ │ └── Properties
│ │ └── AssemblyInfo.cs
│ ├── Hosts
│ │ ├── AlertList.cs
│ │ ├── AlertListIterator.cs
│ │ ├── AlertPingList.cs
│ │ ├── AlertSocketList.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ └── log4net.dll
│ │ ├── Host.cs
│ │ ├── HostIterator.cs
│ │ ├── Hosts.csproj
│ │ ├── obj
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ │ ├── Hosts.csproj.FileListAbsolute.txt
│ │ │ └── ResolveAssemblyReference.cache
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── WebPageList.cs
│ ├── Pings
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ │ ├── com118cy.HostMonitor.Pings.dll
│ │ │ ├── com118cy.HostMonitor.Pings.pdb
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ └── log4net.dll
│ │ ├── MonitorTest.cs
│ │ ├── obj
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Pings.dll
│ │ │ ├── com118cy.HostMonitor.Pings.pdb
│ │ │ ├── Pings.csproj.FileListAbsolute.txt
│ │ │ └── ResolveAssemblyReference.cache
│ │ ├── Pings.csproj
│ │ ├── PingTest.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── SocketTest.cs
│ │ └── WebPageTest.cs
│ ├── Public
│ │ ├── AlertLog.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ └── log4net.dll
│ │ ├── Config.cs
│ │ ├── Function.cs
│ │ ├── Iterator.cs
│ │ ├── obj
│ │ │ └── Debug
│ │ │ ├── com118cy.HostMonitor.Public.dll
│ │ │ ├── com118cy.HostMonitor.Public.pdb
│ │ │ ├── Public.csproj.FileListAbsolute.txt
│ │ │ └── ResolveAssemblyReference.cache
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Public.csproj
│ │ └── SendMail.cs
│ └── ServerMonitor
│ ├── AlertError.cs
│ ├── AlertOffline.cs
│ ├── AlertOnline.cs
│ ├── AlertStat.cs
│ ├── bin
│ │ └── Debug
│ │ ├── com118cy.HostMonitor.Alert.dll
│ │ ├── com118cy.HostMonitor.Alert.pdb
│ │ ├── com118cy.HostMonitor.Hosts.dll
│ │ ├── com118cy.HostMonitor.Hosts.pdb
│ │ ├── com118cy.HostMonitor.Pings.dll
│ │ ├── com118cy.HostMonitor.Pings.pdb
│ │ ├── com118cy.HostMonitor.Public.dll
│ │ ├── com118cy.HostMonitor.Public.pdb
│ │ ├── com118cy.HostMonitor.ServerMonitor.dll
│ │ ├── com118cy.HostMonitor.ServerMonitor.pdb
│ │ └── log4net.dll
│ ├── MonitorCommand.cs
│ ├── MonitorCommandInvoker.cs
│ ├── MonitorCommandPing.cs
│ ├── MonitorCommandSocket.cs
│ ├── MonitorCommandWebPage.cs
│ ├── Monitor.cs
│ ├── MonitorThread.cs
│ ├── obj
│ │ └── Debug
│ │ ├── com118cy.HostMonitor.ServerMonitor.dll
│ │ ├── com118cy.HostMonitor.ServerMonitor.pdb
│ │ ├── ResolveAssemblyReference.cache
│ │ └── ServerMonitor.csproj.FileListAbsolute.txt
│ ├── PingMonitor.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── ServerMonitor.csproj
│ ├── SocketMonitor.cs
│ └── WebPageMonitor.cs
├── document
│ └── 设计.jpg
├── from.gif
├── HostMonitor.sln
├── HostMonitor.suo
└── 使用安装说明.txt
53 directories, 218 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论