Commits
dimir authored 161ec00790c
....I..P.. [ZBX-5469] enabled possibility to use more than one application in proxy web monitoring for single host
[svn merge ^/branches/2.0 -c 29762]
Table "applications" has foreign key "hostid"-"name". When sending
application to proxy server was sending only hostid which resulted in
empty application name for every entry. So for 2 applications of same
host the foreign key would look the same:
12345-
12345-
which foreign key constraint would not allow to save.
The fix is to enable sending application name to proxy by adding
ZBX_PROXY flag to "applications"."name" field.
Before this fix:
- an error would occur when using more than one application in proxy
web monitoring for single host
After this fix:
- more than one application is supported when using proxy web
monitoring for single host