Cloud Native应用交付

  • 首页
  • 关于本站
  • 个人介绍
  • Downloads
  • Repo
    • Github
    • Container
  • F5
    • F5 Python SDK
    • F5-container
    • F5-LBaaS
  • 社交
    • 联系我
    • 微信/微博
    • 公众号
    • 打赏赞助
行至水穷处 坐看云起时
Cloud Native Application Services: cnadn.net
  1. 首页
  2. F5技术
  3. 正文

通过ihealth API 自动化提取诊断分析结果

2014年10月28日 8892点热度 0人点赞 0条评论

上一篇文章我们实现了自动化qkview的上传,上传之后,我们可以利用脚步执行自动化的诊断提取工作,其工作思路是

-分析并列表当前用户下所有qkview id

-等待用户输入需要分析的qkview id

-执行分析,并输出诊断结果

你可以修改脚本做更多的工作,例如输出qkview所采集到的tmsh,linux等相关命令的输出,也可以输出某个指定的文件,只要分析下图中不同的输出即可:

Ihealth-API

Ihealth-API

脚本下载:

[wpdm_file id=1]

如何获得下载密码,请微信关注 F5技术 订阅号后,回复downloadpwd

或微信扫描立刻关注

微信公众号

微信公众号

用法:

1.首先应确保你的系统安装了 xmlstarlet 这个命令行xml分析工具。在ubuntu系统下执行

apt-get install xmlstarlet  安装即可

脚本中有如下定义:

XMLPROCESSOR=/usr/bin/xmlstarlet

根据你系统环境的不同,请对应修改执行文件所在位置。

注意:此脚本暂时不支持json格式输出的分析,脚本中用到的jq可不安装,执行时也不要使用参数指定json格式。

2. 运行

ubuntu# USER=Yourihealthname PASS=Yourihealthpwd ./diagnostic-summary.sh

输出类似:

Authenticating
Authentication successful
Currently you have:
***Note: If you see qkview id=0, and SN isf5-abcd-efgh, this mean you not upload qkview yet. 0 is the default and hidden qkview of the system!***

3012552   f5-sbuo-dwbs||case_number_###_support_file.qkview|Generation date|Mon, 27 Oct 2014 16:12:44 +0800|Upload date|Oct 27 2014, 08:42:26 AM (GMT)
3012476   f5-sbuo-dwbs||case_number_###_support_file.qkview|Generation date|Mon, 27 Oct 2014 16:12:44 +0800|Upload date|Oct 27 2014, 08:26:09 AM (GMT)

Please input a qkview ID that you want to diagnose:3012552

H441024    : LOW : http://support.f5.com/kb/en-us/solutions/public/5000/500/sol5532.html
Log levels are not set to the default value

====================================================================================================================

H484499    : HIGH : http://support.f5.com/kb/en-us/solutions/public/15000/700/sol15702.html
SSLv3 vulnerability CVE-2014-3566

====================================================================================================================

H431746    : MEDIUM : http://support.f5.com/kb/en-us/solutions/public/11000/800/sol11880.html
BIG-IP objects configured on a different subnet than the self IP address do not send gratuitous ARP requests on failover

====================================================================================================================

H638394-23 : MEDIUM : http://support.f5.com/kb/en-us/solutions/public/13000/900/sol13905.html
Log messages report TCL runtime errors

====================================================================================================================

H683183    : LOW : http://support.f5.com/kb/en-us/solutions/public/2000/100/sol2167.html
An HTTP monitor send string does not end with the required CR/LF sequence

====================================================================================================================

H383290    : LOW : http://support.f5.com/kb/en-us/solutions/public/8000/100/sol8153.html
Unsupported hardware components are used on the system

====================================================================================================================

H726514    : LOW : http://support.f5.com/kb/en-us/solutions/public/10000/200/sol10240.htmlhttp://support.f5.com/kb/en-us/solutions/public/3000/100/sol3122.html
The 'ntpq -pn' command reports that there are not enough working NTP servers configured to provide reliable service

====================================================================================================================

H415950    : LOW :
VLANs without self IP addresses are present in this BIG-IP system's configuration

====================================================================================================================

H770025    : MEDIUM : http://support.f5.com/kb/en-us/solutions/public/15000/300/sol15335.html
The configuration may contain unused objects

====================================================================================================================

H686710    : LOW : http://support.f5.com/kb/en-us/solutions/public/10000/000/sol10062.html
The /var/core directory contains core files

====================================================================================================================

H638394-7  : MEDIUM : http://support.f5.com/kb/en-us/solutions/public/7000/000/sol7066.html
VLAN failsafe is enabled on a VLAN with no defined interface or self IP address

====================================================================================================================

H830235    : MEDIUM : http://support.f5.com/kb/en-us/solutions/public/7000/900/sol7964.html
Cookie or universal persistence may fail for subsequent requests on Keep-Alive HTTP connections

====================================================================================================================

H380432    : HIGH : http://support.f5.com/kb/en-us/solutions/public/10000/200/sol10261.htmlhttp://support.f5.com/kb/en-us/solutions/public/13000/400/sol13426.html
Log messages report an excessive number of login failures

====================================================================================================================

H479424    : HIGH : http://support.f5.com/kb/en-us/solutions/public/15000/600/sol15605.html
XML Entity Injection vulnerabilities CVE-2014-6032 and CVE-2014-6033

====================================================================================================================

相关文章

  • 通过ihealth API上传qkview到ihealth系统
  • 密码保护:F5OS tenant部署后的容器情况、网络接口情况
  • 密码保护:F5OS tenant镜像实例化后信息
  • 密码保护:F5OS docker-compose.yml
  • 密码保护:F5OS 底层容器、网络及k8s状态
本作品采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可
标签: ihealth 自动化
最后更新:2014年10月28日

纳米

linjing.io

打赏 点赞
< 上一篇
下一篇 >
页面AI聊天助手

纳米

linjing.io

☁️迈向Cloud Native ADC ☁️

认证获得:
TOGAF: ID 152743
Kubernetes: CKA #664
Microsoft: MCSE MCDBA
Cisco: CCNP
Juniper: JNCIS
F5:
F5 Certified Solution Expert, Security
F5 Certified Technology Specialist, LTM/GTM/APM/ASM
F5 Certified BIG-IP Administrator
  • 点击查看本博技术要素列表
  • 归档
    分类
    • AI
    • Automation
    • Avi Networks
    • Cisco ACI
    • CISCO资源
    • F5 with ELK
    • F5-Tech tips
    • F5技术
    • Juniper
    • Linux
    • NGINX
    • SDN
    • ServiceMesh
    • WEB编程
    • WINDOWS相关
    • 业界文章
    • 交换机技术
    • 化云为雨/Openstack
    • 协议原理
    • 容器/k8s
    • 我的工作
    • 我的生活
    • 网站技术
    • 路由器技术
    • 项目案例
    标签聚合
    F5 gtm api neutron docker k8s openstack nginx bigip flannel DNS istio network irule envoy
    最近评论
    汤姆 发布于 8 个月前(09月10日) 嗨,楼主,里面的json怎么下载啊,怎么收费啊?
    汤姆 发布于 8 个月前(09月09日) 大佬,kib的页面可以分享下吗?谢谢
    zhangsha 发布于 1 年前(05月12日) 资料发给我下,谢谢纳米同志!!!!lyx895@qq.com
    李成才 发布于 1 年前(01月02日) 麻烦了,谢谢大佬
    纳米 发布于 1 年前(01月02日) 你好。是的,因为以前下载系统插件在一次升级后将所有的下载生成信息全弄丢了。所以不少文件无法下载。DN...
    浏览次数
    • Downloads - 183,762 views
    • 联系我 - 118,966 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 116,497 views
    • Github - 103,649 views
    • F5常见log日志解释 - 79,774 views
    • 从传统ADC迈向CLOUD NATIVE ADC - 下载 - 74,623 views
    • Sniffer Pro 4 70 530抓包软件 中文版+视频教程 - 74,320 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 67,770 views
    • 关于本站 - 60,905 views
    • 这篇文档您是否感兴趣 - 55,491 views
    链接表
    • F5SE创新
    • Jimmy Song‘s Blog
    • SDNlab
    • Service Mesh社区
    • 三斗室
    • 个人profile
    • 云原生社区

    COPYRIGHT © 2023 Cloud Native 应用交付. ALL RIGHTS RESERVED.

    Theme Kratos Made By Seaton Jiang

    京ICP备14048088号-1

    京公网安备 11010502041506号