Ad Widget

Collapse

wmi discovery or item rule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rjurek
    Junior Member
    • Dec 2014
    • 15

    #1

    wmi discovery or item rule

    I am trying to get the status of IIS application pools and I have tried several different ways to gather the status. Has anyone do this before or can give me some hits. The code below gives me unsupported with "Cannot obtain WMI information". I can retrieve the data with the same inputs in a powershell script.

    wmi.get[root/MicrosoftIISv2,SELECT * FROM IIsApplicationPools]

    Any help would be grateful.

    Ross
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by rjurek
    I am trying to get the status of IIS application pools and I have tried several different ways to gather the status. Has anyone do this before or can give me some hits. The code below gives me unsupported with "Cannot obtain WMI information". I can retrieve the data with the same inputs in a powershell script.

    wmi.get[root/MicrosoftIISv2,SELECT * FROM IIsApplicationPools]

    Any help would be grateful.

    Ross
    what zabbix version you have ?
    i can see an open bug on this


    fixed for zabbix 3.0

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Will not the query that is about to be executed will result in multiple objects?
      With the key of wmi.get[] at the current time, I think that I was able to acquire only one value.

      ZBXNEXT-2945
      Retrieval of multiple WMI values in single wmi.get[] query

      ZBXNEXT-2459
      Extend wmi.get functionality to query properties of type array

      Comment

      Working...