Ad Widget

Collapse

Discovery issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ale123
    Junior Member
    • Feb 2009
    • 10

    #1

    Discovery issue

    Hi all
    I'm having some trouble with discovery function in Zabbix 1.6.

    I'm unable to get host discovered.

    I've created a rule like this:

    Name: NET1
    Discovery by proxy: (no proxy)
    IP range: 192.168.1.1-255
    Delay (seconds): 30
    Checks: SNMPv2 agent "mycommunity":"sysDescr"
    Status active

    but host are never being discovered.
    If i'll test the snmp check from zabbix server, it works:
    Code:
    # snmpwalk -v 2c -c mycommunity 192.168.1.14 sysDescr
    SNMPv2-MIB::sysDescr.0 = STRING: Linux host14 2.6.18-6-amd64 #1 SMP Thu Dec 25 21:08:54 UTC 2008 x86_64
    If i'll create a discovery rule with HTTP all is working fine, but I don't want to check via HTTP.

    How can I solve this issue?
    Thank you.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    is zabbix compiled with snmp support ?
    which exact zabbix version ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • ale123
      Junior Member
      • Feb 2009
      • 10

      #3
      Yes it is, and it's 1.6.6

      The first time, discovery works, but If i edit the rule, it stop working.
      I have to delete ALL rules and recreate them to have discovery working again.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        how do you determine it is not working ?
        so after adding a rule it works, then editing it stops working ?

        when it stops working, what time does nextcheck for that rule (drules table) have ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • ale123
          Junior Member
          • Feb 2009
          • 10

          #5
          I know that is not working bacause if I edit the check type, changes are not propagated even after 1 hours.

          In the discovery result page, old setting are visibile and not the new setting.

          For example, if I create an HTTP discovery rule, i'll run it and after some discovery i'll change the check to snmp, in the discovery result page is still visible HTTP.

          Next question: i've created a new action that create an host and it will add it to a group. How can I force the action to be run again? I've manually deleted an host that was created by the action and I want to re-created it automatically. How can I do this?

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            Originally posted by ale123
            I know that is not working bacause if I edit the check type, changes are not propagated even after 1 hours.

            In the discovery result page, old setting are visibile and not the new setting.

            For example, if I create an HTTP discovery rule, i'll run it and after some discovery i'll change the check to snmp, in the discovery result page is still visible HTTP.
            i suspect it's just showing the old results - otherwise previously discovered hosts would simply disappear.
            to really test whether it's working you would need some host that does not respond to http (and thus is not discovered by that check), but which responds to snmp.
            the test would be whether this host is discovered later after changing http -> snmp

            Originally posted by ale123
            Next question: i've created a new action that create an host and it will add it to a group. How can I force the action to be run again? I've manually deleted an host that was created by the action and I want to re-created it automatically. How can I do this?
            it would be better to separate topics in different threads. i suspect you might need to bring the host down, allow zabbix to discover that it is down, then bring it up again.
            Zabbix 3.0 Network Monitoring book

            Comment

            Working...