[ZBXNEXT-989] Parse monitoring values from webpages Created: 2011 Oct 06 Updated: 2015 Sep 15 Resolved: 2013 May 07 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Major |
Reporter: | Marc Schoechlin | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 7 |
Labels: | flexibility, webmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Web applications often provide monitoring information via HTTP. For example, if you call https://user:[email protected]/admin/monitoring.jsp you get key/value pairs like this: — Currently you have to write a script which is called by a item to parse the resulting page and add the value to zabbix. It would be very helpful to have a zabbix-internal item-parameter which does this job - for example: Definition: host - hostname (if empty, use default) Return value: Examples: I think that Regards |
Comments |
Comment by Marc Schoechlin [ 2011 Nov 23 ] |
Enhancement: web.page.parse.regexp_replace[<hostname>,<path>,<port>,<protocol>,<regex>,<length>] host - hostname (if empty, use default) Example: web.page.parse.regexp_replace[www.foo.bar,/monitor.jsp,80,http,"app.status.productload = (OK|INFO) : (\d+) products loaded in (\d+) seconds",$1 - $2 products in $3 sec,4] |
Comment by Marc Schoechlin [ 2013 Feb 17 ] |
We use the following tool to extend zabbix as a workaround for the missing functionality: |
Comment by Andris Zeila [ 2013 May 07 ] |
This is solved in |
Comment by Marc Schoechlin [ 2013 May 08 ] |
Thats great, Compareable to this shell command, curl -H "Host: foo.bar.de" http://somehost.de/fooooooooooooooooooooooooooooooooooooooooooo" This enables zabbix also to fetch values from hosts behind a loadbalancer. |
Comment by richlv [ 2013 May 08 ] |
that's a different, unrelated feature request (and there's a zbxnext for it, too...) |
Comment by Marc Schoechlin [ 2015 Sep 15 ] |
http_extend moved to a new main repo: https://github.com/breuninger-ecom/http_extend |