I have created couple of actions to auto-register a Linux server:
1. Name: Linux -> Host metadata like Linux -> Link to templates: Template OS Linux
2. Name: Stage-domain -> Host metadata like stage.domain -> Add to host groups: stage-domain
1. works fine, but number 2. does not, is that expected?
If so then do I have to merge 1. with 2. to make this working? I would prefer to avoid it because I plan to have many of these rules so simplification would be welcome plus standalone number 2 could work for any OS (not just Linux).
If it is expected to work then how to trace where the problem is?
# zabbix_get -s host1.stage.domain -k "system.uname"
Linux host1.stage.domain 3.10.0-514.21.2.el7.x86_64 #1 SMP Sun May 28 17:08:21 EDT 2017 x86_64
agent config contains:
HostMetadataItem=system.uname
1. Name: Linux -> Host metadata like Linux -> Link to templates: Template OS Linux
2. Name: Stage-domain -> Host metadata like stage.domain -> Add to host groups: stage-domain
1. works fine, but number 2. does not, is that expected?
If so then do I have to merge 1. with 2. to make this working? I would prefer to avoid it because I plan to have many of these rules so simplification would be welcome plus standalone number 2 could work for any OS (not just Linux).
If it is expected to work then how to trace where the problem is?
# zabbix_get -s host1.stage.domain -k "system.uname"
Linux host1.stage.domain 3.10.0-514.21.2.el7.x86_64 #1 SMP Sun May 28 17:08:21 EDT 2017 x86_64
agent config contains:
HostMetadataItem=system.uname