Ad Widget

Collapse

Cannot send request: wrong discovery rule type.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ActiveAgent
    Member
    • Oct 2021
    • 41

    #1

    Cannot send request: wrong discovery rule type.

    Dear Zabbix Community,

    I just updated my Zabbix server and proxy to the latest stable version 6.0 and tried to use the discovery function on one of my existing client. The error I always get is "Cannot send request: wrong discovery rule type."
    Click image for larger version

Name:	firefox_7ZyTwsHH3l.png
Views:	3597
Size:	80.0 KB
ID:	442972

    What I did already without success:
    - I tried to delete the host and create it anew
    - I imported the latest templates from the github-Page (https://github.com/zabbix/zabbix/tre...r/templates/os)
    - I set the agent to passive checks and linked the normal passive check template to it. It's getting data on most of the items
    - I set the host back to active check and linked the normal active check template. It's getting data on most of the items
    - I used agent 1 and agent 2 with almost the same config file on the same machine, connection to the same proxy and server
    - In between every change I restarted the proxy
    - as in this post (https://support.zabbix.com/browse/ZBX-18901) and this post (https://www.zabbix.com/forum/zabbix-...very-rule-type) mentioned, I made sure not to execute it on "depended items"

    I don“t know what else to do

    thanks for your help in advance!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    If item type is "Zabbix agent (active)" you just need to wait until interval is reached. You cannot "check now" them. Point is, that responsibility of running active items is given to agent and server/proxy only accept collected data. You cannot "check now" items which are not collected by server/proxy.

    With "dependent item" you have to "check now" that item, on which this discovery is depending on... in this case..."Network interfaces WMI get" is you item, what you need to refresh. When new data comes in, you discovery is rerun.

    Comment

    • ActiveAgent
      Member
      • Oct 2021
      • 41

      #3
      Thanks a lot cyber!

      That made it all a lot clearer to me

      So I only have to wait until the items are collected/created from the agent itself, right?

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        In a normal situation, yes...
        If it seems too long to wait, just shorten the interval to some minutes and wait until first run appears, then change back to longer interval.

        Comment

        Working...