Hello,
our Zabbix Server/Proxy version is 2.4.6.
I want to use a Discovery Rule for our active public IPs.
The rules configuration:
Name: IP Discovery
Discovery by proxy: true
Delay(in sec): 3600
Checks:
- HTTP / 80
- HTTPS / 443
I created 3 Actions:
1. Add IP
Conditions (AND):
- Discovery rule = IP Discovery
- Discovery status = Up
Operations:
- Add host
- Add to host groups: <groups>
- Enable host
2. Add HTTP Checks
Conditions (AND):
- Discovery rule = IP Discovery
- Discovery status = UP
- Service type <> HTTPS
- Service type = HTTP
Operations:
- Link to template HTTP
3. Add HTTPS Checks
Conditions (AND):
- Discovery rule = IP Discovery
- Discovery status = UP
- Service type = HTTPS
Operations:
- Link to template HTTPS
So here is my problem:
If the discovery detect the HTTP or HTTPS service only, the correct action is implemented ("Add IP" and "Add HTTP(S)" Checks).
If the discovery detect both HTTP and HTTPS services, only the "Add IP" and "Add HTTP" rule will apply.
That's very confusing. I thought my second rule (HTTP) only works if HTTP was discovered and not HTTPS.
I tried several conditions but nothing worked. Maybe I'm doing something wrong.
Anyone has a similar setup or an idea?
Thanks for your time and thoughts.
Regars
our Zabbix Server/Proxy version is 2.4.6.
I want to use a Discovery Rule for our active public IPs.
The rules configuration:
Name: IP Discovery
Discovery by proxy: true
Delay(in sec): 3600
Checks:
- HTTP / 80
- HTTPS / 443
I created 3 Actions:
1. Add IP
Conditions (AND):
- Discovery rule = IP Discovery
- Discovery status = Up
Operations:
- Add host
- Add to host groups: <groups>
- Enable host
2. Add HTTP Checks
Conditions (AND):
- Discovery rule = IP Discovery
- Discovery status = UP
- Service type <> HTTPS
- Service type = HTTP
Operations:
- Link to template HTTP
3. Add HTTPS Checks
Conditions (AND):
- Discovery rule = IP Discovery
- Discovery status = UP
- Service type = HTTPS
Operations:
- Link to template HTTPS
So here is my problem:
If the discovery detect the HTTP or HTTPS service only, the correct action is implemented ("Add IP" and "Add HTTP(S)" Checks).
If the discovery detect both HTTP and HTTPS services, only the "Add IP" and "Add HTTP" rule will apply.
That's very confusing. I thought my second rule (HTTP) only works if HTTP was discovered and not HTTPS.
I tried several conditions but nothing worked. Maybe I'm doing something wrong.
Anyone has a similar setup or an idea?
Thanks for your time and thoughts.
Regars


Comment