If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Is there any way to deny autoregistration for specific hostnames?
Example: if hostname contains "desktop" deny registration.
for zabbix server 4.4 or 5
In Action conditions add "Host name does not contain desktop". Make sure you use AND in the Type of calculation or write a custom expression to match whatever you have there already AND "Host name does not contain desktop".
One condition "Host name does not Contain Evolu" should be enough for your case.
Condition is not a regular expression as you have specified B, C and D.
does anyone else have any tips for this problem?
autoregistration -> action
1 condition: ok
2 or more conditions: all are ignored
As we have hosts that we do not have access to and will no longer monitor, I would like to keep the self-registration on zabbix but ignoring these hosts
I would like to ignore the hosts self-registration that contains the words from the list above.
But when I activate the rule, everyone is registered including those I want to ignore.
Details:
** 1 Rule with more than one word
1) Type of calculation:
AND, OR, AND / OR
Status: register all, ignore list
** 1 separate rule for each word
Status: register all, ignore list
** 1 single rule with only one word:
Status: ignore OK / Rule applied
With this rule any machine will autoregister...
-> Should be "A and B and C and D"
Then it will register machines that contain "microca" and do not contain any other of the listed strings.
Thank you for your help.
The problem was just doing the following:
1) Port 10051 closed on the Firewall (to block agents)
2) Template Unlink and Clear on Hosts
3) Exclude Hosts
4) Recreated the conditions in Autoregistration -> Actions
5) Reboot Server
6) After Reboot Discovery Hosts Check (No new host)
7) Zabbix Queue check (no hosts excluded)
8) Open port 10051 on the Firewall.
Status:
Hosts that contain one of the terms defined in "conditions": Are ignored
Other Hosts: Are registered
Comment