Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Fetch the correct WMI instance

  • Fetch the correct WMI instance

    Posted by Shagma on January 26, 2011 at 21:33

    Hi!

    In agent I have:
    module_begin
    module_name ExchDBCacheHit(%)
    module_type generic_data
    module_wmiquery select * from Win32_PerfFormattedData_ESE_MSExchangeDatabase
    module_wmicolumn DatabaseCachePercentHit
    module_description Shows the percentage of database file page requests that were fulfilled by the database cache without causing a file operation
    module_end

    But there are two instances, one called Information Store and the other msexchangerepl. How do i get the DatabaseCachePercentHit for the correct instance ie. Information Store and not msexchangerepl?

    luismi replied 14 years ago 2 Members · 1 Reply
  • 1 Reply
  • luismi

    Member
    February 6, 2011 at 19:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Shagma,

    Can you try this way:

    module_begin
    module_name ExchDBCacheHit(%)
    module_type generic_data
    module_wmiquery select DatabaseCachePercentHit from Win32_PerfFormattedData_ESE_MSExchangeDatabase
    module_wmicolumn DatabaseCachePercentHit
    module_description Shows the percentage of database file page requests that were fulfilled by the database cache without causing a file operation
    module_end
    

    Cheers.