I am doing an initial implementation of Zabbix 1.6.5 (Server on SUSE, agents on Red Hat, SUSE, Ubuntu, CentOS, Windows) and I cannot even make the most basic discovery rule and associated action work. I believe I have followed the documentation to the letter and I just can't get it to work (I also am unclear on how to go about debugging/troubleshooting the issue for myself). The discovery rule seems to be firing because if I look at Monitoring|Discovery I find all the servers I would expect with up/downtime and columns for all the checks (some green some red as appropriate), they are even in the right "group." The problem is that the hosts never seem to get added to the "Inventory|Hosts," show up in graphs or maps, or, in general seem like they are "really" known by zabbix. I think this is because the action doesn't seem to fire -- template not applied, no email message, etc. So, if someone could please give me some pointers I would greatly appreciate it.
Discovery Rule:
Name: Data Center -- Database
Discovery by proxy: (no proxy)
IP range: 10.1.5.1-255
Delay (seconds): 600
Checks:
ICMP Ping
SNMPv2 agent "blah":""
SSH
ZABBIX agent "system.uname"
Status: Active
Action:
Name: Add db server to monitoring
Event Source: Discovery
Default Subject: {TRIGGERNAME} : {STATUS}
Default Message: {HOST.CONN} added to monitoring
Action Conditions:
Type: (A) and (B) and (C)
Conditions:
(A) Host ip = "10.1.5.1-255"
(B) Discovery status = "Discover" (also tried status = "up")
(C) Uptime/Downtime >= "600"
Action Operations:
Send message to Group "Zabbix administrators"
Add host
Add to group "DB Group"
thanx... and I am SURE i am missing something really simple (which is why this is particularly frustrating
)
Discovery Rule:
Name: Data Center -- Database
Discovery by proxy: (no proxy)
IP range: 10.1.5.1-255
Delay (seconds): 600
Checks:
ICMP Ping
SNMPv2 agent "blah":""
SSH
ZABBIX agent "system.uname"
Status: Active
Action:
Name: Add db server to monitoring
Event Source: Discovery
Default Subject: {TRIGGERNAME} : {STATUS}
Default Message: {HOST.CONN} added to monitoring
Action Conditions:
Type: (A) and (B) and (C)
Conditions:
(A) Host ip = "10.1.5.1-255"
(B) Discovery status = "Discover" (also tried status = "up")
(C) Uptime/Downtime >= "600"
Action Operations:
Send message to Group "Zabbix administrators"
Add host
Add to group "DB Group"
thanx... and I am SURE i am missing something really simple (which is why this is particularly frustrating
)
Comment