Výpis z databáze znalostí (MOM 2005)

Nedávno jsem potreboval vypsat všechny záznamy z databáze znalostí MOM 2005. Prohlížel jsem zpusob záznamu v databázi OnePoint a nakonec jsem objevil i funkcní 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 radu dalších užitecných príkladu pro stále ješte 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 pri aktualizaci dohledového systému na SCOM 2007 SP1 / R2 a prevodu existujících pravidel a definic.

Znacky Technorati: Admin,MOM,VBS,Tool