简体   繁体   English

ITM报告不同情况

[英]ITM reporting the different situations

I am trying to get a report on ITM 6.2.1 regarding each equipment and situations running with some of the configuration info. 我正在尝试获取有关ITM 6.2.1的报告,其中包含一些配置信息,其中涉及每种设备和运行状况。

I need to list each equipment, each situation, formula and the system command with the mail send. 我需要列出每个设备,每种情况,公式和系统命令以及发送的邮件。 Is there a way to get this info without having to go manually into each equipment, situation, etc? 有没有一种方法可以获取此信息而不必手动进入每个设备,情况等?

Example: 例:

Equip: equip01 Agent: LinuxOS Situations: LINUX_FILE_SIZE, LINUX_UNIX_FS_CRITICAL, etc Formula: FILE: '/local/file.err' SIZE: !=0,000 Action: System command: usr/bin/mail oper@mail.com 配备:equip01代理:LinuxOS状况:LINUX_FILE_SIZE,LINUX_UNIX_FS_CRITICAL等公式:FILE:'/local/file.err'大小:!= 0,000操作:系统命令:usr / bin / mail oper@mail.com

Many thanks! 非常感谢!

I think there are many ways to do this, but I would look into some shell scripting using tacmd commands, like "tacmd listsit -m AGENT" and "tacmd viewsit -s SITUATION" you can automate the work by combining the outputs of these commands and create a report that way. 我认为有很多方法可以执行此操作,但是我将使用tacmd命令研究一些shell脚本,例如“ tacmd listit -m AGENT”和“ tacmd viewsit -s SITUATION”,您可以通过组合这些命令的输出来使工作自动化并以这种方式创建报告。

Also, there is a cool tool called "ITMSUPER" that connects to you ITM environment through SOAP calls and creates really useful reports about the entire environment, you should definitely take a look: 另外,还有一个很酷的工具叫做“ ITMSUPER”,它通过SOAP调用连接到您的ITM环境,并创建有关整个环境的非常有用的报告,您绝对应该看一下:

https://www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/Use%20ITMSUPER%20to%20Solve%20ITM%20Issues/page/Some%20Useful%20Examples%20of%20ITMSUPER%20for%20Beginners?lang=en https://www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/Use%20ITMSUPER%20to%20Solve%20ITM%20Issues/page/Some%20Useful%20Examples%20of%20ITMSUPER%20for%20Beginners?lang=恩

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM