Hello,
I am trying to solve the following problem for over a week now.
We setup a Zabbix Server 2.0.1 to monitor different customer networks which are attached via VPN. I want to spend as little time as possible with adding hosts, sorting into groups and linking templates.
So I wanted to use Discovery und Discovery Actions. But I really cant get it to work. I have one Discovery rule for every customer. I checks their subnet for hosts by checking:
The "Monitoring -> Discovery" view looks very good after a few hours. Every Host was found with the right Checks.
So now I want to use actions on these discoverys. To simply it for you I summary it and dont describe every rule.
I have an action for every device found. They get linked with a simple ping check. That works. Every device gets linked to that template.
After that I have a rule for every Windows Server. It checks if the host is up and checks if port 3389 is open. If thats the case, the following should happen. But it never does. I dont know why and I dont know where to look for errors.
The same is here. It checks for SSH and should link the template. But it never does.
What have I done wrong, or is there a log for Discovery Actions?!
I am trying to solve the following problem for over a week now.
We setup a Zabbix Server 2.0.1 to monitor different customer networks which are attached via VPN. I want to spend as little time as possible with adding hosts, sorting into groups and linking templates.
So I wanted to use Discovery und Discovery Actions. But I really cant get it to work. I have one Discovery rule for every customer. I checks their subnet for hosts by checking:
Code:
SSH (22,8800) TCP (1494) TCP (3389) TCP (10050) Zabbix agent "agent.ping" Zabbix agent "system.uname"
So now I want to use actions on these discoverys. To simply it for you I summary it and dont describe every rule.
I have an action for every device found. They get linked with a simple ping check. That works. Every device gets linked to that template.
Every Device
-
Discovery status = "Up"
-
Link to templates: Template ICMP Echo Request
-
Discovery status = "Up"
-
Link to templates: Template ICMP Echo Request
Windows Server
-
Discovery status = "Up"
Service port = "3389"
Service port = "10050"
-
Add to host groups: Windows servers
Remove from host groups: Discovered hosts
Link to templates: Template agentless Windows, Template ICMP Echo Request, Template OS Windows
-
Discovery status = "Up"
Service port = "3389"
Service port = "10050"
-
Add to host groups: Windows servers
Remove from host groups: Discovered hosts
Link to templates: Template agentless Windows, Template ICMP Echo Request, Template OS Windows
Linux Server
-
Auto discovery Linux servers
-
Discovery status = "Up"
Service port = "10050"
Service type = "SSH"
-
Add to host groups: Linux servers
Remove from host groups: Discovered hosts
Link to templates: Template ICMP Echo Request, Template OS Linux
-
Auto discovery Linux servers
-
Discovery status = "Up"
Service port = "10050"
Service type = "SSH"
-
Add to host groups: Linux servers
Remove from host groups: Discovered hosts
Link to templates: Template ICMP Echo Request, Template OS Linux
). Is your "Type of calculation" combo box set to "AND/OR"? That's what it should be set to for this action to work. If it already is, let me know and I'll brainstorm on this a bit more.
Comment