首页 > 代码库 > OGG维护优化脚本(二十五)-OGG状态监控系统--HTML实现
OGG维护优化脚本(二十五)-OGG状态监控系统--HTML实现
部分html 范例
主要用到了嵌套表格等简单的语法
<!DOCTYPE HTML> <html> <h1 align="center">goldengate监控系统</h1> <head> <style type="text/css"> p { border:red solid thin; outline:#00ff00 dotted thick; } </style> </head> <body> <p><b>注意:</b>注意,该系统仅为测试版本</p> <div style="color:#00FF00"> <a href="http://132.121.88.149:8080/index2.html">全系统状态监控</a> </div> <p>管线资源系统</p> <table border=2 width="70%" > <tr> <td>主机</td> <td>用户</td> <td><a href="http://132.121.88.149:8080/gginfo/gxdb.html">配置信息及状态</a></td> <td>错误日志</td> <td>上月错误日志</td> <td>写入错误信息</td> <td>附加日志</td> </tr> <tr> <td rowspan=3>gxdb1</td> <td>ggs</td> <td><a href="http://132.121.88.149:8080/gginfo/GXDB1-ggs.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gginfo/GXDB1-ggs.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/gglog/GXDB1-ggs.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gglog/GXDB1-ggs.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/lgglog/GXDB1-ggs.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/lgglog/GXDB1-ggs.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/ggdsc/GXDB1-ggs.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/ggdsc/GXDB1-ggs.html" width=120 height=30></iframe> </a></td> <td><a href="http://132.121.88.149:8080/ggchk/GXDB1-ggs.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/ggchk/GXDB1-ggs.html" width=120 height=30></iframe> </a></td> </tr> <tr> <td>odsggs1</td> <td><a href="http://132.121.88.149:8080/gginfo/GXDB1-odsggs1.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gginfo/GXDB1-odsggs1.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/gglog/GXDB1-odsggs1.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gglog/GXDB1-odsggs1.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/lgglog/GXDB1-odsggs1.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/lgglog/GXDB1-odsggs1.html" width=120 height=30></iframe></a></td> <td>none</td> <td><a href="http://132.121.88.149:8080/ggchk/GXDB1-odsggs1.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/ggchk/GXDB1-odsggs1.html" width=120 height=30></iframe> </a></td> </tr> <tr> <td>odsggs2</td> <td><a href="http://132.121.88.149:8080/gginfo/GXDB1-odsggs2.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gginfo/GXDB1-odsggs2.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/gglog/GXDB1-odsggs2.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gglog/GXDB1-odsggs2.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/lgglog/GXDB1-odsggs2.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/lgglog/GXDB1-odsggs2.html" width=120 height=30></iframe></a></td> <td>none</td> <td><a href="http://132.121.88.149:8080/ggchk/GXDB1-odsggs2.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/ggchk/GXDB1-odsggs2.html" width=120 height=30></iframe> </a></td> </tr> <tr> <td rowspan=2>gxdb2</td> <td>odsggs3 </td> <td><a href="http://132.121.88.149:8080/gginfo/GXDB2-odsggs3.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gginfo/GXDB2-odsggs3.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/gglog/GXDB2-odsggs3.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gglog/GXDB2-odsggs3.html" width=120 height=30></iframe></a></td> <td><a href="http://132.121.88.149:8080/lgglog/GXDB2-odsggs3.html"><iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/lgglog/GXDB2-odsggs3.html" width=120 height=30></iframe></a></td> <td>none</td> <td><a href="http://132.121.88.149:8080/ggchk/GXDB2-odsggs3.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/ggchk/GXDB2-odsggs3.html" width=120 height=30></iframe> </a></td> </tr> <tr> <td>odsggs4</td> <td><a href="http://132.121.88.149:8080/gginfo/GXDB2-odsggs4.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gginfo/GXDB2-odsggs4.html" width=120 height=30></iframe> </a></td> <td><a href="http://132.121.88.149:8080/gglog/GXDB2-odsggs4.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/gglog/GXDB2-odsggs4.html" width=120 height=30></iframe> </a></td> <td><a href="http://132.121.88.149:8080/lgglog/GXDB2-odsggs4.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/lgglog/GXDB2-odsggs4.html" width=120 height=30></iframe> </a></td> <td>none</td> <td><a href="http://132.121.88.149:8080/ggchk/GXDB2-odsggs4.html"> <iframe frameborder="0" scrolling="no" src="http://www.mamicode.com/txt/ggchk/GXDB2-odsggs4.html" width=120 height=30></iframe> </a></td> </tr> </table> </body> </html>
基本主要用到了嵌套表格 来显示不同的链路
通过框架
iframe
来显示带有链接的不同进程状态信息
基本也不是很复杂。
以上就是全部OGG维护优化脚本的内容。
个人技术能力有限,利用业余时间写的。欢迎大家指点。
本文出自 “netsman” 博客,请务必保留此出处http://netsman.blog.51cto.com/5750076/1939956
OGG维护优化脚本(二十五)-OGG状态监控系统--HTML实现
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。