Ad Widget

Collapse

Zabbix discovery actions not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • catchvjay
    Junior Member
    • May 2013
    • 12

    #1

    Zabbix discovery actions not working

    Hi Friends,

    I have created two separate discovery rules for two different VLAN servers. Discover rules are checking for ip range and active zabbix agent on the client.
    Inside action, I have created actions for these two discovery rules.

    Action conditions are as below :

    Discovery rule = "Local network"
    Received value = "Linux"
    Uptime/Downtime >= "3600"
    Discovery status = "Up"
    Service type = "Zabbix agent"

    Operations :

    Add to host groups: Common VLAN
    Link to templates: Template OS Linux

    Same way other action for second VLAN.

    Discovery rules are working and hosts which are matching ip range and running zabbix agents are getting discovered but actions are not getting applied. Discovered hosts are not getting added inside zabbix for monitoring.

    How can we troubleshoot this? Inside logs i am seeing two discovered hosts related errors.

    4361:20130617:121011.723 cannot send list of active checks to [10.153.81.196]: host [a] not found
    4361:20130617:121015.701 cannot send list of active checks to [10.153.81.195]: host [b] not found
    4360:20130617:121211.873 cannot send list of active checks to [10.153.81.196]: host [a] not found
    4360:20130617:121215.830 cannot send list of active checks to [10.153.81.195]: host [b] not found


    Regards,
    Vijay
    Last edited by catchvjay; 17-06-2013, 18:21.
  • catchvjay
    Junior Member
    • May 2013
    • 12

    #2
    After narrowing down the conditions put in i found that if i remove "Add to Host Group" entry it works. As soon as I add "Add to host Group" actions are not getting applied. Does anyone have idea why it is behaving like this?

    Regards,
    Vijay

    Comment

    • mattc
      Junior Member
      • Jun 2013
      • 11

      #3
      Originally posted by catchvjay
      Hi Friends,

      Discovered hosts are not getting added inside zabbix for monitoring.

      Regards,
      Vijay
      Discovered hosts with agents only get monitored with the "auto registration" action (not a discovery rule)

      https://www.zabbix.com/wiki/howto/config/autoregister?s[]=auto&s[]=registration

      regards
      -Matt

      Comment

      • catchvjay
        Junior Member
        • May 2013
        • 12

        #4
        Thanks for pointing out. Do you know why they are continuing with discovery rules ? I have added autoregistration rule and it is working.

        Regards,
        Vijay

        Comment

        • fpaternot
          Member
          Zabbix Certified Specialist
          • Feb 2013
          • 52

          #5
          Because network discovery is mostly/usually for things other than zabbix agent.

          But zabbix agent can work too, it depends highly on the environment.

          Comment

          Working...