I'm used Zabbix 5.2.4 since aprroximately one and a half month.
After yum update now I have 5.2.6.
My Problem is that I tried several ways to filter a REST Webpage. For testing reason I activated the Apache server status from Zabbix.
The Webpage ist https://xxx.xxx.xxx.xxx/server-status?auto
I got the following Web Page which is shortened:
127.0.0.1
ServerVersion: Apache/2.4.37 (centos) OpenSSL/1.1.1g mod_fcgid/2.3.9
ServerMPM: event
Server Built: Nov 4 2020 03:20:37
CurrentTime: Friday, 23-Apr-2021 11:45:17 CEST
RestartTime: Friday, 16-Apr-2021 14:19:31 CEST
ParentServerConfigGeneration: 2
ParentServerMPMGeneration: 1
ServerUptimeSeconds: 595546
ServerUptime: 6 days 21 hours 25 minutes 46 seconds
Load1: 0.07
Load5: 0.10
Load15: 0.09
Total Accesses: 111685
Total kBytes: 1985181
Total Duration: 12072383
CPUUser: 226.48
CPUSystem: 238.27
CPUChildrenUser: 44.16
CPUChildrenSystem: 55.01
CPULoad: .0946896
My goal is to filter for example Total Accesses its value, here 111685, and do a trigger if the value is greater than, then it should be a Problem status. If it is successful then "CPULoad" will be next. I think it will be the same item config, right?
At regex101.com the Regex ^Total Accesses: (\d+)$ was successfull. But its looks like this
I tried this via HTTP Agent, but it doesn't work. If I click the "Test" button in Item Config and then "Get value and Test" in the popup Window it is shown the whole text. Not only "Total Accesses: 111685".
Note that I do not have the Zabbix Agent in other hosts, because I will not be able to install the agent on all Servers.
Please help me how to configure an Item. If my config details are needed I can provide it.
with best regards
In many cases also links are added..
"If a master item is deleted, so are all its dependent items."
Comment