View Full Version : 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:
# 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.
is zabbix compiled with snmp support ?
which exact zabbix version ?
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.
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 ?
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?
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
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.