Hello
I'm using Zabbix 1.8.7 on SLED 11 SP1.
I have a "Discovery rule" (which I use to connect to the host templates windows/linux)
I have defined two actions for Discovery rule, one for Linux desktop auto-configure (Add Computers with Linux) and another for Windows desktop auto-configure (Add to Windows computers).
Both actions seem to have confict between them (probably poorly defined)
When you find a host with Windows (which was already loaded and configured), it unconfigures Zabbix, removes items and re-configure (again links), I lose the values of the items (zabbix generates new itemid)
If you disable the action "Add Windows computers" all hosts that have windows, as if they are bonded linux host. ('Computers with Linux' is valid for these host, and it should not be)
This behavior (removing items) does not happen with linux host
This behavior indicates that they are ill-defined, but that is not what is wrong ..
That these actions are wrong?
Thanks for getting here. And if ... use google translate back: (
Under settings leave rules and actions.
I'm using Zabbix 1.8.7 on SLED 11 SP1.
I have a "Discovery rule" (which I use to connect to the host templates windows/linux)
I have defined two actions for Discovery rule, one for Linux desktop auto-configure (Add Computers with Linux) and another for Windows desktop auto-configure (Add to Windows computers).
Both actions seem to have confict between them (probably poorly defined)
When you find a host with Windows (which was already loaded and configured), it unconfigures Zabbix, removes items and re-configure (again links), I lose the values of the items (zabbix generates new itemid)
If you disable the action "Add Windows computers" all hosts that have windows, as if they are bonded linux host. ('Computers with Linux' is valid for these host, and it should not be)
This behavior (removing items) does not happen with linux host
This behavior indicates that they are ill-defined, but that is not what is wrong ..
That these actions are wrong?
Thanks for getting here. And if ... use google translate back: (
Under settings leave rules and actions.
Code:
Discovery rule
Delay (seconds) = 14400
Checks:
HTTP
ICMP Ping
SNMPv3 agent "sysDescr.0"
SSH
Zabbix agent "system.hostname"
Zabbix agent "system.uname"
Device uniqueness criteria = Zabbix agent "system.hostname"
Action name = Add Computers with Linux
Conditions (A) and (B) and (C or D)
(A) Discovery status = "Up"
(B) Service type = "Zabbix agent"
(C) Received value like "Linux"
(D) Received value <> "zabbixsvr"
Action operations
Add host
Enable host
Add to group "Linux machines"
Delete from group "Windows computers"
Link to template "Template_Desktop_Linux_light"
Unlink from template "Template_Desktop_Windows_light"
Action name = Add to Windows computers
Conditions (A) and (B) and (C)
(A) Discovery status = "Up"
(B) Service type = "Zabbix agent"
(C) Received value like "Windows"
Action operations
Add host
Enable host
Delete from group "Computers with Linux"
Add to group "Windows computers"
Unlink from template "Template_Desktop_Linux_light"
Link to template "Template_Desktop_Windows_light"