Custom Command Agent User Guide
Total Page:16
File Type:pdf, Size:1020Kb
Custom Command Agent User Guide 1.6 VMC-Mxx VISUAL Message Center Custom Command Agent User Guide The software described in this book is furnished under a license agreement and may be used only in accordance with the terms of the agreement. Copyright Notice Copyright © 2013 Tango/04 All rights reserved. Document date: August 2012 Document version: 1.01 Product version: 1.6 No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic mechani- cal, magnetic, optical, chemical, manual, or otherwise, without the prior written permission of Tango/04. Trademarks Any references to trademarked product names are owned by their respective companies. Technical Support For technical support visit our web site at www.tango04.com. Tango/04 Computing Group S.L. Avda. Meridiana 358, 5 A-B Barcelona, 08027 Spain Tel: +34 93 274 0051 Table of Contents Table of Contents Table of Contents.............................................................................. iii How to Use this Guide........................................................................vi Chapter 1 Introduction .....................................................................................1 1.1. What You Will Find in this Document..............................................................2 Chapter 2 Before You Begin ..............................................................................3 Chapter 3 Windows Host Requirements...............................................................4 3.1. Checking for Administrative Shares in the Remote Host ................................4 3.2. Checking the Remote Service Manager Access in the Remote Host.............5 Chapter 4 Linux/Unix-based Host Requirements ..................................................7 4.1. Checking a SSHv2 Connection Availability with the Putty Client....................7 4.1.1. Checking Command Permissions and Availability ....................................8 © 2013 Tango/04 Computing Group Page iii Table of Contents Chapter 5 Configuration of Data Sources ..........................................................10 5.1. General Settings ...........................................................................................10 5.1.1. Main Information .....................................................................................11 5.1.2. Target Host Settings ...............................................................................11 5.1.3. Connection Settings................................................................................12 5.1.4. Linux/Unix Specific Settings....................................................................13 5.1.5. General Settings .....................................................................................13 5.2. Command Execution Settings (Custom Command Data Source) ................14 5.3. Command Execution Settings (Advanced Custom Command Data Source)17 5.4. Command Execution Settings (Script Runner Data Source) ........................20 5.5. Variables (Advanced Custom Command Data Source)................................23 5.6. Command Output Settings............................................................................25 Chapter 6 Custom Command ThinAgent Configuration........................................29 6.0.1. General Settings ....................................................................................29 6.0.2. Parser Options ........................................................................................30 6.0.3. Table Settings .........................................................................................36 6.0.4. Default Health Settings ...........................................................................39 6.0.5. Default Message Templates ...................................................................40 6.0.6. Common Variables..................................................................................40 6.0.7. Field Map SmartConsole – ThinkServer .................................................40 Chapter 7 Advanced Custom Command ThinAgent Configuration .........................42 7.0.1. General Settings ....................................................................................42 7.0.2. Parser Options ........................................................................................43 7.0.3. Table Settings .........................................................................................44 7.0.4. Default Health Settings ...........................................................................44 7.0.5. Default Message Templates ...................................................................44 7.0.6. Common Variables..................................................................................44 7.0.7. Field Map SmartConsole – ThinkServer .................................................45 Chapter 8 Script Runner ThinAgent Configuration...............................................46 8.0.1. General Settings ....................................................................................46 8.0.2. Parser Options ........................................................................................47 8.0.3. Table Settings .........................................................................................47 © 2013 Tango/04 Computing Group Page iv Table of Contents 8.0.4. Default Health Settings ...........................................................................47 8.0.5. Default Message Templates ...................................................................48 8.0.6. Common Variables..................................................................................48 8.0.7. Field Map SmartConsole – ThinkServer .................................................48 Appendices Appendix A: Some Execution and Parsing Examples ............................50 A.1. Delimited Fields: Checking the Network Interface Connections on Windows.50 A.1.1. Checking the Requirements ...................................................................50 A.1.2. Configuring the Parser............................................................................51 A.1.3. Creating the Monitor ...............................................................................52 A.1.4. Done! ......................................................................................................58 A.2. XML Tags: Reading the Solaris Audit Trail...................................................59 A.2.1. Checking the Requirements ...................................................................59 A.2.2. Configuring the Parser............................................................................60 A.2.3. Creating the Monitor ...............................................................................60 A.2.4. Done! ......................................................................................................65 Appendix B: Regular Expressions Syntax Reference..............................68 B.1. Characters ....................................................................................................68 B.2. Characters Classes or Character Sets [abc] ................................................69 B.3. Dot ................................................................................................................70 B.4. Anchors ........................................................................................................70 B.5. Word Boundaries..........................................................................................70 B.6. Alternation ....................................................................................................71 B.7. Quantifiers ....................................................................................................71 Appendix C: Reference......................................................................73 Appendix D: Contacting Tango/04.....................................................75 About Tango/04 Computing Group ....................................................77 Legal Notice....................................................................................78 © 2013 Tango/04 Computing Group Page v How to Use this Guide How to Use this Guide This chapter explains how to use Tango/04 User Guides and understand the typographical conventions used in all Tango/04 documentation. Typographical Conventions The following conventional terms, text formats, and symbols are used throughout Tango/04 printed documentation: Convention Description Boldface Commands, on-screen buttons and menu options. Blue Italic References and links to other sections in the manual or further documentation containing relevant information. Italic Text displayed on screen, or variables where the user must substitute their own details. Monospace Input commands such as System i commands or code, or text that users must type in. Keyboard keys, such as CTRL for the Control key and F5 for the UPPERCASE function key that is labeled F5. Notes and useful additional information. Tips and hints that will improve the users experience of working with this product. Important additional information that the user is strongly advised to note. Warning information. Failure to take note of this information could potentially lead to serious problems. © 2013 Tango/04 Computing Group Page vi Introduction Chapter 1 1 Introduction The Custom Command ThinAgents are