IT Just Works ©2008 BigFix, Inc. Practical Guide to Relevance Ben Kus – 1/31/2008.

Slides:



Advertisements
Similar presentations
Purdue University Center for Education and Research in Information Assurance and Security Building a distributed intrusion detection system with Perl Diego.
Advertisements

Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely P J Human Resources Pte Ltd presents:
Microsoft ® Access ® 2010 Training Create queries for a new database.
Lecture 4 Basic Scripting. Administrative  Files on the website will be posted in pdf for compatibility  Website is now mirrored at:
Programming Paradigms and languages
Data Mining Methodology 1. Why have a Methodology  Don’t want to learn things that aren’t true May not represent any underlying reality ○ Spurious correlation.
Operating-System Structures
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
Software Development Unit 6.
PROJECT PRESENTATION Prof: Daniel Amyot Presented By… ANVESH ALUWALA GURPREET SINGH DHADDA Evaluation of Load Testing Tools WebLOAD Professional Vs NeoLoad.
S ELECTION OF WEB HOST AND WEB PAGE SYSTEM. W EB HOST stores all the pages of your website and makes them available to computers connected to the Internet.
Debugged!.  You know that old line about an ounce of prevention?  It’s true for debugging.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Lesson 46: Using Information From the Web copy and paste information from a Web site print a Web page download information from a Web site customize Web.
Software design and development Marcus Hunt. Application and limits of procedural programming Procedural programming is a powerful language, typically.
IBM Endpoint Manager - Bigfix
MS Access: Database Concepts Instructor: Vicki Weidler.
CEDROM-SNi’s DITA- based Project From Analysis to Delivery By France Baril Documentation Architect.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
MS Access Advanced Instructor: Vicki Weidler Assistant:
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Lesson 4 Computer Software
CW-V1 SDD 0201 Principals of Software Design and Development Introduction to Programming Languages.
CSE 486/586 CSE 486/586 Distributed Systems PA Best Practices Steve Ko Computer Sciences and Engineering University at Buffalo.
Linux Operations and Administration
Cisco Unity & Unity Connection Server Updates Wizard TOI Josh Rose UCBU Engineering May 17, 2007.
Lecture 18 Page 1 CS 111 Online Design Principles for Secure Systems Economy Complete mediation Open design Separation of privileges Least privilege Least.
Lecture 8 Page 1 Advanced Network Security Review of Networking Basics: Internet Architecture, Routing, and Naming Advanced Network Security Peter Reiher.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Microsoft ® Office Access ™ 2007 Training Choose between Access and Excel ICT Staff Development presents:
Level 2 IT Users Qualification – Unit 1 Improving Productivity Jordan Girling.
Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely presents:
Data Warehouse Management March 13, 2000 Prof. Hwan-Seung Yong Dept. of CSE, Ewha Womans Univ. The Case for Data Warehousing.
The ID process Identifying needs and establishing requirements Developing alternative designs that meet those requirements Building interactive versions.
The Protection of Information in Computer Systems Part I. Basic Principles of Information Protection Jerome Saltzer & Michael Schroeder Presented by Bert.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 7: Focusing on Users and Their Tasks.
Santa’s s By Brandon. Sending an attachment to Santa I attached the by pressing the attachment button above the recipient box I used.
Microsoft Office Outlook 2013 Microsoft Office Outlook 2013 Courseware # 3252 Lesson 6: Organizing Information.
Chapter 4c, Database H Definition H Structure H Parts H Types.
Copenhagen, 7 June 2006 Toolkit update and maintenance Anton Cupcea Finsiel Romania.
Microsoft ® Office Excel 2003 Training Using XML in Excel SynAppSys Educational Services presents:
Sofia, Bulgaria | 9-10 October The Query Governor Richard Campbell Stephen Forte Richard Campbell Stephen Forte.
1 Version /05/2004 © 2004 Robert Oshana Requirements Engineering Use cases.
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
Santa’s s By Jack Carr. Sending an attachment to Santa Explain how you attached the . New message, insert, attachment Explain why you.
® Copyright 2008 Adobe Systems Incorporated. All rights reserved. ADOBE® ACCESSIBILITY PDF Accessibility – Best Practices for Authoring Pete DeVasto Greg.
An Introduction to Forms. The Major Steps of a MicroSoft Access Database  Tables  Queries  Forms  Macros  Reports  Modules On our road map, we are.
Matthew Glenn AP2 Techno for Tanzania This presentation will cover the different utilities on a computer.
M1G Introduction to Programming 2 3. Creating Classes: Room and Item.
Understand Permissions LESSON Security Fundamentals.
WHAT IS E-COMMERCE? E-COMMERCE is a online service that helps the seller/buyer complete their transaction through a secure server. Throughout the past.
Getting ready. Why C? Design Features – Efficiency (C programs tend to be compact and to run quickly.) – Portability (C programs written on one system.
ITP 109 Week 2 Trina Gregory Introduction to Java.
CS Class 04 Topics  Selection statement – IF  Expressions  More practice writing simple C++ programs Announcements  Read pages for next.
John Samuels October, Why Now?  Vista Problems  New Features  >4GB Memory Support  Experience.
Your current Moodle 1.9 Minimum Requirements Ability to do a TEST RUN! Upgrading Moodle to Version 2 By Ramzan Jabbar Doncaster College for the Deaf By.
Lecture 1 Page 1 CS 111 Summer 2013 Important OS Properties For real operating systems built and used by real people Differs depending on who you are talking.
Session 5: How Search Engines Work. Focusing Questions How do search engines work? Is one search engine better than another?
FOP: Multi-Screen Apps
Chapter 2: System Structures
Editing Your Website on SharePoint 2013
Lecture 13 RPM and its advantages.
5 Tips for Upgrading Reports to v 6.3
What’s changed in the Shibboleth 1.2 Origin
Inside a PMI Online Course
Planning a Group Policy Management and Implementation Strategy
Instructor Materials Chapter 5: Windows Installation
Presentation transcript:

IT Just Works ©2008 BigFix, Inc. Practical Guide to Relevance Ben Kus – 1/31/2008

©2008 BigFix, Inc. IT Just Works 2 Presentation Goal Explain Relevance Help Relevance beginners get started Help round out knowledge for more advanced users Explain some tools and resources Teach some tips/tricks Caution against some potential pitfalls October 15

©2008 BigFix, Inc. IT Just Works 3 About Relevance Origins of Relevance – Created in 1997 – We needed language that could describe computer issues – No other good languages available Design Goals – Query-only language – not allowed to change things – Powerful – be able to express very complicated expressions – Cross platform – language shouldn’t be OS dependent – Extensible – add new “inspectors” over time – Easy to read – should be readable by untrained users – Reasonable learning curve – easy things easy, hard things not too hard (make relevance author’s life as easy as possible) October 15

©2008 BigFix, Inc. IT Just Works 4 Compare Relevance to other Languages How does Relevance compare to other languages in terms of the design goals (Ben’s opinion): October 15 LanguageQuery only PowerfulCross Platform ExtensibleEasy to read Learning Curve VBScriptNoYesNoYesNoMedium JscriptNoYes NoMedium WMISortaNot reallyNoYes Easy PERLNoYes NoMedium C++NoYes NoHard.INFYesNoYesNoYesEasy RelevanceYes Easy

©2008 BigFix, Inc. IT Just Works 5 Relevance Attributes Relevance queries … – will not change your computers – will try to avoid causing network traffic (if at all possible) – can be “English-like” for easier reading – will generally try to find the most efficient way possible to get the information – will always try to be “safe” and “standard” BigFix spends a lot of time maintaining the Relevance language and inspectors to meet all these goals as much as possible October 15

©2008 BigFix, Inc. IT Just Works 6 Terminology Relevance – Language name Relevance Engine – Engine that processes relevance Inspectors – “objects” in the Relevance Language (“operating system”, “rpm”, “ram”, “time”, etc.) QnA (or “Fixlet Debugger”) – Tool to evaluate relevance Actionscript – BigFix action language (not Relevance) Fixlet – Relevance + Action + Description Property – Relevance query the agent returns October 15

©2008 BigFix, Inc. IT Just Works 7 The Many Uses of Relevance BigFix uses Relevance for many reasons: – Retrieve properties from agents – Used in Fixlets / Tasks – Used to define actions and constraints – Customize ClientUI – Used in Dashboards/Wizards (session relevance) – Basis of Custom Reports (session relevance) October 15

©2008 BigFix, Inc. IT Just Works 8 BigFix Inspectors Each Inspector is built by BigFix to make it easy for Relevance authors to get information There are many, many inspectors for all OSes – file, folder, registry, rpm, wmi, processor, ram, pkgmgr, time, string, metabase, running application, regapps, dacls, … Each inspector is programmed by BigFix to get information through whatever the best mechanism (mostly OS API calls) The size of the full inspector guides give a sense of the amount of inspectors: – Almost 400 pages for Windows – 200+ pages each for Linux, Solaris, HPUX, AIX, Mac BigFix Goal: – Continue to make more inspectors to make our customers have more flexibility and ease of use October 15

©2008 BigFix, Inc. IT Just Works 9 Where to begin? BigFix provides Relevance training courses – Company-specific classes available – Regional classes available Many people learn Relevance on their own One key to learning Relevance is the Fixlet Debugger – Try some basic queries Steal Relevance and modify it yourself! – From BigFix Fixlets, Properties, Forum posts, etc. October 15

©2008 BigFix, Inc. IT Just Works 10 Some Major Forms of Relevance 1. of – Q: size of file "c:\boot.ini" – Basic form of relevance 2. if (condition) then ("T") else ("F") – Q: if (exists file "c:\boot.ini) then (size of file "c:\boot.ini) else (0) – Good for analysis or retrieved properties 3. whose (condition of it) of – Q: size whose (it > 10) of file "c:\boot.ini" – Filters a list 4. (it) of of – Q: (it) of size of file "c:\boot.ini" – Allows for singular treatment of items in a list

©2008 BigFix, Inc. IT Just Works 11 Example Fixlet Scenario (Example taken directly from forum post) Problem: Computers need to have folder “C:\Logs” Need to create a custom Fixlet – Relevance: check if folder exists – Action: create folder Process: – First, need to find Relevance / Actionscript (look at other Fixlets, experiment, ask on forum, …) – Verify with Fixlet Debugger – Create custom Fixlet and test October 15

©2008 BigFix, Inc. IT Just Works 12 Example Fixlet Scenario – Couple notes… Because we were detecting a specific condition and we needed to change something, we used a Fixlet (or Task) Fixlet relevance must evaluate to “True” or “False” – errors are equal to “False” for Fixlets Action status is determined by the relevance for Fixlets – Fixlets must start as “True” and after the action change to “False” for the status to change to “Fixed” If the relevance is still “True”, it will be “Failed” – Tasks will return “Completed” if the action ran all the lines October 15

©2008 BigFix, Inc. IT Just Works 13 Example Property Scenario Problem: Need to find the version of the WMI Tools – Look through Fixlet relevance – Use the “inspector search engine” – Use the Fixlet Debugger Process: – Need to find the relevance – Refine the relevance using the Fixlet Debugger – Create a custom property in BigFix October 15

©2008 BigFix, Inc. IT Just Works 14 Fixlet Debugger The Fixlet Debugger is the most useful tool for a Relevance Author There are multiple modes for Fixlet Debugger: – QnA Mode – Q:/A: format that is simple and easy – Single Clause Mode – Helps read large Relevance queries – Graphical Breakdown Mode – Graphical representation of the Relevance query (very useful for debugging) – Action mode – Test actions (new functionality in Alpha) Make sure your version number matches your agent version number Pay attention to “Evaluation Times” to make sure no queries run too long (2ms is short.. 1 sec is very long) October 15

©2008 BigFix, Inc. IT Just Works 15 Relevance Building Tools Fixlet Debugger – – Very useful for testing Relevance/Actionscript Inspector Search Engine – – Great way to search for Relevance Inspectors – Much easier to use than the full PDF “Inspector Guides” BigFix Forum – – Post your Relevance questions October 15

©2008 BigFix, Inc. IT Just Works 16 Relevance Building Tools (more…) More Guides / Quick References – Action Guide Examples – Easy way to get acquainted with actionscript Relevance Error Messages – Help understand those confusing error messages Custom Authoring Training Guide – Good place to start if you don’t know any Relevance Inspector Guides – All inspectors listed for all supported OSes – Useful for looking at lots of bits and pieces of relevance October 15

©2008 BigFix, Inc. IT Just Works 17 What to worry about? Relevance is designed to be safe, but you can still cause issues if you aren’t careful: – Relevance that runs too long Always check evaluation times Be careful with WMI – Relevance that iterates over too many files Avoid causing too much disk IO –Descendants of folder, lines of file, etc. – Relevance that causes undesired side-effects Be careful with any query that might cause AD traffic –Domain users, security permissions, etc. October 15

©2008 BigFix, Inc. IT Just Works 18 What to do when stuck? Find ways to get the information outside of BigFix – Is there a file with the info? – Is it in the registry? – Will the WMI help? – Is there an application to run to get the info? Once you know how to find the information, getting the relevance right is usually the easier part The forum is your friend! October 15

IT Just Works ©2008 BigFix, Inc. Questions? October 15