Tuesday, March 24, 2009 10:15 AM
StandaJ
Výpis z databáze znalostí (MOM 2005)
Nedávno jsem potřeboval vypsat všechny záznamy z databáze znalostí MOM 2005. Prohlížel jsem způsob záznamu v databázi OnePoint a nakonec jsem objevil i funkční hotový skript vbs (DumpMomKb).
'----------------------------------------------------------------------------------
' DumpMomKb.vbs www.huntland.co.uk 19-03-02
' Dumps the Mom knowledgebase for a given rule or group to html file(s)
' Adjust the value of vTimeout below in seconds if dumping large numbers of KB
' articles. Typical values are 30s for <20 articles, 800+ for 6,000 articles
' Functions: ParseName(vRuleName), SafetyNet(vActivity), Cancelled(vResult)
'----------------------------------------------------------------------------------
Na stránkách www.huntland.co.uk naleznete řadu dalších užitečných příkladů pro stále ještě používaný MOM 2005:
- Advanced Enterprise Wide Consolidation
- Removing Unwanted Systems that Persist after agent de-install
- Using WMI Numerical Data Providers
- Setting and Using MOM State Variables
- Setting MOM Agents to Receive Traps
- MOM Database has insufficient allocated space
- Service Bounce Asynchronous Explained
- Monitoring Services in MOM
- Using Scripts to change the Alert Resolution State
- Grooming Operations and Timings
- Display OnePoint table sizes and activity
- Dump Company KnowledgeBase Articles
- Dump All Rules for a given Group
- Dump Enabled Rules for a given Computer
- How The Processing Rule Hierarchy Works
- Use MOM to ping routers, non agent servers etc
- Mass event rule creation using Imported Message Dlls
- Alert Statistics (7 Scripts)
- Event Statistics (5 Scripts)
- Sampled Numeric Data Statistics (3 Scripts)
- Delete Events for a particular machine
- Delete Sampled Numeric Data for a particular machine
- Create a Custom Task to Launch a WMI Script
Uvedené skripty mohou pomoci i při aktualizaci dohledového systému na SCOM 2007 SP1 / R2 a převodu existujících pravidel a definic.
Značky Technorati:
Admin,
MOM,
VBS,
Tool