[ZBXNEXT-397] web scenarios running on zabbix proxies Created: 2010 Jun 03  Updated: 2014 Jun 30  Resolved: 2013 Apr 15

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Proxy (P)
Affects Version/s: None
Fix Version/s: 2.0.0

Type: New Feature Request Priority: Major
Reporter: Aigars Assignee: Unassigned
Resolution: Fixed Votes: 15
Labels: webmonitoring
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-2699 Web scenarios for a 'proxied' host ar... Closed

 Description   

It will be greate if "Zabbix proxy" can run web scenarios like Zabbix master server and we can centraly manage/report data from all zabbix proxy servers! Right now only way to monitor web pages in different subnets are nodes or standalone servers.



 Comments   
Comment by Tom Duijf (xs-) [ 2010 Oct 25 ]

Any progress on this one?

Excerpt from my 'duplicate' issue;

---------8<----------------
Logically, i'd say that if a host is configured to be monitored by a proxy, all tests should be performed by / through this proxy (LDAP, simple, agent, snmp, web, etc).

The reason i am filing this as a bug: proxies can be compiled with CURL support (mine are), but this is not used as far as i can see. I checked the documentation on web scenarios and proxies but cannot find anything which confirms or rejects this assumption.
---------8<----------------
As most of the configuration regarding items is already synced between node and proxy, i assume that most/all information to do this, is already available?

Comment by dimir [ 2012 Mar 02 ]

(1) In src/libs/zbxdbhigh/proxy.c:398 in function get_proxy_monitored_httptests() we request httptestids of hosts in "monitored" and "not monitored" state.

<Sasha> RESOLVED in r25773.

<dimir> CLOSED

Comment by Alexey Fukalov [ 2012 Mar 08 ]

(2) [GUI]
Please review my changes in rev. 25893.

<Sasha> CLOSED

Comment by Oleksii Zagorskyi [ 2012 Mar 10 ]

(3) [documentation]
At least here: http://www.zabbix.com/documentation/2.0/manual/distributed_monitoring/proxies
Built-in web monitoring No
Btw, LLD could be included in that table.

<Sasha> Updated documentation:
http://www.zabbix.com/documentation/2.0/manual/distributed_monitoring/proxies?&#overview
http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200#web_monitoring_by_zabbix_proxies

<zalex> I like it. CLOSED

Comment by dimir [ 2012 Mar 12 ]

(4) [GUI]
"Last check" field in "Monitoring" -> "Web" is always "Never" even for processed web scenarios.

<dimir> My bad, my db wasn't up-to-date. CLOSED

Comment by Alexander Vladishev [ 2012 Mar 12 ]

(5) [GUI] Your changes in r25963:25965 are successfully reviewed. Please review my changes in r25973.

<dimir> CLOSED

Comment by dimir [ 2012 Mar 12 ]

(6) [Proxy] Web scenario macros are not properly handled in steps when processed by proxy. Generated post string looks messy.

<Sasha> RESOLVED in r25999

<dimir> Great! Please review my small changes in r26007

<Sasha> CLOSED

Comment by dimir [ 2012 Mar 13 ]

Successfully tested.

Comment by Alexander Vladishev [ 2012 Mar 13 ]

Available in version pre-2.0.0rc1, revision 26022.

Comment by Oleksii Zagorskyi [ 2012 Mar 29 ]

Upgrade script "hosts.sql" doesn't increase "nextid" for items in the "ids" table after creating items web.test.error[...] for every web scenario.
In the result it's not possible to create new items in the frontend: Duplicate entry '26396' for key 'PRIMARY'
REOPENED

<zalex> I don't know, seems "upgrade" script performs some check with "ids" table in a function increaseid() and described above is not a problem. It's up to you, feel free to close if you like.

<Sasha> RESOLVED in dev branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-397

<dimir> CLOSED, feel free to merge

<Sasha> MERGED to trunk in version pre-2.0.0rc3, revision 26473.

Comment by Oleksii Zagorskyi [ 2013 Apr 15 ]

I've just added small piece of info about new items with key web.test.error[<a scenario name>] here:
https://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200#web_monitoring_by_zabbix_proxies

Comment by Oleksii Zagorskyi [ 2013 Apr 16 ]

Wrong upgrade script from this development caused a serious problem, described in ZBX-6490

Comment by Sean Boran [ 2014 Jun 30 ]

I'm using 2.2.2 and can do webchecks via http proxy(this was added in 2.2 I believe?).
However, I would like to do web checks via a "zabbix proxy", not a http proxy.
i.e. a group of monitored hosts have their zabbix agent items measured via a zabbix proxy, and the idea would be to monitor the web interfaces also via that same zabbix proxy.

Is this somehow possible?

Comment by richlv [ 2014 Jun 30 ]

please use zabbix irc, forums and other channels for community support. see https://www.zabbix.org/wiki/Getting_help for more detail.

Generated at Thu Mar 28 20:21:38 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.