[ZBX-4586] Incorrect application on cloned item Created: 2012 Jan 26 Updated: 2017 May 30 Resolved: 2012 Jan 31 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 1.8.10, 1.9.8 (beta) |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | applications, cloning, items | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | screenshot-1.jpg screenshot-2.jpg screenshot-3.jpg screenshot-4.jpg screenshot-5.jpg | ||||
Issue Links: |
|
Description |
– Posted by Kodai Terashima – I confirmed this issue. 1. open item configuration screen (specific item)
|
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 27 ] |
In the trunk such items are not displayed on Latest Data page at all. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 27 ] |
Fixed for 1.8 in /branches/dev/ RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 31 ] |
Added item's application validation to the Item.update and Item.create API methods. |
Comment by Alexander Vladishev [ 2012 Jan 31 ] |
Successfully tested! Please review my changes in r25102. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 31 ] |
Merged to 1.8 r25112. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 31 ] |
My mistake, it seems that cloning works correctly in the trunk, but I've added the same application validation I've implemented in 1.8. It's available in /branches/dev/ |
Comment by Alexander Vladishev [ 2012 Feb 01 ] |
(1) A 'host' field is not used <pavels> RESOLVED. |
Comment by Alexander Vladishev [ 2012 Feb 01 ] |
(2) class.citemgeneral.php:284 An error message violate coding guidelines. <pavels> RESOLVED. |
Comment by Alexander Vladishev [ 2012 Feb 01 ] |
(3) Errors, when creating new item with applications:
<pavels> RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 01 ] |
Merged to trunk r25140. CLOSED. |
[ZBX-4584] unsuccessful iconmap update claims it was "creating" Created: 2012 Jan 26 Updated: 2017 May 30 Resolved: 2012 Jan 26 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | iconmapping | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
splitting out (9) from class.ciconmap.php : public function update(array $iconMaps) update function claims creation was unsuccessful |
Comments |
Comment by Alexey Fukalov [ 2012 Jan 26 ] |
svn://svn.zabbix.com/trunk 25028 |
[ZBX-4577] Proxy does not synchronize: failed to update local proxy cofiguration copy Created: 2012 Jan 23 Updated: 2017 May 30 Resolved: 2012 Jan 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Java gateway (J) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alain Ganuchaud | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Redhat EL6.1 / Postgres 8.4.7 / Zabbix 1.9.8 |
Description |
Some servers are monitored only when monitoring is done through Master not proxies, it seems proxies do not have the right configuration. Below is the proxy log in debug 4: |
Comments |
Comment by Alexander Vladishev [ 2012 Jan 24 ] |
Related issue: |
Comment by Alexander Vladishev [ 2012 Jan 27 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4577-trunk. In version 1.8.х such error is eliminated. |
Comment by dimir [ 2012 Jan 31 ] |
Tested. Great performance improvement in the DBadd_condition_alloc() function! |
Comment by Alexander Vladishev [ 2012 Jan 31 ] |
Fixed in version pre-1.9.9, r25120. |
Comment by Chang [ 2013 Sep 27 ] |
really fixed it ? why does my zabbix_proxy has this error ? version:2.0.8 ... I retry to import the database , but it doesn't helpful. |
[ZBX-4574] ctemplate->unlink fails when targetids = null Created: 2012 Jan 23 Updated: 2017 May 30 Resolved: 2012 Mar 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Timo A. Hummel | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
When targetids in ctemplate->unlink is set to null, the generated SQL statement fails because the following statement is generated: SELECT DISTINCT g.graphid,g.name,g.flags,h.name as host FROM graphs g WHERE EXISTS (SELECT ggi.graphid FROM graphs_items ggi,items ii WHERE ggi.graphid=g.templateid AND ii.itemid=ggi.itemid AND (ii.hostid IN ('10002')) ) AND (g.flags IN ('0','1')) Because h is not included in all cases (=when targetids is null), the SQL statement fails. As I honestly have no idea what happens where and why due to no documentation, I have no idea how to fix that. For my bug reporting issues, I simply have set the following near line 2092: $sql_from = ' graphs g,hosts h'; |
Comments |
Comment by Timo A. Hummel [ 2012 Jan 23 ] |
The file is class.ctemplate.php |
Comment by Alexei Vladishev [ 2012 Feb 24 ] |
See also |
Comment by Alexey Fukalov [ 2012 Mar 14 ] |
Fixed in |
[ZBX-4570] Need to fix the following SQL query for the Mysql DB in the Report->Availability report Created: 2012 Jan 23 Updated: 2017 May 30 Resolved: 2012 Jan 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Need to fix the following SQL query "select count(e.*) AS cnt,MIN(e.clock) AS minn, MAX(e.clock) AS maxx FROM events e WHERE e.objectid=13025 AND e.object=0 AND clock>=1327057886 AND clock<=1327057886" for the Mysql DB in the Report->Availability report When executing under PostgreSQL DB it is working fine. |
Comments |
Comment by Igor Danoshaites (Inactive) [ 2012 Jan 23 ] |
When executing such SQL statement on MySQL DB appears the following error: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) AS cnt,MIN(e.clock) AS minn, MAX(e.clock) AS maxx FROM events e WHERE e.objec' at line 1 BUT when executing this SQL query under PostgreSQL DB all is fine: postgres=# select count(e.*) AS cnt,MIN(e.clock) AS minn, MAX(e.clock) AS maxx FROM events e WHERE e.objectid=13025 AND e.object=0 AND clock>=1327057886 AND clock<=1327057886 postgres-# ; |
Comment by Igor Danoshaites (Inactive) [ 2012 Jan 23 ] |
This problem appears for both report modes: "By host" and "By trigger template". |
Comment by Alexander Vladishev [ 2012 Jan 23 ] |
Broken in r24440 ( |
Comment by Alexander Vladishev [ 2012 Jan 23 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4570 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 24 ] |
(1) Please review my changes in r24992. If everything is ok - you can merge. <Sasha> CLOSED TESTED. |
Comment by Alexander Vladishev [ 2012 Jan 24 ] |
Fixed in version pre-1.9.9, revision 24995. |
[ZBX-4564] change Zabbix daemons priority on Linux Created: 2012 Jan 19 Updated: 2017 May 30 Resolved: 2012 Jan 26 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
All zabbix daemons start with priority "5" as hardcoded in the sources. Would be nice to remove this code, which allows to control priority at init scripts level. #ifdef HAVE_SYS_RESOURCE_SETPRIORITY |
Comments |
Comment by Alexei Vladishev [ 2012 Jan 19 ] |
I think we should remove this code as suggested. I am working on it. |
Comment by Alexei Vladishev [ 2012 Jan 24 ] |
Fixed in dev branch branches/dev/ <zalex> Agent and Server of dev branch tested. All is fine. Seems ready to code review and merge. |
Comment by Alexander Vladishev [ 2012 Jan 25 ] |
Great! Tested successfully! |
Comment by Alexei Vladishev [ 2012 Jan 26 ] |
Implemented in revision 25024. |
Comment by Oleksii Zagorskyi [ 2012 Jan 26 ] |
Note: Fixed in pre-1.8.11 r25022, pre-1.9.9 r25023 |
[ZBX-4558] The trigger is updated not correctly Created: 2012 Jan 17 Updated: 2017 May 30 Resolved: 2012 Feb 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
trunk, revision 24812 |
Attachments: | triggers.jpg |
Description |
I have template with item and trigger: ... and host with linked template. I change trigger name and expression: => {host:agent.ping.last(0)}Consequences:
See a screenshot. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 20 ] |
(1) If we change the trigger back, from host:agent.ping.last(0) to template:agent.ping.last(0) the templated triggers 'flag' and 'value_type' values are reset. RESOLVED. <Sasha> REOPENED
<pavels> RESOLVED. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 21 ] |
(2) There is no information message about removed trigger. Audit record too. <pavels> We've decided not to add audit records, but I've added the info messages. RESOLVED. <richlv> why audit records won't be added ? <pavels> I fear, that their current implementation may cause performance problems if a large amount of hosts is affected. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 22 ] |
(3) Please review my changes in r24944:24945 <pavels> Thnx, CLOSED. |
Comment by Alexander Vladishev [ 2012 Jan 22 ] |
(4) No audit records for operations Create and Update. <pavels> RESOLVED. <pavels> Thanks, everything OK. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 26 ] |
There was a conflict when updating to the latest trunk in r25030 class.ctrigger.php. Please review. <Sasha>
<pavels> RESOLVED. <Sasha> CLOSED Please review r25033. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 26 ] |
Merged to trunk r25039. CLOSED. |
Comment by Alexander Vladishev [ 2012 Feb 01 ] |
Reopened: See <pavels> The new bugs will be fixed in |
[ZBX-4555] 1.9.8 fails to compile on Solaris Created: 2012 Jan 16 Updated: 2017 May 30 Resolved: 2012 Jan 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | Lawrence | Assignee: | dimir |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Solaris |
Description |
Seems two files aren't compiling: I added |
Comments |
Comment by dimir [ 2012 Jan 17 ] |
Thanks for the report. We've discovered this problem recently in another issue and have fixed it there but it's not merged to trunk yet so we will move the fix here. |
Comment by dimir [ 2012 Jan 17 ] |
We decided to add special define ZBX_IS_UINT64_MAX_LEN for is_uint64_n() function instead of using INT_MAX. Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4555 . |
Comment by Alexander Vladishev [ 2012 Jan 18 ] |
Successfully tested! Please review my change in r24885 before merge. |
Comment by dimir [ 2012 Jan 19 ] |
Fixed in pre-1.9.9 r24893 . |
[ZBX-4538] Zabbix uses __autoload, which is deprecated and conflicts with other autoloaders Created: 2012 Jan 12 Updated: 2017 May 30 Resolved: 2012 Jan 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Trivial |
Reporter: | Timo A. Hummel | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | zabbix-spl-autoloader.diff |
Description |
When trying to use the Zabbix classes in another project which uses an autoloader, this fails because zabbix is overwriting any autoloaders by implementing __autoload. Since __autoload is deprecated, I refactored the autoloader to use spl_autoload_register. See the attached patch. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 13 ] |
We've recently discussed a possible implementation of a new autoloader that would use spl_autoload_register. Hopefully, it will be done in the near future, then we could use your patch. By the way, thank's a lot about your feedback. We really need some perspectives on how to make the PHP code more extendable and reusable for other developers. |
Comment by Timo A. Hummel [ 2012 Jan 16 ] |
Updated autoloader which checks if the file exists prior attempting to load it. Improves compatibility with other autoloaders, as the zabbix autoloader doesn't throw an error; allowing other class loaders to catch up. |
Comment by Timo A. Hummel [ 2012 Jan 16 ] |
By the way, I'd need a pointer with SVN: I simply do a svn diff which spits out a patch very nicely. However, as I can't commit to the zabbix SVN, how can I mark the patch as "done"? I.e. if I now do another change which would go to another area of zabbix, a svn diff would also include the contents of this patch, which is not exactly good. With git, I simply could commit locally, and then create a new diff. |
Comment by richlv [ 2012 Jan 16 ] |
usually it's "handled manually". so if there's a patch that depends on another patch and you wouldn't want to create a "monster patch", you would do a diff on two trees and just mention that this patch now depends on that one. "diff -u", of course |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 17 ] |
A new autoloader has been implemented in svn://svn.zabbix.com/branches/dev/ZBX-4538. We've also introduced a new Z class to serve as a wrapper for the autoloader registration and some other stuff in the future. RESOLVED. |
Comment by Alexey Fukalov [ 2012 Jan 18 ] |
(1) [GUI] <pavels> Please review my changes in r24914. <Vedmak> Please review mine in rev. 24929. <pavels> CLOSED. |
Comment by Timo A. Hummel [ 2012 Jan 18 ] |
I haven't looked at the changes yet - is it possible to view the change on the web without svn checkout ? |
Comment by richlv [ 2012 Jan 18 ] |
there is no official web frontend for zabbix svn (yet) |
Comment by Timo A. Hummel [ 2012 Jan 18 ] |
I have looked at this now and I have a few questions: There's ZBase (which seems to be the base class for the Zabbix application), but then there's the "Z" class. I'm not sure what's the reason behind this, but it looks a bit odd, as ZBase::getInstance() returns a new Z() instance. This looks a bit like an approach for 3rd-parties to include their own functionality, but would require people to overwrite the class.z.php with their own version. Did I get that right, or is there something I've missed? I'm also not a very big fan of extremely short method names. I'd prefer "getInstance" instead of "i", because when you read "getInstance", it's obvious what it does, while "i" is not. A picky one: Line 77 of class.zbase.php is longer than 120 characters Overall the code looks good, I have nothing left to complain. I can also confirm that the auto loader works from ExtZabbix without modifications. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 19 ] |
Yes, the Z class was introduced to provide an ability to extend the core Zabbix functionality. To do that you can either overwrite class.z.php, or insert your own class between Z and ZBase. |
Comment by Timo A. Hummel [ 2012 Jan 20 ] |
I don't think that providing an empty Z class is the right approach, and overwriting files from a distribution also isn't a good idea, because the class.z.php would probably get overwritten when updating. A better approach would be to specify the class to use within a configuration file, and then return an instance of the configured class instead of returning an instance of ZBase. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 20 ] |
Yes, this may not be the most correct approach. But if you're modifying something in Zabbix you'll probably set up your own repository and then all of the conflicts can be easily resolved. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 23 ] |
Merged to trunk r24954. CLOSED. |
[ZBX-4535] zabbix - FTBFS with ld --as-needed Created: 2012 Jan 11 Updated: 2017 May 30 Resolved: 2012 Jan 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 1.8.9, 1.8.10 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Leo Iannacone | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu Dev Precise (12.04) |
Attachments: | fix-ftbfs-ld-as-needed.patch | ||||||||||||||||
Issue Links: |
|
Description |
Dear developers, zabbix fail to build with flag "ld --as-needed" enabled (as set in Ubuntu), trying to add LDAP and POSTGRESQL LIBS during compilation in the wrong place. Snippet from build fail about zabbix_agent and LDAP: Snippet from build fail about zabbix_server and POSTGRESQL: The attached patch fixes both problems, it moves '-lldap -llber' into LDAP_LIBS (exporting it and using in configure.in) and '-lpq' into POSTGRESQL_LIBS as well (already exported and defined into configure.in). Can you kindly consider to apply this patch? Thanks, Leo. |
Comments |
Comment by Alexander Vladishev [ 2012 Jan 28 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4535 |
Comment by Oleksii Zagorskyi [ 2012 Jan 29 ] |
Just for record: as I see this dev branch already includes fix from |
Comment by dimir [ 2012 Jan 30 ] |
Great fix! Even more order in our autoconfiguration process! Just tiny formatting change in r25079. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 30 ] |
Fixed in versions pre-1.8.11 r25085 and pre-1.9.9 r25087. |
[ZBX-4526] trigger checks only first 256 chars of item value Created: 2012 Jan 09 Updated: 2017 May 30 Resolved: 2012 Jan 12 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Documentation (D), Server (S) |
Affects Version/s: | 1.8.10 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Critical |
Reporter: | Pavel | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Tested on Linux. |
Attachments: | zbx-4526-item-screenshot.jpg |
Description |
If I use trigger " {hostname:web.get.page[site].str(substr)}" then substring found only if it occurs in the first 256 (not sure) bytes of value including http header. <1& {hostname:web.page.regexp[site,,,substr].count(#2,"substr","eq")}<1 |
Comments |
Comment by richlv [ 2012 Jan 09 ] |
might be another items.lastvalue manifestation (although i can't find the previous issues on this right now) |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
what database are you using? |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
Cannot reproduce with PostgreSQL. Check a structure of a 'items' table. Size of fields 'lastvalue' and 'prevvalue' should be 255. |
Comment by Pavel [ 2012 Jan 11 ] |
Mysql. |
Comment by Pavel [ 2012 Jan 12 ] |
Is it possible that it depends of 8-bit value? <1" and " {happy.kiev.ua:web.page.get[fidonet.org.ua].str("sysopka")}<1" returns problem, but " {happy.kiev.ua:web.page.get[fidonet.org.ua].str("DOCTYPE",#2)}<1" returns OK. |
Comment by Alexander Vladishev [ 2012 Jan 12 ] |
Please attach screenshot of "web.page.get[fidonet.org.ua]" item configuration. |
Comment by Pavel [ 2012 Jan 12 ] |
web.page.get[fidonet.org.ua] item configuration |
Comment by Alexander Vladishev [ 2012 Jan 12 ] |
Confirmed: The given problem happens if in the first 255 characters is present the CR (0х13) character. |
Comment by Alexander Vladishev [ 2012 Jan 12 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4526 |
Comment by Alexander Vladishev [ 2012 Jan 12 ] |
The priority is changed to the "Critical". |
Comment by dimir [ 2012 Jan 13 ] |
Successfully tested. Please fix ChangeLog message, it contains typo. |
Comment by Alexander Vladishev [ 2012 Jan 13 ] |
Fixed in version pre-1.8.11, revision 24752. |
[ZBX-4523] Impossible to correctly translate some parts of Zabbix Created: 2012 Jan 06 Updated: 2017 May 30 Resolved: 2012 Jan 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.10 |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Sébastien Maccagnoni | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | internationalization, localization, translation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
I'm currently trying to improve the french translation, and I'm starting to understand why some strings are not correctly translatable. Zabbix front-end sentences are sometimes defined as "a (translatable) string and a space and another (translatable) string" etc. S_IN.SPACE.S_MAINTENANCE => "In maintenance" in english, "En maintenance" in french => ok The web frontend translation should be based on groupes of words and not single words. For example, replacing "S_IN.SPACE.S_MAINTENANCE" with a new "S_IN_MAINTENANCE" or "S_HOSTS.SPACE.S_IN" with "S_HOSTS_IN". |
Comments |
Comment by Oleksii Zagorskyi [ 2012 Jan 09 ] |
Sébastien, welcome to the translation team ! Regards, |
Comment by richlv [ 2012 Jan 11 ] |
i'm not quite sure it's a good idea to fix it this way in 1.8 branch... this introduces lots of new translation strings - even if more correct, this will mean additional work to translators who might already have translated those partial strings (and who would not want to translate a bunch of new ones for 1.8 as they work on trunk already). zalex, your opinion ? |
Comment by Oleksii Zagorskyi [ 2012 Jan 11 ] |
Of course, I'm agree with Richlv for 1000% Three hours ago (when Sanja assigned the issue himself) I checked the source of dev branch copied from and it was .... 1.8. I wanted to ask - WHY? I'm agree that would be better to resolve this issue for the 2.0 only. |
Comment by Alexander Sorokin (Inactive) [ 2012 Jan 11 ] |
It introduces 57 new strings. May be few more will be added. |
Comment by Alexander Sorokin (Inactive) [ 2012 Jan 11 ] |
Fixed for 1.8 in development branch svn://svn.zabbix.com/branches/dev/ZBX-4523 |
Comment by Alexander Sorokin (Inactive) [ 2012 Jan 11 ] |
Fixed for trunk in development branch svn://svn.zabbix.com/branches/dev/ZBX-4523-trunk |
Comment by richlv [ 2012 Jan 11 ] |
(1) that's at least 57 untranslated strings, introduced very lately in the branch lifecycle. based on zalex's opinion, i'd suggest not to do this for 1.8 <Sasha> Let's not do it in version 1.8. Too many untranslated new phrases. CLOSED |
Comment by richlv [ 2012 Jan 11 ] |
(2) trunk branch seems to add new S_ strings I'm personally not sure worth to merge it to trunk as it is at the moment. Maybe would be better to discard these changes and to work only according to the <sanja> RESOLVED |
Comment by Alexey Fukalov [ 2012 Jan 16 ] |
(3) [GUI] I reviewed 1.8 branch, don't forget to remove it CLOSED |
Comment by Alexey Fukalov [ 2012 Jan 17 ] |
(4) [GUI] <sanja> CLOSED |
Comment by Alexander Sorokin (Inactive) [ 2012 Jan 19 ] |
Fixed in trunk, r24888 |
[ZBX-4520] trigger dependency from host to template can be created Created: 2012 Jan 05 Updated: 2017 May 30 Resolved: 2012 Jan 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | regression | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
trigger dependency from host to template can be created. shouldn't be possible. |
Comments |
Comment by richlv [ 2012 Jan 05 ] |
interestingly, this was broken a long, long time ago in : ------------------------------------------------------------------------
|
Comment by richlv [ 2012 Jan 13 ] |
(1) unittests ? |
Comment by richlv [ 2012 Jan 13 ] |
(2) when adding dependencies to a host trigger, templates are still shown. is that intended ? <richlv> CLOSED |
Comment by richlv [ 2012 Jan 13 ] |
(3) in the dev branch, when creating a trigger : reset() expects parameter 1 to be array, null given [api/classes/class.ctrigger.php:1635] |
Comment by richlv [ 2012 Jan 16 ] |
(4) create a new trigger, add a dependency on some template trigger. choose an item from a host afterwards. such a trigger can be saved. looks like api level check is only on trigger update, not on creation... there shouldn't be duplicate code to check this as well |
Comment by richlv [ 2012 Jan 16 ] |
(5) i believe the following might violate coding style : + $hostName=explode(':',$trigger['expression']); <Sasha> CLOSED Fixed with merge from a trunk r24805 |
Comment by Alexander Vladishev [ 2012 Jan 16 ] |
(6) for what purposes we receive all fields from the "hosts" table? <richlv> something rather fishy was done to this comment, REOPENED <richlv> ... <richlv> it should be doublechecked what was done in svn, as the second problem didn't involve code at all. comment is fixed now, original issue can be reviewed <Sasha> REOPENED <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 16 ] |
(7) one more SQL? We cannot use the existing? <richlv> something rather fishy was done to this comment, REOPENED <richlv> ... <richlv> it should be doublechecked what was done in svn, as the second problem didn't involve code at all. comment is fixed now, original issue can be reviewed <pavels> I've remade the fix, so last commit is irrelevant now. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 17 ] |
(8) [GUI] rollback all changes in configuration.triggers.edit.php |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 24 ] |
I've remade the fix. Please review. RESOLVED. |
Comment by Alexander Vladishev [ 2012 Jan 25 ] |
Excellent! Successfully tested! |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 26 ] |
Merged to trunk r25026. CLOSED. |
[ZBX-4519] can't delete template : Unknown column 'h.name' Created: 2012 Jan 05 Updated: 2017 May 30 Resolved: 2012 Jan 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | regression | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Error in query [SELECT DISTINCT t.triggerid,t.description,t.flags,t.expression,h.name as host FROM triggers t WHERE EXISTS ( SELECT ff.triggerid FROM functions ff,items ii WHERE ff.triggerid=t.templateid AND ii.itemid=ff.itemid AND (ii.hostid IN ('10299')) ) AND (t.flags IN ('0','1')) ] [Unknown column 'h.name' in 'field list'] seems to be broken by |
Comments |
Comment by richlv [ 2012 Jan 05 ] |
(1) while fixing this, please, also remove extra space in "WHERE EXISTS ( SELECT" <sanja> RESOLVED <pavels> CLOSED. |
Comment by richlv [ 2012 Jan 05 ] |
(2) additionally, even though there were these errors, frontend message was "Template [dep2] deleted." - shouldn't be <pavels> This may be a bit tricky to fix now because we'll have to make changes to all of the SELECT queries on a global level. I suggest we leave it as is for now. <sanja> "Template [dep2] deleted." changed to standart message. <pavels> CLOSED. |
Comment by Alexander Sorokin (Inactive) [ 2012 Jan 05 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4519 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 05 ] |
TESTED. |
Comment by Alexander Vladishev [ 2012 Jan 12 ] |
Changes from a development branch has been merged to a trunk incorrectly. Please fix it. <sanja> RESOLVED <Sasha> TESTED |
Comment by Alexander Vladishev [ 2012 Jan 18 ] |
(3) Message about a deleted template does not correspond Zabbix syntax and naming guidelines. <sanja> RESOLVED <Sasha> CLOSED Please review my changes in r24878. TESTED |
[ZBX-4513] No-change valuemap update should not update data in table 'mappings' Created: 2012 Jan 04 Updated: 2017 May 30 Resolved: 2012 Jul 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Trunk (v1.9.9) |
Description |
No-change valuemap update should not update data in table 'mappings' |
Comments |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
Closing duplicated issue. |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
Reopened incorrectly closed issue |
Comment by Alexey Fukalov [ 2012 Jan 13 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4513 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 16 ] |
(1) The new files should have svn:eol-style set to "native" <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 16 ] |
(2) You'll also need to replace the references to config.php in testFormAdministrationGeneralGUI.php and testFormAdministrationGeneralHousekeeper.php <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 16 ] |
(3) When validating the mapping value field it says "Only positive or negative number". Let's change it to "Only integers" because it also allows zeros. " <richlv> what about "Only positive or negative numbers or zeroes" ? longish, but we won't have to make all our users learn what an integer is <pavels> Maybe "Only numbers" or "Only whole numbers"? <richlv> "Only whole numbers" sounds ok to me <Vedmak> RESOLVED <pavels> Since Rich didn't like the word "integer", I've also changed the placeholder to "Whole number" in r24813. Ok with you? <Vedmak> Sure. CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 16 ] |
(4) Let's leave the testing of the select menu in the *CheckLayout test to make sure it works correctly. <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 17 ] |
TESTED, but please close (3) before merging. |
Comment by Alexey Fukalov [ 2012 Jan 17 ] |
commit: svn://svn.zabbix.com/trunk 24814 |
Comment by richlv [ 2012 Jul 18 ] |
this resulted in a regression : |
Comment by richlv [ 2012 Jul 25 ] |
fix versions missing |
Comment by richlv [ 2012 Jul 25 ] |
i believe it was fixed in 1.9.9, please change if that's not correct |
[ZBX-4507] Action not removing host from group "Discovered Hosts" Created: 2012 Jan 03 Updated: 2017 May 30 Resolved: 2012 Jan 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.8.8, 1.8.9, 1.8.10 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Attilla de Groot | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | actions, discovery | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux, Debian |
Attachments: | Screen Shot 2012-01-03 at 3.50.13 PM.png Screen Shot 2012-01-03 at 3.50.46 PM.png Screen Shot 2012-01-03 at 4.04.38 PM.png |
Description |
Hi, I've created a discovery rule that discovers switches on our platform and attaches templates to the hosts based on the snmp result. I'm also adding a host to the appropriate host group based on the result of one of the snmp discovery rules. This all works fine, except for the removal from the Discovered Hosts group. I'd like to keep this host group clear from already discovered hosts, but that seems to be impossible or simply not work. As you can see in the attached screenshot, I created a separate action to remove a host from the discovered hosts group, but that doesn't seem to work. I also tried to just add the removal operation to one of the three separate actions, but the also doesn't work. There are no logs to debug, but I'm guessing that the delete action is being processed before the "add to hostgroup" action. This would result in a host being without a host group and probably not possible. I'm guessing this because the delete action is put in the list first when I'm adding the operation to one of the the separate actions. It would be very helpful if this is solved. |
Comments |
Comment by Oleksii Zagorskyi [ 2012 Jan 04 ] |
Discovery can work very slow for big IP addresses range with so big count of checks and many of unavailable hosts. |
Comment by Attilla de Groot [ 2012 Jan 04 ] |
I'm aware of that, but I have this configuration for about 6 months now. So I think that is more than enough waiting. If you have a better way of configuring the discovery, please tell me. |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
Confirmed: We always add discovered host to group "Discovered hosts". |
Comment by Attilla de Groot [ 2012 Jan 16 ] |
That is a good thing. But I'd like to remove it again. Because it also shows up as a host group with errors on the dashboard for example. |
Comment by Alexander Vladishev [ 2012 Jan 18 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4507 |
Comment by dimir [ 2012 Jan 20 ] |
It's interesting how I finally managed to reproduce the problem only when I split "add host" and "remove from discovered hosts" operations into 2 different actions. Within one action I wasn't able to reproduce it. Yes, but it's true that server was adding the host back to group every time "add host" operation was executed. |
Comment by dimir [ 2012 Jan 23 ] |
Tested. Please review my changes in r24932, r24933. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 24 ] |
Fixed in version pre-1.8.11, revision 24989. |
Comment by Oleksii Zagorskyi [ 2012 Jan 25 ] |
Just a note: Fixed in version pre-1.9.9, revision 24993 too. |
[ZBX-4505] Globalmacroid should not be changed when updating global macro Created: 2012 Jan 03 Updated: 2017 May 30 Resolved: 2012 Jan 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.10, 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Globalmacroid should not be changed when updating global macro |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 03 ] |
This will require some API updates, so I've started a specs draft https://zabbix.org/wiki/Docs/specs/ZBX-4503 |
Comment by Alexei Vladishev [ 2012 Jan 03 ] |
See also |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 04 ] |
Additional notes from "1. The new macro shouldn't be added. The existing macro should be updated. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 04 ] |
RESOLVED for trunk in /branches/dev/ |
Comment by Alexey Fukalov [ 2012 Jan 09 ] |
(1) [GUI] <pavels> RESOLVED. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2012 Jan 09 ] |
(2) [GUI] <pavels> RESOLVED. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2012 Jan 09 ] |
(3) [GUI] <pavels> RESOLVED. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2012 Jan 09 ] |
(4) [GUI] <pavels> RESOLVED. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2012 Jan 09 ] |
(5) [GUI] <pavels> RESOLVED. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2012 Jan 10 ] |
(6) [GUI] <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 11 ] |
Merged to trunk r24661. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 11 ] |
(7) [DOCS] Updated docs. Global macro update and delete calls are now executed by "globalmacroid" instead of "macro". <Vedmak> CLOSED |
[ZBX-4502] missing space between "Group" and dropdown in host configuration page Created: 2012 Jan 03 Updated: 2017 May 30 Resolved: 2012 Jan 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Trivial |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
there is a space missing between "Group" and dropdown in host configuration page. it is present in the template config page |
Comments |
Comment by richlv [ 2012 Jan 03 ] |
fixed in svn://svn.zabbix.com/branches/dev/ZBX-4502 along with minor coding style fixes and using direct gettext string for template page |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 03 ] |
TESTED. |
Comment by richlv [ 2012 Jan 03 ] |
merged to trunk in rev 24496. |
[ZBX-4484] greek locale should be added in the frontend list Created: 2011 Dec 23 Updated: 2017 May 30 Resolved: 2011 Dec 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | localization | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
greek locale is available, but not added to the frontend dropdown list yet. |
Comments |
Comment by richlv [ 2011 Dec 23 ] |
resolved in svn://svn.zabbix.com/branches/dev/ZBX-4484 |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
TESTED. |
Comment by richlv [ 2011 Dec 27 ] |
merged to trunk in rev 24287. |
[ZBX-4483] Icons are distorted in some places in the frontend Created: 2011 Dec 23 Updated: 2017 May 30 Resolved: 2011 Dec 29 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Pavels Jelisejevs (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | iconmapping | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | icon-mapping-skew.png |
Description |
For instance, in the configuration of icon mapping |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
I've added a server-side icon resizing feature we use to properly scale icons. RESOLVED. |
Comment by Alexey Fukalov [ 2011 Dec 28 ] |
(1) [GUI] <pavels> I've implemented a separate function for it, but we have to do it even if we don't resize the image. RESOLVED. <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 30 ] |
There have been some conflicts when updating to the latest trunk, plus I've fixed another small bug. Please review. REOPENED. <Vedmak> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 30 ] |
Merged to trunk r24444. CLOSED. |
[ZBX-4479] it is possible to add a dependency from a template to a host Created: 2011 Dec 22 Updated: 2017 May 30 Resolved: 2012 Jan 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | dependencies, triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
in current trunk it is possible to add dependency from template trigger to a host trigger. it is an accidental change, and it is not known whether server will operate properly this way. it should be decided whether this is allowed - if it is, it would solve if not, this should be prevented. |
Comments |
Comment by richlv [ 2012 Jan 04 ] |
(1) rev 24503 did : is suspect this might not match the coding stye
<richlv> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 04 ] |
Server side TESTED. |
Comment by richlv [ 2012 Jan 05 ] |
for the record, this is supposed to allow template triggers to depend on host triggers and should also fulfill |
Comment by richlv [ 2012 Jan 05 ] |
(2) this should be documented in the trigger dependency docs http://www.zabbix.com/documentation/2.0/manual/config/triggers/dependencies <Sasha> Rich, thanks! CLOSED |
Comment by dimir [ 2012 Jan 05 ] |
Tested, somebody should review my changes in r24536 and r24547 and then it can be merged into upstream. <Sasha> CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 05 ] |
Available in version pre-1.9.9, rev. 24570. |
Comment by Oleksii Zagorskyi [ 2012 Jan 05 ] |
Reopened to remove 2.0 from "Fix version" |
Comment by Oleksii Zagorskyi [ 2012 Jan 05 ] |
Closed again. |
[ZBX-4477] Value of the "expressions.expressionid" field changes when saving regular expression Created: 2011 Dec 22 Updated: 2017 May 30 Resolved: 2012 Jan 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Value of the "expressions.expressionid" field changes when saving regular expression (even without performing any changes in the regexp conf, just saving old configuration). |
Comments |
Comment by Alexey Fukalov [ 2011 Dec 30 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4477 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 03 ] |
(2) Please review my changes in r24487. Please review my changes in r24611. <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 09 ] |
I've merged some changes from |
Comment by Alexey Fukalov [ 2012 Jan 11 ] |
(3) [GUI] <pavels> Fixed a couple of typos in r24662. CLOSED. |
Comment by Alexey Fukalov [ 2012 Jan 11 ] |
Merged: svn://svn.zabbix.com/trunk 24681 |
[ZBX-4470] Can not open trunk frontend after converting trunk Mysql Zabbix DB to the DM setup Created: 2011 Dec 20 Updated: 2017 May 30 Resolved: 2011 Dec 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | dm | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
v1.9.9 (rev #24084) |
Attachments: | trunk_nodes_error.png |
Description |
After converting trunk Mysql (v1.9.9, rev #24084) Zabbix DB to the DM setup (with "./zabbix_server -n 1" command) can not open frontend anymore, after opening index.php on the screen appears the following error: Undefined index: type [include/nodes.inc.php:59] Screenshot is also in the Attachment. Before converting DB to DM setup Zabbix frontend was working fine with this DB. |
Comments |
Comment by Alexander Vladishev [ 2011 Dec 20 ] |
Confirmed with PostgreSQL r24096. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 22 ] |
Broken by |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 23 ] |
Successfully tested! Please review my changes in r24224. <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
Merged to trunk r24231. CLOSED. |
[ZBX-4468] There is possibility to create value mappings with the same name Created: 2011 Dec 20 Updated: 2017 May 30 Resolved: 2012 Jan 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | valuemapping | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
1.9.9 (trunk), 1.8.x |
Issue Links: |
|
Description |
There is possibility to create value mappings with the same name (field name in the Zabbix DB), the only difference between such mappings will be value of the "valuemapid" field. In v1.8.x there is the same behaviour. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
(1) Don't use concatenation in messages, use the _s() function instead. <pavels> Not sprintf() but _s(). It's our standard gettext wrapper for strings with arguments. <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
(2) The input parameters that we use in SQL queries should always be escaped. Use the zbx_dbstr to escape the name in get_valuemap() <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
(3) We use upperCamelCase for function names. Plus, I suggest we rename the get_valuemap function to getValuemapByName($name) and make the $name parameter obligatory. <pavels> One more thing, all the tables in SQL queries must use an alias. Even if there's only one table. <pavels> CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 28 ] |
(4) [GUI] Please review my changes in r24304 |
Comment by Alexander Vladishev [ 2011 Dec 28 ] |
(5) [GUI] Cannot update value map <pavels> Still not working. REOPENED. <pavels> I thing you've meant <pavels> CLOSED. |
Comment by richlv [ 2011 Dec 28 ] |
(6) it should be "already exists" <pavels> CLOSED. |
Comment by Igor Danoshaites (Inactive) [ 2012 Jan 03 ] |
(5) [GUI] "Cannot add or update value map" -->For this on 30.12.2011 has been created separate issue <pavels> This fix hasn't been merged yet. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 04 ] |
(6) Please review my changes in r24512. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 04 ] |
TESTED. Please close (6) before merging. Also, after updating to the latest trunk, please, fix (5). |
Comment by Vjacheslav Shipillo (Inactive) [ 2012 Jan 04 ] |
<Slava> fixed in r 24515 |
Comment by richlv [ 2012 Jan 04 ] |
(7) merge to trunk has lots of coding guideline violations and modifies several unrelated changelog entries. i would strongly suggest reverting it, reviewing all modified code for coding style and doublechecking what it does to the changelog edit : ok, changelog probably was intentional. why wasn't it mentioned in the commit message ? <richlv> well, this time i'd say that it would be enough to fix formatting for all modified lines - but in future, describing all changes in the commit message would be highly appreciated <richlv> 24542 has a commit message "updated to latest trunk "... <pavels> CLOSED. |
Comment by Vjacheslav Shipillo (Inactive) [ 2012 Jan 05 ] |
<Slava> Pavel, please review my confict resolving in 24542 'valuemap.inc.php' <pavels> CLOSED. Before merging to trunk, please review my changes in r24578 and r24579. |
Comment by Vjacheslav Shipillo (Inactive) [ 2012 Jan 06 ] |
fixed in trunk in 24575 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 06 ] |
Fix for 1.8 is TESTED. Please review my changes before merging. |
Comment by Vjacheslav Shipillo (Inactive) [ 2012 Jan 06 ] |
fixed in 1.8 r 24593 |
Comment by Oleksii Zagorskyi [ 2012 Jan 09 ] |
Reopened to replace 2.0 to 1.9.9 in the Fix version/s |
Comment by Oleksii Zagorskyi [ 2012 Jan 09 ] |
Closed again. |
[ZBX-4467] Screen - Select Zoom "ALL" -> Warning. Time period max value: 63072000 (730 d) Created: 2011 Dec 19 Updated: 2017 May 30 Resolved: 2012 Mar 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta), 2.0.0rc1 |
Type: | Incident report | Priority: | Major |
Reporter: | Kenneth Palmertree | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix-1.9.9-23907 |
Description |
If a user selects "ALL" in zoom while viewing SCREENS, even if there is only a few weeks of data, the zoom goes out to 2 years and displays the following message: Warning. Time period max value: 63072000 (730 d). |
Comments |
Comment by Alexander Sorokin (Inactive) [ 2012 Jan 18 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4467 |
Comment by richlv [ 2012 Jan 18 ] |
(2) as discussed with zalex, string change that only changed [] to "" should also be reflected in all translations that had those strings translated. it should be made so that these translations are not lost (both msgid and msgstr must be properly changed). it should not be changed for languages that didn't have those strings translated. <pavels> But he didn't change only of those strings. Or am I missing something? <richlv> this was my failure, commented on the wrong issue. added (30) to |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 19 ] |
(3) Since we have a nice _n() function, let's use it in graphs.inc.php:378 and :382. <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 25 ] |
Merged to trunk r25017. CLOSED. |
Comment by richlv [ 2012 Feb 24 ] |
(4) regression. set ZBX_MAX_PERIOD to 10 years, have 5 years worth of data. in a graph, click "all" - it goes to two years. try this in rev 25016 - it goes to whatever amount of data you have <pavels> RESOLVED in /branches/dev/ <richlv> functionally seems to work as expected again, CLOSED |
Comment by Eduards Samersovs (Inactive) [ 2012 Feb 29 ] |
(5) Will be nice to crop slider till max period size in event when user make it bigger. <pavels> I've talked to Alexander about that, and we've decided to fix this as a separate issue later. CLOSED. |
Comment by Eduards Samersovs (Inactive) [ 2012 Mar 05 ] |
Tested |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 05 ] |
The fix for the maximum period has been merged to trunk r25792. CLOSED. |
Comment by Oleksii Zagorskyi [ 2012 Mar 06 ] |
In cases like this the "Fix version/s" should contain two values: 1.9.9 and 1.9.10 because both releases have changes related to this issue. |
Comment by Oleksii Zagorskyi [ 2012 Mar 06 ] |
closed again with two values |
[ZBX-4458] Uncaught exception in js when save global macros Created: 2011 Dec 16 Updated: 2017 May 30 Resolved: 2011 Dec 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
When update global macros, if js console is open it can be seen that right before page is reloaded there is uncaught exception "deleted_macro_cnt is not defined" |
Comments |
Comment by Alexey Fukalov [ 2011 Dec 21 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4458 |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 22 ] |
(1) Please review my commit r24162. <Vedmak> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 22 ] |
Update to my commit 24163 and then you can merge. TESTED. |
Comment by Alexey Fukalov [ 2011 Dec 22 ] |
MERGED: svn://svn.zabbix.com/trunk 24167 |
Comment by richlv [ 2011 Dec 22 ] |
(2) i don't like the following : we are composing a message for translation from 2 strings, which makes it hard to translate for many languages. <Vedmak> How S_ thingie can help with placeholders? <richlv> right, got confused |
[ZBX-4456] Error is shown below form in IT services configuration Created: 2011 Dec 16 Updated: 2017 May 30 Resolved: 2011 Dec 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | itservices | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | itservices.png |
Description |
Try to add incorrect time period |
Comments |
Comment by Alexey Fukalov [ 2011 Dec 22 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4456 |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
(1) If an error occurred, then all of the values we've entered are lost. We should probably keep them in the form. <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
(2) If we leave the time field empty, the error message looks like this "Error adding service time ":". Should be from 00:00 to 24:00.". The ":" part is kind of ugly. <Vedmak> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
(3) Fixed a typo in r24212. Please review. <Vedmak> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
Fixed a bracket in r24273 =) TESTED. |
Comment by Alexey Fukalov [ 2011 Dec 27 ] |
merged: svn://svn.zabbix.com/trunk 24279 |
[ZBX-4455] Not escaped input in IT services configuration. Created: 2011 Dec 16 Updated: 2017 May 30 Resolved: 2011 Dec 20 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.9, 1.9.8 (beta) |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | itservices | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | itservices1.png |
Description |
Sort order field seems not escaped. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 20 ] |
Fixed for 1.8. RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 21 ] |
Merged to trunk r24126. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 28 ] |
Merged to 1.8 r24315. CLOSED. |
[ZBX-4453] Global search is a bit misaligned Created: 2011 Dec 16 Updated: 2017 May 30 Resolved: 2012 Feb 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Trivial |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | search.png |
Description |
Global search input is a bit misplaced, was more to the right in 1.8. |
Comments |
Comment by Alexei Vladishev [ 2012 Feb 02 ] |
I believe it is no longer the case in latest trunk (rev 25169) . Can we close it? |
Comment by Alexey Fukalov [ 2012 Feb 02 ] |
Yep, seems it was fixed. |
[ZBX-4449] Unexpected no permissions error in IT services Created: 2011 Dec 16 Updated: 2017 May 30 Resolved: 2011 Dec 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | itservices, permissions | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | itservices.png |
Description |
1. Go to Monitoring. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 21 ] |
RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 22 ] |
Merged to trunk revision 24165. CLOSED. |
[ZBX-4448] Not possible to create Passive proxy Created: 2011 Dec 15 Updated: 2017 May 30 Resolved: 2011 Dec 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta), 2.0.0 |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | proxy, regression, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | passive_proxy_creation_error.png |
Description |
When in the "Administration->DM->Proxies" report trying to create Passive proxy appears the following error: ERROR: Cannot add proxy Please see attached screen shot. By the way, Active proxy can be created without any problems. |
Comments |
Comment by Igor Danoshaites (Inactive) [ 2011 Dec 15 ] |
Trunk rev #24012. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 16 ] |
RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 17 ] |
(1) Cannot update a proxy (same error message)
<pavels> RESOLVED in 24059. <pavels> Right. Anyway, I think I'll fix it a bit differently. <pavels> RESOLVED. <Sasha> REOPENED frontends/php/api/classes/class.cproxy.php:403,451 It is necessary to remove and from these places 'foreach'. <pavels> RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 19 ] |
(2) The interface remains not deleted if we change type to "active" After that we can't make it passive again: <pavels> RESOLVED. <pavels> RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 20 ] |
(3) Formatting and coding style: <pavels> RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 20 ] |
(4) The proxy should have a main interface <pavels> RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 21 ] |
(5) Formatting and coding style: <pavels> CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 21 ] |
Tested successfully. Before merge please fix (5) |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 21 ] |
Merged to trunk r24139. CLOSED. |
[ZBX-4446] Incorrect event duration Created: 2011 Dec 15 Updated: 2017 May 30 Resolved: 2011 Dec 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Pavels Jelisejevs (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | events | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | events.png |
Description |
The highlighted trigger should have the same duration as the first one, not zero. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 15 ] |
RESOLVED. |
Comment by Oleksii Zagorskyi [ 2011 Dec 16 ] |
May this fix help for <pavels> No, it doesn't affect the "last changed" column, only the duration. |
Comment by Alexander Vladishev [ 2011 Dec 16 ] |
TESTED. Please review my changes in r24043. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 19 ] |
Merged to trunk r24057. CLOSED. |
[ZBX-4427] Bad network map trigger higlight for host groups Created: 2011 Dec 08 Updated: 2017 May 30 Resolved: 2011 Dec 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Sergey Syreskin | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | maps | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | hostgroup_map_bug.png |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 14 ] |
Fixed in /branches/dev/ |
Comment by Alexey Fukalov [ 2011 Dec 19 ] |
(1) <pavels> OK. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 19 ] |
Merged to trunk r24075. CLOSED. |
[ZBX-4425] When update item interface is set to null Created: 2011 Dec 08 Updated: 2017 May 30 Resolved: 2012 Apr 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | items, lld, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | cannot_add_host.jpg | ||||||||
Issue Links: |
|
Comments |
Comment by richlv [ 2011 Dec 08 ] |
(1) i believe this is the 3rd time for the same bug... unittests <pavels> I've added a simple create/retrieve/delete unit test for the item API, plus a special test for this case ). RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 13 ] |
RESOLVED. |
Comment by Alexey Fukalov [ 2011 Dec 14 ] |
(2) [GUI] <pavels> RESOLVED. <Vedmak> we decided to have next line in long "ifs" to be indented with two tabs. <pavels> RESOLVED. <Vedmak> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 16 ] |
Merged to trunk r24033. CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 20 ] |
When full-cloning a host there is a following error: https://support.zabbix.com/secure/attachment/17695/cannot_add_host.jpg <pavels> RESOLVED in /branches/dev/ <sasha> It do not agree! It's broken in r24033. In r23994 all work fine! <pavels> Item prototype cloning never supported interfaces, Prior to r24033 it, probably, just haven't shown any errors =) <pavels> CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 21 ] |
(1) frontends/php/api/classes/class.cdiscoveryrule.php:1080 In all places, except calculated item and trigger expressions, should be used 'Visible host name' <pavels> RESOLVED. <pavels> CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 21 ] |
(2) Please review my changes in r24136 <pavels> CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 21 ] |
Tested successfully! Please close point (1) before merge <pavels> There have been some conflicts when I merged the changes from trunk. Please review my commit r24156. <Sasha> RESOLVED I have corrected incorrectly merged changes. Please review them. <pavels> Thanks. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
Merged the prototype interface fix to the trunk in r24203. CLOSED. |
Comment by richlv [ 2012 Apr 10 ] |
reopen to change labels |
[ZBX-4424] Handling of the log of long Japanese Created: 2011 Dec 08 Updated: 2017 May 30 Resolved: 2011 Dec 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Server (S) |
Affects Version/s: | 1.8.8, 1.8.9 |
Fix Version/s: | 1.8.10, 1.9.9 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | suzuka | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | items, localization | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL CentOS 5.6, 6.0 Postgresql-8.4.7 |
Description |
I am monitoring Windows EventLog. When Zabbix Server receives the log of 255 or more Japanese characters(512 bytes or more ?), an error is outputted and data is not registered. This problem occurs in zabbix1.8.8 and 1.8.9 and it does not coour in 1.8.7 and 1.8.6. I guess that there is a problem in handling of the Japanese character after 255 character in 1.8.8 or later. The following is a log when I test. 1) Zabbix v1.8.8 [pg_log] 2011-12-08 11:06:03 JST: 4352: LOG: duration: 0.480 ms statement: insert into alerts (alertid,actionid,eventid,userid,clock,mediatypeid,sendto,subject,message,status,alerttype,esc_step) values (4703,4,40420,3,1323309963,4,'sasaki@localhost','[????] Error is output to ApplicationLog on Windows2008: PROBLEM','????????????? Error is output to ApplicationLog on Windows2008: PROBLEM ',0,0,0) [zabbix_server.log] none 2) Zabbix v1.8.8 [pg_log] 2011-12-08 11:10:32 JST: 4354: ERROR: invalid byte sequence for encoding "UTF8": 0xe32720 2011-12-08 11:10:32 JST: 4354: ERROR: current transaction is aborted, commands ignored until end of transaction block [zabbix_server.log] 3688:20111208:111032.678 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: invalid byte sequence for encoding "UTF8": 0xe32720 3) Zabbix v1.8.7 [pg_log] 2011-12-08 11:34:34 JST: 5504: LOG: duration: 0.747 ms statement: insert into alerts (alertid,actionid,eventid,userid,clock,mediatypeid,sendto,subject,message,status,alerttype,esc_step) values (4705,4,40681,3,1323311674,4,'sasaki@localhost','[????] Error is output to ApplicationLog on Windows2008: PROBLEM','????????????? Error is output to ApplicationLog on Windows2008: PROBLEM ',0,0,0) [zabbix_server.log] none 4) Zabbix v1.8.7 [pg_log] 2011-12-08 11:38:05 JST: 5504: LOG: duration: 0.764 ms statement: insert into alerts (alertid,actionid,eventid,userid,clock,mediatypeid,sendto,subject,message,status,alerttype,esc_step) values (4706,4,40682,3,1323311885,4,'sasaki@localhost','[????] Error is output to ApplicationLog on Windows2008: PROBLEM','????????????? Error is output to ApplicationLog on Windows2008: PROBLEM ',0,0,0) [zabbix_server.log] none |
Comments |
Comment by Alexander Vladishev [ 2011 Dec 11 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4424 |
Comment by dimir [ 2011 Dec 12 ] |
Please review my changes in r23928. <Sasha> Great! CLOSED |
Comment by Alexander Vladishev [ 2011 Dec 13 ] |
Fixed in version pre-1.8.10, revision 23950. |
[ZBX-4418] zabbix_server [98798]: ERROR [file:db.c,line:1464] Something impossible has just happened. Created: 2011 Dec 05 Updated: 2017 May 30 Resolved: 2011 Dec 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Danilo Chilene | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | events, sql | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
FreeBSD srv-zabbix01.trendeiras 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #5: Mon Dec 5 07:57:08 BRST 2011 [email protected]:/usr/obj/usr/src/sys/TREND amd64 FreeBSD inside vmware, typical instalation. (root@srv-zabbix01 - ~ @14:29:40) ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc/zabbix --enable-server --enable-agent --with-mysql --with-libcurl --with-net-snmp --with-ssh2 --with-ldap --with-openipmi |
Description |
Strange behavior of log /tmp/zabbix_server.log Below the error: 98798:20111205:143001.507 [Z3005] query failed: [1690] BIGINT UNSIGNED value is out of range in '(`zabbix`.`ids`.`nextid` + -(5256))' [update ids set nextid=nextid+-5256 where nodeid=0 and table_name='events' and field_name='eventid'] |
Comments |
Comment by Alexander Vladishev [ 2011 Dec 09 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4418 |
Comment by dimir [ 2011 Dec 12 ] |
Tested. |
Comment by Alexander Vladishev [ 2011 Dec 12 ] |
Fixed in version pre-1.9.9, revision 23920. |
[ZBX-4417] Undef variable in history text items Created: 2011 Dec 05 Updated: 2017 May 30 Resolved: 2011 Dec 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
https://zabbix.**/history.php?action=showvalues&period=3600&itemid=1075103 for text values. |
Comments |
Comment by Oleksii Zagorskyi [ 2011 Dec 06 ] |
Maybe it has been already fixed in a dev branch here: |
Comment by Alexander Vladishev [ 2011 Dec 06 ] |
It will be fixed with |
[ZBX-4411] Search doesn't work in 1.9.9.x-23609 Created: 2011 Nov 30 Updated: 2017 May 30 Resolved: 2011 Dec 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Sergey Syreskin | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | search | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
PostgreSQL 8.4, RHEL 5.5-based OS, Firefox 3.0.19 |
Attachments: | mb_stripos.patch search_fail.png search_fail1.png search_fail2.png |
Description |
Frontend presents an empty page after search, see screenshot. |
Comments |
Comment by Alexander Sorokin (Inactive) [ 2011 Nov 30 ] |
Trunk 23633 - search working. |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 30 ] |
Hi, I can not reproduce the same problem in v1.9.9, rev #23645. Can you please upgrade and try this revision ? |
Comment by richlv [ 2011 Nov 30 ] |
also - what theme is that ? does it work with english locale ? do you have any errors in the apache log ? |
Comment by Sergey Syreskin [ 2011 Dec 01 ] |
Rich, the theme is "Black & Blue". It doesn't work with English locale and default theme either. There are no any errors in the apache log. I'll try http://www.zabbix.com/downloads/nightly/pre-zabbix-1.9.9.x-23657.tar.gz later today and post the result here. Can this problem be related to Postgres? Some strange bugs are caused by Zabbix incompatibility with Postgres, for example, icons corruption after xml map import. Did anybody test search in trunk with Postgres backend? |
Comment by Igor Danoshaites (Inactive) [ 2011 Dec 01 ] |
Hi, Just for the record: For me search is working fine in v1.9.9 (rev #23645) when using PosgreSQL DB and using "Black & Blue" theme with English locale. Need to debug this specific case more deeper. |
Comment by Sergey Syreskin [ 2011 Dec 01 ] |
Compilation of http://www.zabbix.com/downloads/nightly/pre-zabbix-1.9.9.x-23657.tar.gz fails. <--- |
Comment by Sergey Syreskin [ 2011 Dec 01 ] |
I have taken frontend and database data files from the above nightly build, and have the same bug, see new screenshot. |
Comment by Igor Danoshaites (Inactive) [ 2011 Dec 01 ] |
Hi, Compilation errors "error: void value not ignored as it ought to be" were fixed today in trunk branch, in rev #23663. Concerning not working global search- please confirm the same behaviour (not working search) in the latest trunk revision. |
Comment by Sergey Syreskin [ 2011 Dec 01 ] |
Igor, I experience the same problem with search in 1.9.9. 23674, original light blue theme and English locale. |
Comment by Alexei Vladishev [ 2011 Dec 02 ] |
Sergey, Do you have any relevant messages in the apache error log? |
Comment by Sergey Syreskin [ 2011 Dec 02 ] |
Ooops! I'm sorry, I have looked Apache logs on another virtual machine Yes, there actually is an error: My PHP version is php-5.1.6-27.el5.x86_64.rpm. Apache is httpd-2.2.3-43.el5.centos.x86_64.rpm. |
Comment by Igor Danoshaites (Inactive) [ 2011 Dec 02 ] |
Sergey, Seems that this error means that there are no "mbstring" module. Can you please check that you have PHP "mbstring" module enabled ? "Multibyte Support" should be enabled. Please let us know about the results after that. |
Comment by Sergey Syreskin [ 2011 Dec 02 ] |
php-mbcstring-5.1.6-27.x86_64.rpm is installed. |
Comment by Alexei Vladishev [ 2011 Dec 02 ] |
Please could you replace: function mbstrings_available() { return (function_exists('mb_strlen') && function_exists('mb_strtoupper') && function_exists('mb_strpos') && function_exists('mb_substr')); }by function mbstrings_available() { return (function_exists('mb_strlen') && function_exists('mb_strtoupper') && function_exists('mb_strpos') && function_exists('mb_stripos') && function_exists('mb_substr')); }in include/locales.inc.php and tell us if it works or not. Thanks! It looks like you mbstring module has some functions missing. |
Comment by Sergey Syreskin [ 2011 Dec 02 ] |
According to Apache log my mbstring module lacks 'mb_stripos' function. |
Comment by Sergey Syreskin [ 2011 Dec 02 ] |
I have found the following workaround for this problem; function zbx_stripos($haystack, $needle, $offset = 0) {
|
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 05 ] |
The mb_stripos() function was implemented only in PHP 5.2. Maybe you have an older PHP installation. Anyway, since we support PHP 5.1.6, I've replaced it the way Sergey proposed. <richlv> as per https://support.zabbix.com/browse/ZBX-4411?focusedCommentId=51255&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-51255 , that's indeed 5.1.6 <pavels> RESOLVED. |
Comment by richlv [ 2011 Dec 05 ] |
just a note - we don't seem to use mb_stripos in 1.8, so no fix needed for it - although we might have to be a bit more careful when relying on new functions |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 07 ] |
Merged to trunk r23828. CLOSED. |
[ZBX-4407] Cannot import 1.8 template to 1.9 Created: 2011 Nov 29 Updated: 2017 May 30 Resolved: 2012 Jun 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Marcel Hecko | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | comma, import | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
apache2.2 |
Description |
Error in item key: "Invalid item key format.". when importing template/host with item of type "simple", key "tcp,1520" |
Comments |
Comment by Alexander Sorokin (Inactive) [ 2011 Nov 30 ] |
Version 1.9 has new key format. You need to change keys manually. |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 30 ] |
More info about these changes are available here: http://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/4_simple_checks |
Comment by richlv [ 2011 Nov 30 ] |
awwww. we just have to support 1.8 xml as an absolute minimum, otherwise most templates would be unusable. db upgrade patch converts such keys - frontend xml legacy import code (for 1.8) must convert those keys in the exact same way |
Comment by Alexander Sorokin (Inactive) [ 2011 Dec 08 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4407 |
Comment by richlv [ 2011 Dec 08 ] |
(1) it changes (which is great) : but maybe should also change profile_mode and "profile" ? <pavels> I think $host_db['profile_mode'] should be changed to $host_db['inventory_mode'], but double check it please. <sanja> RESOLVED <richlv> i believe "isset($host_db['profile'])" should also be changed to 'inventory', but it should be doublechecked <sanja> RESOLVED <richlv> }} HOST PROFILES <sanja> RESOLVED <pavels> It's great that we fixed the notice, but profile data import doesn't work at all. Please, have a look. <richlv> this is where i'd like to refer to DeepC presentation slides again as such i would like to suggest using svn diff, and attempt to fix the issue so nobody could come and point at things missed (like i'm doing now ) so instead of pointing at specific instances, let's just remove any reference to host profiles (except for 1.8 xml format, of course). please note that we shouldn't nuke user profiles in any way <pavels> Yeah, that's I meant by "double check it please" =) I haven't tested the fix since then, so I've noticed the problem just now. Anyway, CLOSED. <richlv> as discussed, let's be pedantic enough and clear this up completely <sanja> Can not find any references! Maybe You have found some before reopening this issue? <richlv> there might be more that i missed, but here's one file with them : ./include/maps.inc.php: $hostsToGetProfiles = array(); <sanja> Fixed that and 1 more. |
Comment by richlv [ 2011 Dec 08 ] |
(2) function convertOldSimpleKey seems to be defined both in class.ctriggerexpression.php and export.inc.php - that scares me a bit... wouldn't it be better to define it only once ? <pavels> Yes, that's very very wrong. Since this conversion is required only when importing, I suggest we move it into a protected method of zbxXML class and only perform the conversion there. Plus, it shouldn't be done when creating new triggers in the trunk, only when importing old ones. <sanja> RESOLVED <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 09 ] |
(4) Regarding in class.ctriggerexpression.php:235. I know we sometimes use references in foreach loops, but mostly in simple loops where we just need to perform some modifications on the arrays, like unsetting some keys. In more complex loops like this one, it's best not to use references, as it may cause unexpected problems. <sanja> RESOLVED <pavels> CLOSED. |
Comment by richlv [ 2011 Dec 21 ] |
(5) "Converts Simle key" <sanja> RESOLVED <richlv> CLOSED |
Comment by richlv [ 2011 Dec 22 ] |
(6) <pavels> It's great that we fixed the notice, but profile data import doesn't work at all. Please, have a look. <sanja> RESOLVED <pavels> The new line character should be "\r\n" to work properly on mac and windows. And there are no name conflicts between host profile fields, so we don't need to combine them there. I've corrected it, please review r24209 and r24210. Otherwise, good. <sanja> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 23 ] |
TESTED. Before merging, please close (6). |
Comment by richlv [ 2011 Dec 23 ] |
we got a workflow problem here rev 24216 merged this dev branch to trunk already, but rev 24221 did changes in the dev branch after that. these changes will be lost. dev branch should be deleted, recreated, changes from rev 24221 reapplied and problem (1) fully fixed <sanja> RESOLVED <Sasha> REOPENED <sanja> RESOLVED <Sasha> CLOSED Pavels, please retest its branch. There are some changes. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 30 ] |
TESTED again. Everything ok. |
Comment by richlv [ 2012 Feb 11 ] |
reopen to set proper "fix version" |
[ZBX-4404] MaxHousekeeperDelete max-value is wrong either in the default zabbix_server.conf or zabbix_server/server.c Created: 2011 Nov 29 Updated: 2017 May 30 Resolved: 2012 Jan 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.8.8 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | René | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Centos |
Issue Links: |
|
Description |
In zabbix_server.conf the range-example for MaxHousekeeperDelete does not match with the max value set in zabbix_server.c zabbix_server.conf
vs #zabbix_server/server.c , |
Comments |
Comment by Alexei Vladishev [ 2011 Nov 29 ] |
Thanks for reporting this. It should be fixed. |
Comment by Alexander Vladishev [ 2012 Jan 05 ] |
Fixed the default zabbix_server.conf in version pre-1.8.11, r24572. |
[ZBX-4403] Low level discovery rules can not be created in zabbix 1.9.8 Created: 2011 Nov 29 Updated: 2017 May 30 Resolved: 2011 Nov 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | ennerr | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | lld | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
It is impossible to add Discovery rule. After filling in required details and clicking save, following error message is displayed: ERROR: Cannot add discovery rule Incorrect arguments passed to function It seems that variable $item_db_fields in the api/classes/class.citemgeneral.php function checkInput is declared in such a way as to prevent creating items without declared value_type. Workaround is to add line 'value_type' => '0', after the line 231 ('filter' => $filter,) in file host_discovery.php. |
Comments |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 29 ] |
Confirmed this problem. The same error "ERROR: Cannot add discovery rule. Incorrect arguments passed to function [CDiscoveryRule.create -> CDiscoveryRule.checkInput -> CItemGeneral.checkInput]" appears also in the latest trunk revision #23583. This was NOT broken by fixing issue |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 29 ] |
It was broken in |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 29 ] |
<Igor> This dev branch tested using Mysql DB, it is working as desired. |
Comment by Alexander Vladishev [ 2011 Nov 30 ] |
(1) The value type of the discovery rule always should be ITEM_VALUE_TYPE_TEXT. <pavels> RESOLVED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 01 ] |
Merged to trunk revision r23661. CLOSED. |
[ZBX-4391] suffixes not properly supported in trigger testing interface in frontend Created: 2011 Nov 24 Updated: 2017 May 30 Resolved: 2012 Jan 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | suffixes, triggertesting | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
When trigger expression contains the suffixes in the trigger expression then tester always returns FALSE. The last time It worked correctly in the 1.8.2. |
Comments |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Nov 30 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4391 |
Comment by Alexey Fukalov [ 2011 Nov 30 ] |
(1) [GUI] <slava> RESOLVED <Vedmak> as decided we need support up to Y suffix. |
Comment by Alexey Fukalov [ 2011 Nov 30 ] |
(3) [GUI] |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Nov 30 ] |
"Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4391" <zalex> dev branch tested. works as expected. |
Comment by Alexander Vladishev [ 2011 Dec 15 ] |
(0) is not solved (4) a trigger expression parser on server side do not support suffixes P (Peta), E (Exa), Z (Zetta) and Y (Yotta). Please, rollback a support of these suffixes on GUI side in the trigger expressions. <Slava> RESOLVED sasha Has been fixed in ^/trunk r24449. CLOSED |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 21 ] |
Fixed in 24150 |
Comment by Alexey Fukalov [ 2011 Dec 22 ] |
(5) [GUI] <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 22 ] |
(6) [GUI] <Vedmak> CLOSED |
Comment by richlv [ 2011 Dec 23 ] |
(7) new file, testTriggerExpressions.php, should have svn:eol-style svn property set to 'native' <richlv> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 27 ] |
(8) [GUI] <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 28 ] |
(9) [GUI] <Vedmak> CLOSED |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 30 ] |
fixed in r 24449 |
Comment by Oleksii Zagorskyi [ 2011 Dec 30 ] |
(10) Missing record for the trunk ChangeLog. ..F....... <zalex> I've added the tag 1.9.9 to the "Fix Version/s:" |
Comment by richlv [ 2012 Jan 08 ] |
(12) added unittest has not been added to SeleniumTests.php added unittest testTriggerExpressions.php defines it's class name as being "testPageHosts" ... sasha The trigger expression parser and tests to it were completely rewritten in r31649. CLOSED |
Comment by richlv [ 2013 Aug 19 ] |
still not closed : (4) and (12) sasha Reviewed and CLOSED. |
[ZBX-4377] compilation with --enable-static exits with "Curl library not found" Created: 2011 Nov 23 Updated: 2017 May 30 Resolved: 2011 Dec 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.8.9 |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | Robert Jerzak | Assignee: | dimir |
Resolution: | Fixed | Votes: | 0 |
Labels: | static | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu 11.10 x86_64 |
Attachments: | config.log config.log |
Description |
Compilation with --enable-static exits with: checking whether libcurl is usable... no Example: finish with no errors. ./configure --prefix=/usr/local/ --bindir=/usr/local/sbin/ --with-mysql=/usr/bin/mysql_config --enable-server --enable-agent --with-net-snmp --with-libcurl --with-openipmi --enable-ipv6 --enable-static [...] The issue can be replicated every time on Ubuntu 11.10 x86_64. |
Comments |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 23 ] |
Hi, I can reproduce the same case on Ubuntu 10.04.3. When compiling without "enable-static" parameter all is fine, but when using "--enable-static" parameter with the same configure command, appears the following error: checking for curl-config... /usr/bin/curl-config |
Comment by dimir [ 2011 Nov 23 ] |
Basically the behavior must be correct here. The problem is the error message though. So what configure does in the "checking whether libcurl is usable" check it compiles simple program that uses libcurl and linkes it statically. libcurl requires bunch of other libraries, which, in turn, must be available in a static versions too. I believe this is the problem, not all the required static libraries are installed. So the fix is probably to report a proper error in this case, that libcurl is not possible to link statically, instead "libary not found". That would require some work as we currently just have one message if there are any problem with the library - "library not found". I think we should introduce another one here - "Xxx library is not available for static linking" or something. Which would mean the library itself or any other library it depends on. Robert, would it be possible to attach config.log which is generated right after the error? Something tells me you are missing a lot of needed static libraries. |
Comment by Robert Jerzak [ 2011 Nov 23 ] |
config.log from failed enable-static compilation |
Comment by dimir [ 2011 Nov 25 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4377 There was incorrect check for static linking of libcurl. Now the error message should clearly state which library is missing. |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 25 ] |
Tested that dev branch Now it is waiting for code review. |
Comment by dimir [ 2011 Dec 06 ] |
Fixed in pre-1.8.10 r23802, pre-1.9.9 r23803. |
Comment by Robert Jerzak [ 2011 Dec 28 ] |
I think there is not always correct error message, for example arch (we use it on production systems) linux: checking for main in -lz ... (cached) yes |
Comment by Robert Jerzak [ 2011 Dec 28 ] |
config.log from arch linux |
Comment by Robert Jerzak [ 2011 Dec 28 ] |
I tested it on zabbix 1.8.10. |
Comment by dimir [ 2011 Dec 28 ] |
I doubt it will be an easy task to compile Zabbix with all these options you chose for configure statically. You realize that in this case you have to have every external library that is needed in a static version? We can't go and check every library if it's available in a static version. The message states that it's not possible to compile a program with librucl (and other things you chose) statically and it is correct. Compiling statically is not a trivial task. Expecially if you want to have every piece compiled statically. For example it's possible to compile a program linked with libcurl statically and the rest of the libs dynamically, that would be a much easier task but we do not have currently in Zabbix such a way to define which part is to be linked statically and which dynamically. You could do that yourself by playing with Makefiles and gcc options (the position of --static in parameters list to gcc). Besides, in some cases static linking is not possible at all: http://stackoverflow.com/questions/3430400/linux-static-linking-is-dead I'm closing this issue, please re-open if you disagree. |
Comment by Walter Heck [ 2012 Aug 14 ] |
Would it make sense to reflect in the documentation and in ./configure --help that static linking is not recommended? That could have just saved me a ton of time |
Comment by richlv [ 2012 Aug 22 ] |
it would make sense, but please open a new issue about it |
Comment by dimir [ 2012 Aug 22 ] |
I agree on adding that note. Please mention the new issue number here. |
Comment by dimir [ 2012 Aug 30 ] |
Added a note here: http://www.zabbix.com/documentation/2.0/manual/installation/install#configure_the_sources |
Comment by Jason Markowitz [ 2013 Aug 21 ] |
I was able to work around this issue by installing glibc-static packages. |
[ZBX-4376] Quoted spec symbols in lld via proxy Created: 2011 Nov 22 Updated: 2017 May 30 Resolved: 2012 Feb 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | item_prototypes.png items.png |
Description |
24917:20111122:233650.539 In DCmass_proxy_add_history() "{#SNMPVALUE}":"GigabitEthernet0 /10"}, { "{#SNMPINDEX} ":10111, ":"GigabitEthernet0 and we have incorrect item key in zabbix server. Ex.: |
Comments |
Comment by Alexander Vladishev [ 2011 Nov 30 ] |
It's normal. All low level discovery data is stored and processed in JSON format. Slashes (/) in JSON strings should be escaped. (www.json.org) Please attach a screenshot, if you have a problem with LLD. |
Comment by Alexey Pustovalov [ 2011 Dec 01 ] |
screenshots |
Comment by Alexander Vladishev [ 2011 Dec 01 ] |
What database you are using on server and proxy side? |
Comment by Alexander Vladishev [ 2011 Dec 01 ] |
Confirmed, when using mysql on proxy side. |
Comment by Alexander Vladishev [ 2011 Dec 01 ] |
Could repeat only once. After setting additional debug-information in the code and compilation of a proxy the problem hasn't repeated. Try to recompile a proxy too using these commands: ./bootstrap.sh |
Comment by Alexey Pustovalov [ 2011 Dec 01 ] |
problem remains with last trunk proxy on PostgreSQL. |
Comment by Alexey Pustovalov [ 2011 Dec 01 ] |
on debian with mysql the problem hasn't repeated. |
Comment by Alexander Vladishev [ 2011 Dec 01 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4376 |
Comment by Alexey Pustovalov [ 2011 Dec 01 ] |
working. Thanks |
Comment by dimir [ 2011 Dec 01 ] |
Do we really want to "set standard_conforming_strings to off;" ? |
Comment by Alexander Vladishev [ 2011 Dec 01 ] |
You are right! It is the bad idea. In version PostgreSQL 8.1 this variable only for reading. I re-open this problem for finishing. |
Comment by Alexander Vladishev [ 2011 Dec 01 ] |
Has been fixed by another way. Please retest r23707. |
Comment by dimir [ 2011 Dec 02 ] |
I like it! |
Comment by Alexander Vladishev [ 2011 Dec 02 ] |
Fixed in version pre-1.9.9, revision 23728. Backported to pre-1.8.10, revision 23729. |
Comment by richlv [ 2014 Jan 30 ] |
note that json standard does not require escaping of slashes (only doublequotes and backslashes). from http://www.ietf.org/rfc/rfc4627.txt : "All Unicode characters may be placed within the quotation marks except for the characters that must be escaped: quotation mark, reverse solidus, and the control characters (U+0000 through U+001F)."
|
[ZBX-4336] Error not cleared when changing item status to active in frontend. Created: 2011 Nov 09 Updated: 2017 May 30 Resolved: 2012 Apr 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | dimir | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | items, unsupported | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
MySQL 5.1, Debian GNU/Linux. |
Description |
2 ways of changing item status from "not supported" to "active" out of 4 are not working properly. Not working properly meaning here not clearing the error message so on the right of the item an "error" icon is left. Not working ways:
Working ways
|
Comments |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 01 ] |
fixed problem with item status clearing when changing to active in front-end. |
Comment by richlv [ 2011 Dec 01 ] |
(1) i believe spacing at the end of line for this changed block does not conform to the coding style anymore : + $sql = 'SELECT itemid,interfaceid,name,key_,error, hostid,delay,history,status,type,' . <Vedmak> btw, why this sql was changed? We should not allow user change 'error' field anyhow, it's done only by server. |
Comment by Alexey Fukalov [ 2011 Dec 02 ] |
(2) [GUI] <Vedmak> CLOSED |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 02 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4336 |
Comment by Alexey Fukalov [ 2011 Dec 05 ] |
(3) [GUI] <Vedmak> still incorrect at some places. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 05 ] |
(4) [GUI] <Vedmak> try to update any item, error about undefined index status appears. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 05 ] |
(5) [GUI] else { $sql = 'UPDATE items SET status='.$status.',error='' WHERE itemid='.$item['itemid']; } If/else with same statement <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 08 ] |
(6)[GUI] |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 12 ] |
fixed in version pre 1.9.9, revision 23888 |
Comment by richlv [ 2012 Apr 10 ] |
reopen to change labels |
[ZBX-4334] do not hide disabled triggers and web scenarios by default Created: 2011 Nov 09 Updated: 2017 May 30 Resolved: 2011 Nov 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
in trigger and web monitoring config, by default disabled entities are not shown. this is extremely confusing for new users, as they disable something... and it disappears without any way to bring it back. small link in the upper right corner to show them is not really something users expect to look for. i'd call this a serious usability bug <jerware> why does configuration say I have one trigger as in Triggers (1) under the triggers column then not list it when I click the triggers link ? |
Comments |
Comment by Alexander Sorokin (Inactive) [ 2011 Nov 30 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4334 |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 01 ] |
Everything ok. TESTED. |
Comment by Alexander Sorokin (Inactive) [ 2011 Dec 01 ] |
Fixed in trunk. |
[ZBX-4311] It's possible to create a graph prototype with the same name as a host graph Created: 2011 Nov 02 Updated: 2017 May 30 Resolved: 2011 Dec 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 1.9.7 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Pavels Jelisejevs (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | discovery, graphs, lld | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
1. Create a host graph; |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 02 ] |
RESOLVED. |
Comment by Alexey Fukalov [ 2011 Dec 02 ] |
(1) [GUI[ |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 02 ] |
Merged to trunk revision r23746. CLOSED. |
[ZBX-4302] Cannot add trigger with more than 255 symbols in the expression field Created: 2011 Nov 01 Updated: 2017 May 30 Resolved: 2011 Dec 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 2 |
Labels: | expressions, triggers, validation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
latest trunk |
Issue Links: |
|
Description |
Description field in the "triggers" table have limited length. |
Comments |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 01 ] |
Hi, >Description field in the "triggers" table have limited length. In the Zabbix DB column size for both "expression" and "description" fields is set to 255 characters. When in trunk version (v1.9.8, rev #22836) trying to create trigger with description (name) longer than 255 characters (in the frontend can enter trigger name that will be longer than 555 characters, can enter 259 characters), then in the frontend got the following error: Value "'...'" is too long for field "description" - 259 characters. Allowed length is 255 characters. [CTrigger.update -> CTrigger.updateReal -> DB.update -> DB.checkValueTypes] When trying to create trigger with expression longer than 256 characters, user will be not allowed to enter the remaining symbols in the expression field. Do you mean this difference ? Do you want us to trim these excessive symbols in the "description" field ? Or maybe you want us to increase this length for the "expression" field ? |
Comment by richlv [ 2011 Nov 01 ] |
i think "description" in the issue is a mistake and it refers to frontend checking expression length before collapsing functions. dotneft, is that correct ? if so, seems pretty serious to me and should also be doublechecked in 1.8 also |
Comment by Alexey Pustovalov [ 2011 Nov 01 ] |
yes, rich, you're right |
Comment by Oleksii Zagorskyi [ 2011 Nov 01 ] |
> ... should also be doublechecked in 1.8 Seems the problem is reproducible only in the trunk. 1.8 branch works well in such cases. |
Comment by Eduards Samersovs (Inactive) [ 2011 Dec 09 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-905 |
Comment by Oleksii Zagorskyi [ 2011 Dec 09 ] |
Reopen to remove 2.0 form "Fix Version/s:" |
Comment by Oleksii Zagorskyi [ 2011 Dec 09 ] |
Closed again |
Comment by Simon Kowallik [ 2012 Mar 30 ] |
zabbix-2.0.0rc3.x-26490/database/mysql# grep expression schema.sql The mysql DB schema limits expressions to 255 chars by default?! Thats to short I think. |
Comment by Simon Kowallik [ 2012 Mar 30 ] |
— frontends/php/include/schema.inc.php.orig 2012-03-30 14:38:32.096541376 +0200
— database/mysql/schema.sql.orig 2012-03-30 14:40:13.626523795 +0200
|
Comment by Volker Fröhlich [ 2012 Mar 30 ] |
I agree with Simon, you could easily hit this limit: Or with hysteresis or macros: ( {TRIGGER.VALUE}=0 & {53249}>{$MAX_CURRENT_CONNECTIONS_ALARM}) | ({TRIGGER.VALUE}=1 & {53249}>{$MAX_CURRENT_CONNECTIONS_RELIEF}) Or a complicated temporal constraint (which is ugly to define that way anyway): {26061}>90& {26060}>050000&{26060}<220000 I also can't see, why acknowledgement comments must be limited: https://support.zabbix.com/browse/ZBXNEXT-929 url and description on the triggers table aren't terribly large either. |
Comment by Simon Kowallik [ 2012 Mar 30 ] |
Does http://pastebin.com/XEx2099X work? |
Comment by richlv [ 2012 Mar 30 ] |
volker, your first example is 129 characters long, second is 41. |
Comment by Volker Fröhlich [ 2012 Mar 30 ] |
That's right, and both of them are very simple. I just wanted to pinpoint some factors that can quickly produce a long trigger expression. |
Comment by Simon Kowallik [ 2012 Mar 30 ] |
{hostname.subdomain.example.com:Item_Name.2.3.12.1.2.[" {#SNMPINDEX}"].strlen(0)}<0|({hostname.subdomain.example.com:Item_Name.2.3.12.1.4.["{#SNMPINDEX}"].str("Active",3600)}#1&{hostname.subdomain.example.com:Item_Name.2.3.12.1.4.[" {#SNMPINDEX}"].str("Disconnected",3600)}#1) for example. and this is also a very simple expression. As Itemnames and Hostnames all count for the expression length, it is very easy to violate the 255 char limit with more complex expressions. |
Comment by Simon Kowallik [ 2012 Mar 30 ] |
Another example: "].change(0)}=1&({hostname.subdomain.example.com:Item_Name.2.3.12.1.4.[" {#SNMPINDEX}"].str("Active")}=1|{hostname.subdomain.example.com:Item_Name.2.3.12.1.4.["{#SNMPINDEX}"].str("Disconnected")}=1) |
Comment by richlv [ 2012 Mar 30 ] |
but these examples are not what is stored in the db, in the db functionids are used instead (like in volker's examples) |
Comment by Simon Kowallik [ 2012 Mar 30 ] |
richlv, ok. But with 2.0.0rc3.x-26490 frontend I receive an error, when I try to assign a template with a trigger with this kind of expression. "].change(0)}=1&({hostname.subdomain.example.com:Item_Name.2.3.12.1.4.[" {#SNMPINDEX}"].str("Active")}=1|{hostname.subdomain.example.com:Item_Name.2.3.12.1.4.["{#SNMPINDEX}"].str("Disconnected")}=1)'" is too long for field "expression" - 275 characters. Allowed length is 255 characters. For me this is a huge problem. |
Comment by Volker Fröhlich [ 2012 Jun 10 ] |
Can we please re-open this? |
Comment by richlv [ 2012 Jun 10 ] |
looks like the latest example is actually about the trigger length, as actually recorded in the db, so a new zbxnext would probably be the best choice |
Comment by Simon Kowallik [ 2012 Jun 11 ] |
Hello Volker, Maybe you can test the following Patch: https://gist.github.com/2908937 Status: Works for me. |
Comment by Arun Sasidhar [ 2012 Jul 03 ] |
I have the same issue with latest Zabbix version. I have attached a screenshot of my error. My Zabbix Version is : Zabbix server v2.0.1 (revision 28455) (27 June 2012) and in MySQL schema file I can see root@zabbix-serv6 mysql]# grep expression schema.sql |
[ZBX-4298] No messages in the LEVEL_WARNING log about deleted values by housekeeper (table "housekeeper") Created: 2011 Oct 31 Updated: 2017 May 30 Resolved: 2011 Dec 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.8.8 |
Fix Version/s: | 1.8.10, 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | housekeeper | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
DebugLevel=3 |
Description |
When zabbix_server works with the DebugLevel=3 it reports to the log this message: But here are not included values deleted by housekeeper for the items already deleted from configuration (table "housekeeper"). Try to imagine a situation when some user has performed "Unlink and clear" action with some big template linked to the several hosts and in the nearest hour he felt some problem with the DB performance and he thinks - what happened ? Here is part of DebugLevel=4 (I added several EOL for better view): 15500:20111031:150250.029 End of housekeeping_history_and_trends():0 15500:20111031:150250.029 Deleted 0 records from history and trends 15500:20111031:150250.029 In housekeeping_process_log() 15500:20111031:150250.029 query [txnlev:0] [delete from history where itemid=22578 limit 100] 15500:20111031:150250.044 query without transaction detected 15500:20111031:150250.044 query [txnlev:0] [delete from history_uint where itemid=22577 limit 100] 15500:20111031:150250.060 End of housekeeping_process_log():SUCCEED 15500:20111031:150250.060 In housekeeping_alerts() now:1320062561 15500:20111031:150250.060 In housekeeping_sessions() now:1320062561 (in this example "MaxHousekeeperDelete=100") As you see in the function "housekeeping_process_log()", where the values are deleted from the tables history, history_uint (and not only), no messages are added for the LOG_LEVEL_WARNING. I ask to add these messages to log. Maybe individually per each table, maybe summarize history+trends, I don't know how is better. If any such values were not deleted then needn't to report any messages. |
Comments |
Comment by Oleksii Zagorskyi [ 2011 Oct 31 ] |
(1) By the way, the name of function "housekeeping_process_log()" seems is not optimal. I suggest to change it to "housekeeping_process_deleted_items()" or similar. <dimir> I chose housekeeping_cleanup(), RESOLVED in r23553 <zalex> Excellent ! CLOSED |
Comment by dimir [ 2011 Nov 25 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4298 |
Comment by dimir [ 2011 Nov 25 ] |
I've chosen "housekeeping_cleanup()", if nobody minds. So the report will look like this: 11921:20111125:180134.824 housekeeper deleted 0 records from history and trends, 28561 records of deleted items, 0 events, 0 alerts and 0 sessions This will be logged on every housekeeper step even if nothing was removed. Agreed with sasha that this way there will will be no questions whether it actually was or not an attempt to delete the data. |
Comment by Oleksii Zagorskyi [ 2011 Nov 27 ] |
Dev branch tested. Works as expected. Single line for report is very-very good. (2) I would suggest to write that line as: <dimir> RESOLVED in r23560 <zalex> Many thanks. CLOSED. |
Comment by dimir [ 2011 Nov 30 ] |
Fixed in pre-1.8.10 r23632, pre-1.9.9 r23633. |
Comment by Alexander Vladishev [ 2011 Nov 30 ] |
(1) Broken compilation of the latest trunk. housekeeper.c: In function ‘housekeeping_cleanup’: <dimir> sorry for the broken trunk, RESOLVED in r23663 directly in trunk <zalex> tested. trunk r23663 compiled ok and it works. <sasha> CLOSED with small change in r23688. |
Comment by richlv [ 2011 Nov 30 ] |
(2) also : <dimir> "Old history and trends" is the outdated information (as configured in the item keep this and that), "records of deleted items" is all the data (basically what's in "housekeeper" table) related to removed item. <zalex> maybe would be better to replace all words "records" to the "values"? It will be more clear. <dimir> For me "deleted 2 values from history and trends" is not more clear than "deleted 2 records from hostory and trends". What I'd add is singular value support. <dimir> if there are no objections, RESOLVED in r23681 <zalex> dev branch r23681 tested. it works (see 1 event): <dimir> We decided to discard these changes as we don't have anything like it anywhere. CLOSED |
Comment by dimir [ 2011 Dec 01 ] |
Oleksiy, thank you for testing! |
Comment by dimir [ 2011 Dec 01 ] |
Fixed in trunk r23663. |
Comment by richlv [ 2011 Dec 01 ] |
(3) i suspect "d_clenup" is a typo <dimir> Right, RESOLVED in pre-1.8.10 r23732, pre-1.9.9 r23733. |
Comment by Alexander Vladishev [ 2011 Dec 02 ] |
Closing resolved issue |
Comment by dimir [ 2011 Dec 02 ] |
Reopening to assign to myself. |
Comment by dimir [ 2011 Dec 02 ] |
Closed. |
Comment by richlv [ 2011 Dec 19 ] |
48 deleted events reported as 1 in 1.8.10rc1 strace output : event_strace.13938:write(6, "$\0\0\0\3delete from events where eventid=11", 40) = 40 |
Comment by Alexander Vladishev [ 2011 Dec 19 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4298 |
Comment by dimir [ 2011 Dec 19 ] |
Tested successfully. |
Comment by Alexander Vladishev [ 2011 Dec 28 ] |
Available in version pre-1.8.11, r24309. |
[ZBX-4281] Search group with templates Created: 2011 Oct 26 Updated: 2017 May 30 Resolved: 2012 Jul 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.7 (beta) |
Fix Version/s: | 1.9.9 (beta), 2.0.2rc1, 2.1.0 |
Type: | Incident report | Priority: | Minor |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
if search group with templates only, link 'Edit hosts' go to edit hosts not edit templates. |
Comments |
Comment by Alexey Fukalov [ 2012 Jul 06 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4281 |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jul 09 ] |
TESTED. |
Comment by Alexey Fukalov [ 2012 Jul 10 ] |
Fixed in pre-2.0.2rc1 r28777, pre-2.1.0rc1 r28778 |
Comment by richlv [ 2012 Jul 13 ] |
for the record, the fix was to split up host & template editing links |
[ZBX-4277] First and another errors about snmp Created: 2011 Oct 26 Updated: 2018 Feb 09 Resolved: 2012 Jul 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 1.9.7 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Critical |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | snmp | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
lastest rev 22669 |
Description |
i have errors in log zabbix proxy and server: but i don't see in tcpdump queries: apc.BatteryTemperature have oid .1.3.6.1.4.1.318.1.1.1.2.2.2.0 |
Comments |
Comment by richlv [ 2011 Oct 26 ] |
please, attach a screenshot of item configuration. also, you could try snmpget for the oid exactly as it's specified in the item configuration |
Comment by Alexey Pustovalov [ 2011 Oct 26 ] |
time snmpget -v2c -c public c2r3ups01.88.ru .1.3.6.1.4.1.318.1.1.1.2.2.2.0 real 0m0.051s real 0m0.050s real 0m0.051s real 0m0.050s |
Comment by Alexey Pustovalov [ 2011 Oct 26 ] |
item settings |
Comment by Alexey Pustovalov [ 2011 Oct 27 ] |
we checking then the problem and found following relationships: But the problem remains, how affected by the availability of DNS records for hosts with check by ip? |
Comment by Alexei Vladishev [ 2011 Nov 17 ] |
Perhaps SNMP device relies on availability of DNS somehow, say for security checks, audits, something else? |
Comment by Alexey Pustovalov [ 2011 Nov 17 ] |
maybe. I think net-snmp have internal checks,audit... etc. |
Comment by Alexey Pustovalov [ 2012 Jul 28 ] |
I think we can close the issue. |
[ZBX-4262] can't select item prototypes for graph y axis min/max Created: 2011 Oct 21 Updated: 2017 May 30 Resolved: 2011 Dec 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | graphs, lld, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | r23752-mysqldump.txt r23752-objdump.txt.gz r23752-zabbix-server.log |
Description |
create a graph prototype on an lld rule. try to select an item prototype for y axis min/max - that is not available. this makes creating graphs like "used diskspace projected on a graph going from 0 to total diskspace" impossible |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 21 ] |
GUI RESOLVED. |
Comment by dimir [ 2011 Dec 02 ] |
(2) Crash in unreachable poller when processing discovery rule. Attached files: r23752-mysqldump.txt Steps to reproduce: vfs.fs.size[{#FSNAME} ,total]
Frequency: 2/2 (the second time from clean database). <sasha> Thanks for objdump! RESLOVED <dimir> Perfect! CLOSED |
Comment by dimir [ 2011 Dec 05 ] |
Tested successfully. |
Comment by Alexander Vladishev [ 2011 Dec 05 ] |
Available in version pre 1.9.9, revision 23781. |
[ZBX-4260] Query slow with large events table Created: 2011 Oct 20 Updated: 2017 May 30 Resolved: 2011 Dec 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.6 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Corey Shaw | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | dashboard, database, performance | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL5 Number of hosts (monitored/not monitored/templates) 342 310 / 0 / 32 |
Description |
I started noticing today that the zabbix dashboard was loading slowly. In particular, the system status section took 10+ seconds to finish loading. During the loading I did a "SHOW processlist" in MySQL and found that queries like this one were running: SELECT e.* FROM EVENTS e I then ran an explain on it and found that there was no index being used. My "events" table has 199.11k rows in it. Since the query had to do a table scan, it was very slow to run. After creating an index on the "objectid" column with the query below, the queries were MUCH faster. The "system status" section now loads up in about 2-3 seconds. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 05 ] |
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-4260 |
Comment by Oleksii Zagorskyi [ 2011 Dec 07 ] |
Interesting, could this improvement help for the <zalex> ok, suggested index has not been added. No luck. <pavels> Noup, this fix only improves queries that use sorting by the "clock" column. The events table can be considerably large and adding more indexes may not be a good idea. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 08 ] |
Merged to trunk r23867. CLOSED. |
[ZBX-4235] Graph axis labels incorrect in localized GUI Created: 2011 Oct 14 Updated: 2017 May 30 Resolved: 2011 Nov 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.9, 1.9.7 (beta) |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Jens Berthold | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | graphs | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Debian 6, MySQL |
Attachments: | latest-data-english.jpg latest-data-german.jpg zabbix_english.png zabbix_german.png | ||||||||
Issue Links: |
|
Description |
With german localization, axis labels show zero instead of numbers, or show too much decimals with percent values. |
Comments |
Comment by Oleksii Zagorskyi [ 2011 Oct 14 ] |
I can confirm the same in Ukrainian and Russian locales in the latest trunk rev 22380. |
Comment by Alexey Fukalov [ 2011 Nov 15 ] |
Cannot reproduce this problem with default graphs from "Linux template", does this problem occur on all graphs or only specific ones? <pavels> Can't reproduce it too. <zalex> Still can reproduce in the rev 23335. Any idea how to check the differences in our systems? <richlv> php versions, gd versions ? |
Comment by richlv [ 2011 Nov 22 ] |
for the record, can't reproduce in trunk rev 23404. just a quick idea, have mo files been remade recently ? |
Comment by Oleksii Zagorskyi [ 2011 Nov 22 ] |
Reproducible as mentioned above:
The problem ***NOT*** reproducible on:
|
Comment by Jens Berthold [ 2011 Nov 22 ] |
Could it have something to do with Suhosin patch? Reproducible on:
|
Comment by richlv [ 2011 Nov 22 ] |
suhosin might be easy to test - uninstalling/disabling it & trying again should reveal that |
Comment by Jens Berthold [ 2011 Nov 23 ] |
Right |
Comment by Jens Berthold [ 2011 Nov 23 ] |
Same error seems to be with latest data. I attached two more images with that view. |
Comment by Oleksii Zagorskyi [ 2011 Nov 23 ] |
I can confirm the same problems for latest data page as Jens mentioned. |
Comment by Oleksii Zagorskyi [ 2011 Nov 23 ] |
Not reproducible (trunk r 23438):
|
Comment by Oleksii Zagorskyi [ 2011 Nov 23 ] |
On Debian 6.0.3 (mentioned above) the problem is still reproducible after replacing "php5 5.3.3-7+squeeze3" to the "php5 5.3.8.0-1" |
Comment by Alexey Fukalov [ 2011 Nov 23 ] |
Does systems where error is reproducible has bcmath extensions for php? And are all required extensions installed (passed requirements test during installation)? <zalex> On Debian 6.0.3 I have installed libapache2-mod-php5 -> |
Comment by Aleksandrs Saveljevs [ 2011 Nov 24 ] |
This looks similar to |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 24 ] |
Zabbix uses the "en" locale for LC_NUMERIC, it seems it doesn't work on some of these machines. Is it possible that there is no "en" locale available? Could you run "locale -a"? <zalex> output for all mentioned OS added. see comments above. |
Comment by Oleksii Zagorskyi [ 2011 Nov 25 ] |
What you say about these lines:
I'm and Jens we both had only "en_GB" locale installed but not the "en_US". In the Debian it's command "dpkg-reconfigure locales" Pavels, you know what to do next. <pavels> Yeah, sorry, I forgot to mention, that we currently use en_US. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 25 ] |
Please review the fix for 1.8 in branches/dev/ RESOLVED. |
Comment by Oleksii Zagorskyi [ 2011 Nov 25 ] |
Note: <pavels> Then their default local must use periods as decimal points. I have an idea how to fix it without depending on locales, I'll give it a try Monday. |
Comment by Oleksii Zagorskyi [ 2011 Nov 25 ] |
Dev branch (for trunk) tester. Works as expected for non-english GUI with installed only one locale of "en_GB" or "en_US". |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 28 ] |
I've added the POSIX locale as an alternative LC_NUMERIC locale. It should be supported on all *nix systems and it also uses a dot as a decimal separator. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 30 ] |
Merged to trunk revision r23618 and branches/1.8 revision r23615. CLOSED. |
[ZBX-4192] pre-zabbix-1.9.7.x-22074.tar.gz - compiling problems Created: 2011 Oct 01 Updated: 2017 May 30 Resolved: 2012 Feb 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.9.7 (beta), 2.0.0 |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Critical |
Reporter: | Eugene Istomin | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | building, rpm | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
build.opensuse.org |
Description |
http://www.zabbix.com/downloads/nightly/pre-zabbix-1.9.7.x-22074.tar.gz /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a(simple.o): undefined reference to symbol 'ber_free' Full rpm make log: |
Comments |
Comment by richlv [ 2011 Oct 01 ] |
might be related to policy change (for fedora, though) : |
Comment by Aleksandrs Saveljevs [ 2011 Nov 09 ] |
Might be related to |
Comment by Seh Hui "Felix" Leong [ 2011 Nov 16 ] |
The patch in |
Comment by Alexei Vladishev [ 2012 Feb 18 ] |
I believe it has been fixed in |
Comment by Eugene Istomin [ 2012 Feb 21 ] |
Yea, this issue has been fixed in last 1.9.9 |
Comment by Eugene Istomin [ 2012 Feb 21 ] |
Yea, this issue has been fixed in last 1.9.9 |
[ZBX-4106] layout of "status of triggers" screen element broken Created: 2011 Sep 03 Updated: 2017 May 30 Resolved: 2012 Jan 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | screens, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | status_of_triggers.png status_of_triggers_narrow.png |
Description |
see the screenshot. layout of screen elements "status of host/host group elements" is totally broken |
Comments |
Comment by Alexey Fukalov [ 2011 Sep 28 ] |
svn://svn.zabbix.com/branches/dev/ZBX-4106 |
Comment by Alexey Fukalov [ 2011 Sep 29 ] |
svn://svn.zabbix.com/trunk 22064 |
Comment by richlv [ 2012 Jan 27 ] |
(2) turns out it's still not good - if a screen is wide enough and "status of triggers" ends up being narrow, we get ugly wrapping https://support.zabbix.com/secure/attachment/17892/status_of_triggers_narrow.png <Sasha> I confirm in IE9, Firefox and Opera. Chrome work fine. |
Comment by Alexey Fukalov [ 2012 Jan 30 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4106 |
Comment by Alexander Vladishev [ 2012 Jan 30 ] |
Successfully tested! Tested with Chrome, IE9, Opera and Firefox. |
Comment by Alexey Fukalov [ 2012 Jan 30 ] |
svn://svn.zabbix.com/trunk 25081 |
[ZBX-4073] proxy accepts parameters it does not use Created: 2011 Aug 25 Updated: 2017 May 30 Resolved: 2012 Jan 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P) |
Affects Version/s: | 1.8.7rc1 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Trivial |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | proxy, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
zabbix proxy seems to accept a few configuration parameters it does not use, notably TrendCacheSize and StartHTTPPollers additionally, housekeeper/housekeeper.c in proxy claims that " * Purpose: remove outdated information from history and trends", which also seems to be slightly incorrect |
Comments |
Comment by Alexander Vladishev [ 2012 Jan 06 ] |
Updated documentation: |
Comment by Alexander Vladishev [ 2012 Jan 06 ] |
Fixed in the development branches: |
Comment by dimir [ 2012 Jan 10 ] |
Tested, please review my changes in r24630 and r24631. Feel free to argue about those. Great! CLOSED |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
Fixed in version pre-1.8.11, revision 24666. |
[ZBX-4024] SQL statements for database initialisation should be run in a transaction Created: 2011 Aug 08 Updated: 2017 May 30 Resolved: 2011 Nov 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 1.8.6 |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Christoph Haas | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | database, installation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Debian GNU/Linux "testing". Linux kernel 2.6.38. 64 bit (aka "amd64"). SQLite version 3.7.7. Laptop with Core i7 system with 4 GB of RAM and 128 GB SSD. |
Issue Links: |
|
Description |
The SQL statements used to initialise the database should be encapsulated in a transaction. Current situation: In create/schema/sqlite.sql you use a transaction: BEGIN TRANSACTION; In create/data/data.sql you don't use a transaction: When using SQLite3 this leads to an fsync() call after each INSERT statement. On a decent server with a non-decent file system (ext3 does not handle fsync() correctly) and a decent write-cache this may work. But on my development system I use ext4 with an SSD and populating the SQLite3 database takes over an hour! With ext3 it takes half an hour. When using strace I see that the system is stuck time and again on fsync() calls. Besides this has surely worn down my SSD a lot. I investigated a little and it appears like SQLite is doing the right thing using fsync after each write action. In fact they recommend to use transactions so that only one fsync is happening after the transaction is committed. I changed the create/data/data.sql as follows: BEGIN; This initialises the database within just one second. I researched on MySQL and PostgreSQL and both understand BEGIN and COMMIT (but not "BEGIN TRANSACTION") so it should be safe to use. I cannot test for DB2 and Oracle though. I flagged this issue an "improvement" but in fact it's a serious problem that wastes a lot of time during installation and damages disks. As you just have to add BEGIN and COMMIT this should be simple to fix. |
Comments |
Comment by dimir [ 2011 Aug 22 ] |
The problem is basically Oracle. It doesn't have "BEGIN" thing. So if we want a transactioned data import in SQLite we would have to maintain separate data.sql files and we don't want that. Basically we see the only solution as to note somewhere in the instructions that SQLite users must wrap the data.sql around "BEGIN/COMMIT" manually. <dimir> Here is our suggestion (thanks for an idea to sasha): Here is the debian/rules section to create SQLite db: cat create/schema/sqlite.sql create/data/data.sql create/data/images_sqlite3.sql > $(TMP_SERVER_SQLITE3)/usr/share/dbconfig-common/data/$(PKG_SERVER_SQLITE3)/install/sqlite3 How about just modifying it to: (cat create/schema/sqlite.sql; echo 'BEGIN;'; cat create/data/data.sql create/data/images_sqlite3.sql; echo 'COMMIT;') > $(TMP_SERVER_SQLITE3)/usr/share/dbconfig-common/data/$(PKG_SERVER_SQLITE3)/install/sqlite3 ? <richlv> this will work, but you will probably see higher load from shell (should be ok in this case, but with larger datasets it can be a huge problem) |
Comment by Christoph Haas [ 2011 Aug 22 ] |
Your call. That would mean I'd have to permanently ship a patch with Debian packages. Without that fix an installation time of up to an hour will probably not be considered acceptable for the SQLite3 packages. |
Comment by Alexei Vladishev [ 2011 Oct 26 ] |
Fixed in development branch for Zabbix 2.0. Ready to test. |
Comment by Aleksandrs Saveljevs [ 2011 Oct 28 ] |
(1) Directory "database" is missing proper svn:ignore settings. <alexei> RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Oct 28 ] |
(2) File "do" in the root directory is hopelessly outdated. Shall we remove it? <asaveljevs> Let's clean up "go" script, too. <alexei> removed both files. RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Oct 28 ] |
(3) Script gen_php.php does not work anymore: $ php gen_php.php <alexei> RESOLVED <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Oct 28 ] |
(4) Please review r22787 and r22791. The commits are mostly about fixing typos and style inconsistencies. <asaveljevs> In particular, it fixes a typo in ChangeLog: "db data file uses transations now". However, I did not understand what kind of translations are meant. Could you please explain that? Perhaps it is something worth documenting. <richlv> i'd guess it was supposed to be "transactions"... unless this was a clever sarcasm that i fell for, it shows the importance of (not having) typos <alexei> it shows importance of having spell checker built-in vi editor. RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Oct 28 ] |
(5) Script export_data.sh can only be run from create/src, but it would be nice to be able to run it from any directory. Property svn:ignore would then have to be set up to ignore data.tmpl.new, wherever that is generated. <alexei> Now data.tmpl.new is ignored under create/bin. RESOLVED <asaveljevs> It is still not possible to run export_data.sh from any directory. <asaveljevs> Also, if data.tmpl is located in create/src, why not place data.tmpl.new in that directory, too? <alexei> The file will write data to stdout like other utilities do. Also added help string, proper exit code. It is possible to run it from any directory. RESOLVED <asaveljevs> Still not possible to run from any directory: $ create/bin/export_data.sh issue_zbx_4024 > /dev/null <alexei> I wrongly tested it running from src, bad test. RESOLVED <asaveljevs> Still not possible. For instance, from a directory that contains spaces: $ ZBX\ 4024/create/bin/export_data.sh issue_zbx_4024 | head -10 <alexei> now it works with spaces and hopefully with other special characters as well. RESOLVED <asaveljevs> No, it does not: $ ZBX\ 4024/create/bin/export_data.sh issue_zbx_4024 | head -10 You have not fixed all the places. <alexei> it's a shame! RESOLVED <asaveljevs> Hurray! CLOSED. |
Comment by Aleksandrs Saveljevs [ 2011 Oct 28 ] |
(6) Pipe-delimited approach for data may fail if data itself contains pipes. For instance, this can happen with triggers that use OR in expressions or item keys that use regular expressions. Maybe not now, but in future we will have to take that into account. <richlv> appliance templates already use this (to detect various possible apache or syslog process names) - i'd say that's pretty critical <alexei> RESOLVED <asaveljevs> The following code is wrong: local $line = $_[0]; Replacing of "&pipe;" should be done after splitting $line by pipe characters. <alexei> :-0 RESOLVED <asaveljevs> Looks good. Please review additional changes in r22883. <asaveljevs> Please also take a look at r22893 - it fixes start of transactions in SQLite3. Statements for transactions in IBM DB2 and Oracle will remain empty. <alexei> I like changes in the Perl code, SQLite3 fix is also great. CLOSED. |
Comment by Alexei Vladishev [ 2011 Nov 01 ] |
Fixed issues found during code review and testing. Ready to retest. |
Comment by Aleksandrs Saveljevs [ 2011 Nov 02 ] |
(7) I have updated instructions for Oracle at http://www.zabbix.com/documentation/2.0/manual/installation/install?&#zabbix_database . Since I do not know the current state of <alexei> I found no issues, Oracle instructions look good to me. CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 15 ] |
(8) Please review the list of tables that should be included by export_data.sh in data.tmpl. <alexei> RESOLVED <asaveljevs> After these changes (actually, before these changes, too), empty tables might appear in data.tmpl. Do we want that? <asaveljevs> I have exported a database with a slide show in it. When trying to import it into a new database, I get the following error: $ mysql -uroot issue_zbx_4024 < database/mysql/data.sql <asaveljevs> Please also review changes in r23222 and r23223. <alexei> The changes are ok to me. I ordered all tables so they match referential integrity constraints. Note that no handling of loop constraints (table1->table2->table1) and self-references (table1->table1) is implemented currently. Now empty tables do not appear in both data.tmpl and schema.tmpl. RESOLVED. <asaveljevs> It would be nice to group tables in schema.tmpl more logically, so that semantically similar table are closer together. For instance, there is no need to keep "trigger_depends" table so far from "triggers" table and "maintenances_*" tables" are very far from "maintenances" table. <alexei> Fixed trigger_depends & triggers. I am afraid of reviewing and moving other tables (look at maintenances*, there are so many constraints attached!), it may break something if not done very carefully. I would leave it as it is, it's really hard to come up with a single "placement principle", who is coming first, etc. <asaveljevs> We have a comment in schema.tmpl that says "-- History tables". Tables "dhosts" and "dservices" are not in that section, although they might be considered history tables. Same for "autoreg_host" and "proxy_autoreg_host". <alexei> RESOLVED <asaveljevs> Also, table "ids" references table "nodes", but comes before it. Same for tables that reference "images" table. <alexei> RESOLVED <asaveljevs> OK, CLOSED for all. <asaveljevs> Please review my changes in r23329. <alexei> I like it. CLOSED. |
Comment by Alexei Vladishev [ 2011 Nov 29 ] |
Resolved in 23584. |
Comment by richlv [ 2011 Nov 30 ] |
reopen to set more precise "fix for" version |
Comment by richlv [ 2011 Nov 30 ] |
see |
Comment by Aleksandrs Saveljevs [ 2012 Dec 04 ] |
SQLite FAQ has a high-level explanation for the reason it took so long without transactions: http://www.sqlite.org/faq.html#q19 . |
[ZBX-4015] Persistent Cross Site Scripting Vulnerabilities Created: 2011 Aug 04 Updated: 2020 Jul 16 Resolved: 2011 Dec 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.5 |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Defect (Security) | Priority: | Blocker |
Reporter: | Martina Matari | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | security | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Debian GNU/Linux 5.0.8 (Lenny) Tested with: |
Attachments: | 1.png 2.png 3.png 4.png link_indicator.jpg monitoring_dashboard.jpg monitoring_maps.jpg timeperiod.jpg triggers_items.jpg | ||||||||
Issue Links: |
|
Description |
These URL's are vulnerable to persistent XSS attacks due to improper sanitation of gname variable when creating user and host groups. URL: Vulnerable parameter: Method: Injected: Persists in: |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 02 ] |
RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 29 ] |
Merged to /branches/1.8 revision r23578. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 29 ] |
(4) Fixed another issue in /branches/dev/ <sasha> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 29 ] |
(5) Added a fix for the trunk to /branches/dev/ <sasha> CLOSED |
Comment by richlv [ 2011 Dec 01 ] |
(6) see <pavels> RESOLVED in branches/dev/ <richlv> wouldn't this change it functionally (remove those spaces, making it look worse ?), and i believe spacing at the end of the line has not been updated according to the guidelines
<pavels> It doesn't change anything, I just replaced the character with a literal space. Fixed the spacing. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 01 ] |
(7) Fixed XSS in the profiler and some HTML entity issues in branches/dev/ <sasha> REOPENED <pavels> RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 02 ] |
Merged to 1.8 revision r23754. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 06 ] |
Merged to trunk revision 23800. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 08 ] |
(8) [GUI] Rich suggested, that using non ASCII characters in the code may cause problems, so I changed the HTML encoding strategy to ignore ampersands. This will allow us to use HTML encoded characters in the code. Please review my commit to /branches/dev/ REOPENED and RESOLVED. |
Comment by Alexander Vladishev [ 2011 Dec 08 ] |
branches/dev/ |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 08 ] |
Updated trunk r23875 and 1.8 r23878. CLOSED. |
Comment by richlv [ 2012 Jan 03 ] |
this resulted in a regression : |
[ZBX-4009] {HOSTNAME} and {IPADDRESS} macros are not resolved in custom labels on network maps in the edit mode Created: 2011 Aug 03 Updated: 2017 May 30 Resolved: 2011 Dec 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.5 (alpha) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Sergey Syreskin | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | maps, regression, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL 5 derivative, PostgreSQL 8.4, PHP 5.1.6 |
Description |
I'm not sure whether this is a bug or feature. To reproduce: 5) save; 6) open the map in the editor, see that host label is shown as "{HOSTNAME} {IPADDRESS}"; 6) go to network maps monitoring, open the map, see that {HOSTNAME} {IPADDRESS} are substituted with the respective values as expected. |
Comments |
Comment by richlv [ 2011 Aug 03 ] |
that was sort of a planned change, but it has regressions - most notably, makes map editing much harder as identifying map elements now is impossible without opening their properties individually. same goes for all other macros, as before it was possible to simply add a macro to reference item value and immediately see whether it was correct - not possible anymore. possible solution would be a "resolve macros" mode - by default they would not be resolved (improves performance), but could be easily enabled. this functionality was lost during development of |
Comment by Alexei Vladishev [ 2011 Oct 12 ] |
That's the difference between Monitoring and Configuration sections. In Configuration we tend to display configuration parameters as they are without substitution of macros. That's the general approach we applied to maps as well. I agree that a special "Preview" button would be a nice touch though. |
Comment by richlv [ 2011 Oct 12 ] |
after some discussion this was decided to be a serious enough regression in the editing mode to warrant a blocker priority |
Comment by richlv [ 2011 Dec 15 ] |
rough initial specification at https://zabbix.org/wiki/Docs/specs/ZBX-4009 <pavels> I think it should affect everything in the map configuration, not just the map itself. Should we resolve all of the macros, or just some of them, e.g HOST.NAME or IPADDRESS? Someone also had a nice idea, that the resolved macros should be highlighted with some color to separate them from plain text. |
Comment by Alexey Fukalov [ 2011 Dec 23 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4009 |
Comment by Alexander Vladishev [ 2011 Dec 23 ] |
Successfully tested! |
Comment by Alexey Fukalov [ 2011 Dec 23 ] |
MERGED: svn://svn.zabbix.com/trunk 24241 |
Comment by Oleksii Zagorskyi [ 2011 Dec 24 ] |
Just for case - do not forget to update http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200 with this feature. |
Comment by Alexey Fukalov [ 2011 Dec 27 ] |
Added note to What's new. |
[ZBX-3988] Browser memory leak on some pages of zabbix web interface Created: 2011 Jul 28 Updated: 2017 May 30 Resolved: 2011 Dec 20 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.6, 1.9.6 (beta) |
Fix Version/s: | 1.8.9, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | memoryleak | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
WinXP32 SP3, Opera 11.50 build 1074. |
Attachments: | 3operas_memory leak.png Opera_DEV-3988_memleak.png firefox-memory-leak.png |
Description |
Last time (~ last week) i have huge problem - my Opera periodically eats all RAM (4GB), it hangs and if i could not close it in time, even OS hangs and i have only one way - press reset button. I have opened several Zabbix GUI tabs on the Opera all time, and sometimes i leave opened Dashboard tab in the background and i don't select it for some time. After some short time my system becomes unstable and finally not responds - Opera ate all virtual memory. When i switch to tab with Dashboard and move mouse over several widgets (without any click, only mouse over !!!) then Opera drops all memory leak. Speed of memory leak (only one tab with Dashboard opened) ~ 500 Mbytes/hour of virtual memory. I have configured monitoring of revision changes for different components on the my dev-server and i can assume that problem can appears between revs 20500 and 20667. So i think you should to take a look to this situation. And i feel that this situation related to the Another browsers are not tested. |
Comments |
Comment by Oleksii Zagorskyi [ 2011 Jul 28 ] |
Note: Pages Auto-updating is disabled in the profile (Refresh (in seconds)=0) |
Comment by Oleksii Zagorskyi [ 2011 Jul 28 ] |
Meh, just rebooted (by reset button). And I've had opened pages: items.php, trigger_prototypes.php, events.php, tr_status.php |
Comment by Oleksii Zagorskyi [ 2011 Aug 11 ] |
About the picture "3operas_memory leak.png" Other opera instances have ~40-60 tabs opened each. Checked on several different WinXP workstations with the same version of Opera. |
Comment by Aleksandrs Saveljevs [ 2011 Aug 17 ] |
Same happens in Firefox in Zabbix 1.8.6. See firefox-memory-leak.png. The only thing that computer is doing is showing a single slide show on the monitor. |
Comment by richlv [ 2011 Aug 21 ] |
note that slideshow one was reported some time ago already as ZBX-3878 |
Comment by Alexey Fukalov [ 2011 Oct 06 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-3988 |
Comment by Aleksandrs Saveljevs [ 2011 Oct 06 ] |
Does not seem to leak in Safari, but leaks pretty fast in Internet Explorer 7 and Internet Explorer 9. Also seems to leak slowly in Opera (raised from 130 MB to 190 MB in approximately an hour) on Windows and Firefox and Google Chrome on Linux. |
Comment by Oleksii Zagorskyi [ 2011 Oct 17 ] |
Deep and long tests of this dev branch were made. Memory leak reproducible only on the page "slides.php" (Opera under Linux & Windows). |
Comment by Oleksii Zagorskyi [ 2011 Oct 17 ] |
It seems that memory leaks on the page "slides.php" highly dependent on the screen's (used in the slides) content. |
Comment by Oleksii Zagorskyi [ 2011 Oct 18 ] |
the picture attached. sorry |
Comment by Oleksii Zagorskyi [ 2011 Nov 02 ] |
Maybe it's time to commit this changes to 1.8 branch & trunk ? For slide shows we have separate issue ZBX-3878. |
Comment by Alexey Fukalov [ 2011 Nov 02 ] |
Resolved except slideshow leaks. |
Comment by Aleksandrs Saveljevs [ 2011 Nov 02 ] |
(1) You have added loading of menus.js for items.php and slides.php, but we do not have that JavaScript file in our repository. <asaveljevs> Also, please review r22897. <Vedmak> RESOLVED <asaveljevs> CLOSED |
Comment by Alexey Fukalov [ 2011 Nov 04 ] |
svn://svn.zabbix.com/branches/1.8 22963 |
Comment by Oleksii Zagorskyi [ 2011 Nov 04 ] |
Thank you for fixing ! |
Comment by Oleksii Zagorskyi [ 2011 Nov 23 ] |
I feel that memory leaks are back. Not sure for 1.8 or trunk branch. I need several days to be sure. |
Comment by Oleksii Zagorskyi [ 2011 Nov 23 ] |
Yeah, leaks definitely are back. Currently tested only Dashboard page, but after two days I feel that not only dashboard affected. Related only to trunk branch, i.e. latest revision of 1.8 branch is ok. According to revision changes monitoring (my very specific solution) I suppose the changes between revisions 23287 and 23335 but I'm not sure. <zalex> <Vedmak> Leaks are in Dashboard screen? <zalex> yes, leaks are not only in th dashboard. In the triggers, events pages too. I think in other pages too. <pavels> zalex, when you tested opera, did it leak continuously? I've tried to open about 20 trigger pages simultaneously and it ate up about 20 Mb per refresh, but when it reached 350 Mb the leak seamed to stop and stabilized. I tried it on a different page with just some content and auto refresh, and it seams opera does leak when refreshing a page, but always stabilizes at some point. The trigger page doesn't leak in Firefox or Chrome, the dashboard seems to leak a bit, but much slower. <zalex> pavels, a dynamic of leak in the Opera for windows and linux is different. In windows need to wait ~ 5-10 minutes to see the leaking start. In windows it up every minute and constantly. No need to open many tabs/pages, single page is enough. I always have auto-refresh pages DISABLED, i.e. 0 seconds. <pavels> Wait, you mean that the trigger and event pages leak even when auto refresh is disabled? <zalex> Yes, definitely. All my life (on all zabbix installation, databases, etc) I have auto-refresh pages DISABLED, i.e. 0 seconds. <pavels> Found were the leak is. Now all I need is to figure out how to fix it. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 20 ] |
Well that was fun and interesting. RESOLVED in /branches/dev/ |
Comment by Oleksii Zagorskyi [ 2011 Dec 20 ] |
Fast test of dev branch shows that the leaks are missing at the events page (Opera for Windows and Linux). <zalex> Report of long testing is ready. NO MORE MEMORY LEAKS !!! Thanks. |
Comment by Alexei Vladishev [ 2011 Dec 22 ] |
It is not about memory leaks, but please also test if blinking works fine without any visible problems in case of large number of visual elements, say, 1000 of triggers with some of them blinking. It is because the new algorithm is more CPU intensive. <pavels> Tested it in firefox with about 700 events, all of them blinking. CPU usage does go up about 10 percentage points, but the page stayed responsive and I haven't noticed any slow downs at all. <zalex> Tested Opera for Windows and Linux with blinking 1000 rows at the events and triggers pages. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ] |
Merged the jqBlink fix to the trunk r24269. CLOSED. |
Comment by hamid sfandiari [ 2012 Mar 12 ] |
I've same issue on Firefox and chrome .. it's occurs when I used a slide show which contains graph, but when I load a side show with map(s) the problem is not occurs |
Comment by Oleksii Zagorskyi [ 2012 Mar 12 ] |
Hamid, I'd suggest you to move this comment to the ZBX-3878. |
[ZBX-3955] Database table names are not validated in popup windows Created: 2011 Jul 15 Updated: 2020 Jul 16 Resolved: 2012 Jan 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.5 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Defect (Security) | Priority: | Critical |
Reporter: | Alexey Fukalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 2 |
Labels: | gui, security, validation | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Comments |
Comment by Aleksandrs Saveljevs [ 2011 Jul 15 ] |
Reported by Damian Tommasino in https://support.zabbix.com/browse/ZBX-3840?focusedCommentId=43000&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_43000. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 23 ] |
(1) Please review my changes in r24957. If everything is ok, you can merge. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 25 ] |
I had another look and realized, that there is a better way to fix it. REOPENED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 25 ] |
I've implemented a stricter parameter validation. Please review. RESOLVED. |
Comment by Alexey Fukalov [ 2012 Jan 30 ] |
(2) [GUI] <pavels> Thanks, CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 30 ] |
Merged to 1.8 r25074. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jan 30 ] |
The fix for the trunk is available in /branches/dev/ RESOLVED. |
Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 01 ] |
Merged to trunk r25132. CLOSED. |
[ZBX-3832] mysterios periods_cnt option Created: 2011 May 23 Updated: 2017 May 30 Resolved: 2011 Nov 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Documentation (D), Frontend (F), Installation (I), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | codequality, graphs, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
for custom graph items, there's a periods_cnt db field/option. this option is not documented anywhere and nobody knows what it does. it should either be nuked or properly documented/exposed. |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 25 ] |
It has been decided to remove aggregate graph items whatsoever. Please review the update for the trunk GUI in /branches/dev/ |
Comment by richlv [ 2011 Nov 25 ] |
(1) doesn't server also need some updates for graphs it creates from network discovery, active agent auto-registration and low level discovery ? <pavels> Ah, of course it does, sorry. <dimir> CLOSED |
Comment by richlv [ 2011 Nov 26 ] |
(4) documentation must be updated : it should also be noted that this change will have to be reflected when transferring xml docs and possibly others <pavels> RESOLVED. <pavels> CLOSED. |
Comment by Alexander Vladishev [ 2011 Nov 30 ] |
Available in version pre1.9.9, r23639. |
[ZBX-3518] popup clutter in overview by triggers Created: 2011 Feb 09 Updated: 2017 May 30 Resolved: 2012 Mar 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.4 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | overview, popups, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | many-popups-1.png many-popups-2.png |
Description |
Go to "Monitoring" -> "Overview" -> "Triggers". Click on a blue arrow. A popup with a list of trigger dependencies will appear. Then click in that popup. New blue popup windows will appear. These blue popup windows might come in different flavors (see many-popups-1.png and many-popups-2.png). The first problem is that these blue popups are hidden behind the trigger dependency popup. The second problem is that it is not entirely clear what these blue popups relate to. The third problem is that they do not go away automatically. |
Comments |
Comment by richlv [ 2011 Sep 05 ] |
still there in trunk rev 21494. |
Comment by Alexander Vladishev [ 2012 Mar 09 ] |
Already fixed in version pre-1.8.11 r24338 and 1.9.9 r24346 with |
[ZBX-3475] Compilation error --with-sqlite3 on FreeBSD Created: 2011 Jan 28 Updated: 2017 May 30 Resolved: 2012 Jan 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.9.2 (alpha) |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | freebsd | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
FreeBSD8.1 |
Attachments: | ax_lib_sqlite3.m4.diff | ||||||||
Issue Links: |
|
Description |
If i configure --with-sqlite3 then: If i configure --with-sqlite3=/usr/local then: It seems need to improve SQLite3 checking in the different OS. p.s.zabbix_server (--with-sqlite3=/usr/local) starts and works normally with the sqlite3 db-backend. |
Comments |
Comment by Alexei Vladishev [ 2011 Jan 28 ] |
Sorry, but I do not see any issues here. Why blocker? Check for the SQLite3 library is done in exactly the same way as, for example, check for PostgreSQL library. We do not look at any OS specific directories. I am closing it. |
Comment by Oleksii Zagorskyi [ 2011 Jan 30 ] |
he-he, the game is NOT over. I'm not agree that "/usr/local" is a specific directory. It's prefix-path, where installed all software under FreeBSD and maybe not only - i don't know. Okay enough talk, take my very simple patch "ax_lib_sqlite3.m4.diff" A source info here: Well, after figure out of the source code and manuals of auto**** stuff I see that static linking is not provided - and really I can't compile with --enable-static flag. Check it out and apparently it also should to be fixed. |
Comment by Alexei Vladishev [ 2011 Jan 31 ] |
All right, I agree that it shouldn't be closed. Let's keep it open, priority was changed to Minor. |
Comment by Alexander Vladishev [ 2012 Jan 30 ] |
Fixed in versions pre-1.8.11 r25085 and pre-1.9.9 r25087. See |
[ZBX-3358] Possible to add circular trigger dependency Created: 2010 Dec 30 Updated: 2017 May 30 Resolved: 2012 Jan 31 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Konstantin Buravcov (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | dependencies, triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | Screenshot-Configuration of triggers - Mozilla Firefox.png bug_2.png bug_3.png bug_6.png |
Description |
In trunk you can create a circular dependency for a trigger. 1. Create "Trigger A" |
Comments |
Comment by Konstantin Buravcov (Inactive) [ 2010 Dec 30 ] |
Fixed in dev branch |
Comment by Alexey Fukalov [ 2011 Jan 10 ] |
Trigger dependencies in template are not preserved on linkage |
Comment by Alexey Fukalov [ 2011 Jan 10 ] |
have one template linked to a host. if we try to add dependency in template trigger to another template trigger with updating expression, errors appear. |
Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 04 ] |
All the other mentioned prtoblems seem to be solved in dev branch. Also there as another one - it was possible to add a dependency on a trigger from template, that was not linked to the host where original template was linked, but only when changing trigger expression. This was also fixed. Please test and review (especially class.ctrigger.php) |
Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 04 ] |
Added unit test testFormTrigger_CircularDependency |
Comment by Alexey Fukalov [ 2011 Feb 15 ] |
(1) Fixed and added tests (KB) |
Comment by Aleksandrs Saveljevs [ 2011 Feb 22 ] |
(5) Create a templated trigger with dependencies. Go to a host that the template is linked to and remove the dependencies. Go to the templated trigger, do not change anything, click "Save". In 1.8, dependencies on a host trigger will not be recreated (there was a ZBX about it). In the development branch, they will be. what's the expected behavior? (KB) The expected behavior is that only changes in trigger configuration are propagated downwards. For instance, if only trigger comments have changed, then trigger comments should be updated in the linked hosts and templates. Other things like dependencies, event generation, severity, URL, enabled/disabled status should not be. Same holds for items. (asaveljevs) See Fixed (KB) |
Comment by Oleksii Zagorskyi [ 2012 Jan 29 ] |
Why this issue closed as Fixed (even with Fix version/s 2.0.0) without any comments? |
Comment by Oleksii Zagorskyi [ 2012 Jan 31 ] |
Summarize: Will be closed as fixed for version 1.9.9. See |
[ZBX-3286] Ability to automatically/manually delete discovered resources (low level discovery). Created: 2010 Dec 13 Updated: 2017 May 30 Resolved: 2011 Dec 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 1.9.1 (alpha) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 13 |
Labels: | discovery, lld | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
latest trunk |
Attachments: | zabbix_server_demo_R23852.log | ||||||||
Issue Links: |
|
Description |
Now the auto-added resources (items, triggers) can not be deleted. Only graph can be manually deleted - i think tis is bug. Need to come up with a mechanism for automatic/manual removal of obsolete resources. I do not have a clear vision of how it should look, but I think that should be able to manually remove these obsolete resources, for example they should be made available for manual deletion (not obsolete resources should stay unavailable for deletion). This is the case if automatic deletion is not enabled. as discussed with Aleksandrs Saveljevs i mark this issue as "blocker" |
Comments |
Comment by Paxos [ 2011 Apr 27 ] | ||||
Having the same issue with 1.9.3. I think the current logic of keeping auto-generated resources around after they disappear from discovery is the way to go. However, these items must be able to be removed manually and not auto-removed. | ||||
Comment by Marcin Gapiński [ 2011 Oct 14 ] | ||||
It would be great if there was an option to choose what to do when discovered item is no longer present. I can think of two possible scenarios: delete that item automatically or disable it and allow for manual removal. That would certainly decrease resources usage on rapidly changing monitoring environment. | ||||
Comment by Yoav Steinberg [ 2011 Nov 08 ] | ||||
I'd really like to see an option to auto remove discovered items. For things like file system or net interfaces this might not be critical, and we might want to continue seeing these items after we remove them. But other use cases like for monitoring instances of a process on a system that spawn new processes based on some external input (rapidly changing system) there should be an option to automatically delete the discovered items after they disappear. | ||||
Comment by Alexei Vladishev [ 2011 Nov 16 ] | ||||
A new global (Administration->General->???) configuration parameter will define life time of lost items. If an item exceeds the period, it will be removed and a new record for housekeeper will be added as well. | ||||
Comment by Alexey Pustovalov [ 2011 Nov 21 ] | ||||
maybe do better not global? host level or discovery? | ||||
Comment by richlv [ 2011 Nov 21 ] | ||||
lld rule level would seem to be most appropriate. for example, we might have a host which has network interfaces quite rapidly changed, thus we know that interface going down would allow us to mostly safely remove it after 3 days. on the other hand, disk volumes going away would be less frequent, and data would be more important in the long term, thus we would like to have those items only removed after 2 weeks have passed | ||||
Comment by Alexei Vladishev [ 2011 Nov 23 ] | ||||
Sure, it's better to keep it on lld level with support of user macros (template, host, global). | ||||
Comment by Alexey Fukalov [ 2011 Dec 05 ] | ||||
New field "lifetime varchar(64)" is added to "items" table. Allows usermacro or number in days. | ||||
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 06 ] | ||||
(1) GUI Same for validatePortNumber() <Vedmak> RESOLVED <pavels> CLOSED. | ||||
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 06 ] | ||||
(2) GUI <Vedmak> RESOLVED <pavels> CLOSED. | ||||
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 06 ] | ||||
(3) GUI <Vedmak> CLOSED | ||||
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 06 ] | ||||
(4) DOC <Vedmak> I'll update db and api docs, and put separate paper on the board for it. <pavels> Db and API docs are ok. CLOSED. | ||||
Comment by Alexander Vladishev [ 2011 Dec 06 ] | ||||
(5) [DB] DB patches <Vedmak> RESOLVED | ||||
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 06 ] | ||||
(6) GUI <Vedmak> RESOLVED <pavels> CLOSED. | ||||
Comment by Alexander Vladishev [ 2011 Dec 06 ] | ||||
(7) [GUI] when creating/updating a discovery rule with 'Keep lost resources period (in days)' = 0 an error occurs: <Vedmak> RESOLVED <pavels> CLOSED. | ||||
Comment by richlv [ 2011 Dec 06 ] | ||||
(8) api docs (to avoid overloading (4)) b) also should be listed at http://www.zabbix.com/documentation/2.0/manual/appendix/api/changes_1.8_-_2.0 <Vedmak> RESOLVED <richlv> do we have a rule on class naming ? because now we have "TemplateScreen" and "Discoveryrule" - would be nice to settle on either camelcase or something. <zalex> last question moved to | ||||
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 07 ] | ||||
GUI is TESTED. | ||||
Comment by Alexander Vladishev [ 2011 Dec 07 ] | ||||
A server side is ready to test! <dimir> Great! Please review my changes that allow it to work without graph prototypes in r23965 . | ||||
Comment by Oleksii Zagorskyi [ 2011 Dec 08 ] | ||||
I could not to not test the dev branch ASAP >>> 15557:20111208:010525.923 poller #1 spent 2.178640 seconds while updating 1 values
real 0m1.965s | ||||
Comment by Oleksii Zagorskyi [ 2011 Dec 08 ] | ||||
(9) An item, has been not passed through the filter but doesn't deleted yet, still continue to be monitored: mysql> select i.lastclock, d.lastcheck from items i, item_discovery d where i.itemid=25905 and i.itemid=d.itemid;
-----------
----------- Is it ok by design? added: How is else the user can understand that some resources are not discovered anymore? <zalex> some part moved to the | ||||
Comment by Oleksii Zagorskyi [ 2011 Dec 08 ] | ||||
(11) I would suggest to change default value 0 days for "Keep lost resources period (in days)" to for instance 1 day when an user creates new discovery rule. It's danger behavior. The user has to set 0 day only when he is understanding what he doing. <zalex> moved to | ||||
Comment by Ghozlane TOUMI [ 2011 Dec 09 ] | ||||
Hi.
That way the user can choose between automatic and manual creation / deletion, That could allow some nw use cases like : | ||||
Comment by dimir [ 2011 Dec 14 ] | ||||
Note, until svn diff svn://svn.zabbix.com/branches/dev/ZBX-4425 -c r23945 in order to test it. | ||||
Comment by Alexey Fukalov [ 2011 Dec 21 ] | ||||
merged: svn://svn.zabbix.com/trunk 24129 | ||||
Comment by Alexey Fukalov [ 2011 Dec 21 ] | ||||
Additional improvements will be implemented in | ||||
Comment by Oleksii Zagorskyi [ 2011 Dec 21 ] | ||||
Reopened to close (move) some comments; | ||||
Comment by Oleksii Zagorskyi [ 2011 Dec 21 ] | ||||
Closed again. | ||||
Comment by Nelson Rotunno [ 2014 Jul 29 ] | ||||
I've been looking around on the forums and whatnot and it seems like there is still no way to manually delete discovered resources, it would be great to see that added. At least in my case, many (nearly 30) unnecessary network interfaces are added via the discovery rule and even though it is possible to disable the new items as a whole, I find this rather "polluting" to my setting. I see no reason to leave those items there and I can't just recreate the host since I want to keep its historical data. Besides, those items won't get scheduled for auto cleanup because they're still discovered, I simply don't want them around anymore. |
[ZBX-3149] 'Server info' resource for Screen is not translatable Created: 2010 Oct 27 Updated: 2017 May 30 Resolved: 2012 Apr 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Minor |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | localization, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | 2.after_patch.png class.cserverinfo.php.diff server_info_untranslated.png |
Description |
I propose: |
Comments |
Comment by Oleksii Zagorskyi [ 2010 Oct 27 ] |
And may be it better to use full words description for count of items, hosts, trigger. Like in Dashboard now. |
Comment by Oleksii Zagorskyi [ 2010 Nov 10 ] |
Patch attached. See the result on picture. |
Comment by richlv [ 2010 Nov 24 ] |
i'd say it is best to deal with translation issues for trunk now that gettext is merged - both because it is more longterm solution, and also to make 1.8 as stable as possible. so in branches/dev/ first two implemented; |
Comment by Oleksii Zagorskyi [ 2010 Nov 24 ] |
ok, but keep in mind that the combination 'Zabbix server' as link + mandatory string 'is' are not translatable to Russian. I mean that the word 'is' are totally unnecessary in translation. |
Comment by richlv [ 2010 Dec 14 ] |
3. given that it's better to move to directly gettextised strings, 'Logged in as' just made gettext translatable; both of 3&4 should be unified (with dashboard and footer), but that's somewhat out of scope, thus it would be better to handle later also made "GETTEXT:" string work as a prefix for comments, directed at translators |
Comment by richlv [ 2010 Dec 14 ] |
please, review |
Comment by Konstantin Buravcov (Inactive) [ 2010 Dec 14 ] |
xgettext --add-comments looks correct |
Comment by richlv [ 2010 Dec 14 ] |
merged. for string unification, please file a new issue |
Comment by Oleksii Zagorskyi [ 2010 Dec 15 ] |
#. GETTEXT: r is date format string...... 'sec' in phrase "Refreshed every: 0 sec " - stay left untranslated Simply thing - maybe it better write something like GETTEXT_COMMENT instead of simply GETTEXT. Q:Richlv: zalex_ua, btw, any good examples when comments for translators would be very helpful ? (when translating without having frontend accessible, for example) ? For example in phpMyAdmin (were i'm also little translator ) for aprox. 2500 translation lines is exist about 50 comments. Normally IMHO. and see wordpress .po files example - very gud example. it seems in many places need to use 3.5.4. Disambiguation by context (see 2.0 documentation) Yes, when doing translation - I regularly have to spend, whether the place I translated what was assumed. can be continued.... |
Comment by Oleksii Zagorskyi [ 2012 Apr 27 ] |
Let's close it as fixed. All strings can be translated already. |
[ZBX-3104] Clock element with 'Host time' mode for templated screens. And other errors in screen. Created: 2010 Oct 16 Updated: 2017 May 30 Resolved: 2011 Nov 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.0 (alpha) |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | screens, templates | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
from trunk rev 14910. [DEV-483] added templated screens. |
Description |
Generally this is very nice feature, thanks. (4) For not templated screens need to check user select this parameters or not before saving. Try to save without selected host now. (6) And second serious new problem - now after save element is not updated on screen immediately. It need to click something and return back or refresh page to see changes. The same behavior for column, line add/remove. (7) In Monitoring -> Hosts need to add single space symbol between Hostname and DNS-name. (2) And not related only to trunk rev 14910 (something early revision): heh |
Comments |
Comment by Oleksii Zagorskyi [ 2010 Oct 16 ] |
Correcting: |
Comment by Oleksii Zagorskyi [ 2010 Oct 16 ] |
Templated screen added by "+" button is not presented on Dashboard in 'Favourite screens' widget. And templated screen cannot be added in this widget by using pop-up menu. <zalex> answer in the |
Comment by Oleksii Zagorskyi [ 2010 Oct 26 ] |
some parts from this is issue request now is resolved in |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 17 ] |
(1) "I think for templated screens this Parameter should be hided. " <zalex> Hmm, how the Clock element is able to display some data? As you see any templated screen resources (Graph, Plain text, Simple graph) are limited to select "Parameter" only from the same template. <pavels> The host time displays the local time on the monitored host. It receives data from some special item (can't recall the key), that's why it needs the parameter field. Guess that makes (1) CLOSED. Regarding the limited choice of items, I posted a separate commend below. <richlv> system.localtime, i guess <asaveljevs> Item key is "system.localtime[local]", to be more precise. <asaveljevs> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 17 ] |
(2) "If you open pop-up window for host selection and try to change host group then you receive error "Warning. Field [submitParent] is not integer". " <zalex> seems is not reproducible in the Zabbix 1.9.8 r23287 <richlv> this was fixed as CLOSED |
Comment by Oleksii Zagorskyi [ 2011 Nov 17 ] |
added numbering to description |
Comment by Oleksii Zagorskyi [ 2011 Nov 17 ] |
(6) and (7) seems are not reproducible in the Zabbix 1.9.8 r23287 |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 21 ] |
(3, 4). I've added validation rules for all screen elements with the "parameter" field. It's now mandatory. RESOLVED. <asaveljevs> CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 21 ] |
(5) RESOLVED. Plus I've made, that the selection of items for a templated clock should be limited to the items from the template. <asaveljevs> The popup for selecting an item for clock element shows template's technical name in the upper right corner. It should show the visible name instead. <pavels> RESOLVED <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 22 ] |
(8) File include/screens.inc.php, line 603 puts technical host name into $caption. It should put visible host name instead. <pavels> RESOLVED <asaveljevs> OK, but after the item is chosen and the popup is closed, the "Parameter" field in "Screen cell configuration" contains host's technical name. <pavels> Right. Fixed. RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 22 ] |
(9) Clock element links to zabbix.com. It probably shouldn't. <asaveljevs> If clock element with "Host time" is present in a templated screen, then on the host level it will try to show data from the item in the template. It should show data from host's item. <asaveljevs> Also, the clock element shows technical host name. It should show visible host name. <pavels> i've created a separate issue for these problems |
Comment by Aleksandrs Saveljevs [ 2011 Nov 22 ] |
(10) When selecting items for clock and plain text elements, item key column is not shown in the popup. <pavels> It's never shown when the popup displays items from a single host. Should it be? <asaveljevs> I think it should. As a server side developer, I don't care how my items are described - I do care about their keys. So when I search the popup, I search for the key, not description. <pavels> My mistake, the "key" column is displayed for the clock popup, it was only missing in the plain text popup. Fixed it. RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 22 ] |
(11) New file frontends/php/api/classes/class.cscreenitem.php does not have any properties set. It should have svn:eol-style property set to native. <pavels> RESOLVED <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 22 ] |
(12) That new file has text indented with tabs in PHP doc comments. Is that our new convention? <pavels> I think PHP doc wasn't mentioned in our coding style guidelines, but IMHO it's more readable that way. <richlv> if something is missing in the conventions/guidelines, it must be added (preferably at https://zabbix.org/wiki/Docs/specs/coding_style) <pavels> So which style do we choose? With aligned parameter description, or without? <pavels> We discussed it yesterday and settled for aligned style. Added it to the docs https://zabbix.org/wiki/Docs/specs/coding_style#PHPDoc. RESOLVED. <asaveljevs> Nice! CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 22 ] |
(13) Class Screen uses "if(!is_null($options['countOutput']))" in method get(). However, class ScreenItem uses "if ($options['countOutput'])" directly. Is that OK? <asaveljevs> Similarly, starting from line 424 and below the code uses different style for checking empty arrays: "if(!empty($hostgroups))" and "if ($hosts)". <pavels> "is_null()" is not exactly the same as just "if()", but it seems weird, that if we pass, for instance, "countOutput = fallse", "!is_null" will return true, and the "countOption" will be executed. "if(!empty($hostgroups))" and "if ($hosts)" is the same thing, as long as the $hosts variable is defined. <asaveljevs> Oh, sure, but it would be nice to use the same style everywhere. <pavels> I've replaced the API options checks for "is not null" to be consistent with other APIs, but I really see no reason to use the empty() and is_null() functions. <richlv> ...and we should document in the guidelines which ones should be used <asaveljevs> You have chosen to use "$var === null" style instead of "is_null($var)" style used elsewhere. Why? $ grepphp options | grep null | grep -c is.null <pavels> I, pesonally, think, that the === syntax is more readable, then is_null. E.g. if you check the return value of a function, foo() === null is much better then is_null(foo()) Plus, it's a bit faster then is_null: it doesn't have the overhead of calling a function. <pavels> Added it to the style guidelines https://zabbix.org/wiki/Docs/specs/coding_style#PHP_conventions RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 23 ] |
(14) Function checkInput() in class ScreenItem does not validate host group for "Data overview" element. <pavels> RESOLVED. <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Nov 23 ] |
(15) Please review my changes regarding formatting and typos in r23453. <pavels> CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 24 ] |
Merged to trunk revision r23493. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Nov 24 ] |
I've backported the fix for 1.8. It's available at /branches/dev/ |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 01 ] |
Merged to trunk r23677 and 1.8 r23675. CLOSED. |
Comment by richlv [ 2012 Jan 27 ] |
turns out this resulted in a regression for "triggers info" screen element validation, filed as |
[ZBX-2843] slideshow refresh time popup menu too wide Created: 2010 Aug 09 Updated: 2017 May 30 Resolved: 2011 Dec 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.8.10, 1.9.9 (beta) |
Type: | Incident report | Priority: | Trivial |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | slideshows, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | dashboard.jpg menu-trunk.png slideshow_refresh.png | ||||||||
Issue Links: |
|
Description |
see the screenshot. this menu should be half as wide as it currently is |
Comments |
Comment by richlv [ 2011 Nov 16 ] |
(2) unfortunately, refresh menu now completely fails in opera 11.52 : Uncaught exception: TypeError: Cannot convert 'get_style(test_element, 'font-size')' to object <sanja> RESOLVED <richlv> not sure about mozilla referenced in commit, but works fine in opera now -> CLOSED |
Comment by Alexander Sorokin (Inactive) [ 2011 Nov 16 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-2843 |
Comment by richlv [ 2011 Nov 16 ] |
for the record, dev branch rev 23266 works fine in konqueror 4.6 as well |
Comment by Igor Danoshaites (Inactive) [ 2011 Nov 16 ] |
Checked this change (from dev branch) for the v1.8 when using FF 7.0, IE 8.0, IE 9.0, Opera 11.01, Safari 5.0.3 and Chrome 15 browsers. |
Comment by Alexander Sorokin (Inactive) [ 2011 Nov 23 ] |
<sanja> Fixed in 1.8 and trunk |
Comment by Alexander Vladishev [ 2011 Dec 06 ] |
(3) Not all menus are correctly displayed <sanja> RESOLVED <pavels> If item names will be too long, the menu won't fit on the screen. We should probably truncate them to some reasonable size. REOPENED. <sanja> RESOLVED <pavels> Please review my last commit r23946. After that you can merge. TESTED. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 08 ] |
(4) [GUI] The text in the menu in the trunk is truncated incorrectly. <sanja> RESOLVED <pavels> Merge to 1.8 and then, if there are no conflicts, to the trunk. |
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 13 ] |
TESTED. |
Comment by Alexander Sorokin (Inactive) [ 2011 Dec 14 ] |
Merged to 1.8 and trunk |
Comment by Alexander Vladishev [ 2011 Dec 19 ] |
items.php: The menu of creation of trigger expressions isn't displayed |
Comment by Alexey Fukalov [ 2011 Dec 20 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-2843 |
Comment by Alexander Vladishev [ 2011 Dec 20 ] |
Tested successfully. |
Comment by Alexey Fukalov [ 2011 Dec 20 ] |
merged: svn://svn.zabbix.com/branches/1.8 24105 |
Comment by richlv [ 2011 Dec 21 ] |
(5) changelog entry missing in trunk changelog |
Comment by Alexey Fukalov [ 2011 Dec 21 ] |
merged: svn://svn.zabbix.com/trunk 24122 |
[ZBX-2806] Double notification messages (double-generated alert) Created: 2010 Aug 03 Updated: 2017 May 30 Resolved: 2011 Dec 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | actions | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
last trunk revision 13781 |
Attachments: | 1_double_message_#1.png 2_double_message_#2.png 2action.log 3_double_message_#3.png ZBX-2806-trunk.patch rev24046_improvement+DB_usage.png rev24046_improvement.png zabbix_server_patched.log.gz |
Description |
See attached screen shot. My config (easy to understand that in the picture, the problem is not relevant): : {STATUS}| {ITEM.NAME}| EVENT.ID: {EVENT.ID}| Server timestamp = {DATE}{TIME} | TRIGGER.NAME: {TRIGGER.NAME}*************************************************** ITEM.LOG.EVENTID1: {ITEM.LOG.EVENTID1}ITEM.LOG.SOURCE1: {ITEM.LOG.SOURCE1}ITEM.LOG.AGE1: {ITEM.LOG.AGE1}*************************************************** |
Comments |
Comment by Oleksii Zagorskyi [ 2010 Aug 19 ] |
Sorry, further to the Russian, because a lot of logic and I can make a mistake with the translation Теперь мне удается воспроизвести проблему боле четко, почти 100% воспроизведение. Предварительный итог таков: когда процедура "process_escalations" заканчивает свою работу после окончания процедуры "DCsync_configuration" тогда на последнее уже обработанное событие повторно ошибочно генерируется Алерт при следующем вызове процедуры "process_escalations". Извините если звучит сумбурно, но где то так. Я подготовил куски лога где видно последовательность как возникает проблема. Там же даны описания между абзацев. |
Comment by Daniel Poßmann [ 2011 Oct 14 ] |
could this issue also apply to zabbix 1.8.5? |
Comment by Oleksii Zagorskyi [ 2011 Oct 17 ] |
Yes, i managed to reproduce it in the latest trunk rev: And I'm almost sure that this problem connected to the call of function DCsync_configuration() Let me some time to figure out some detail in the debuglog. |
Comment by Oleksii Zagorskyi [ 2011 Oct 24 ] |
How to reproduce: 1. Agent bulk sends 50 values to server (one item as "zabbix agent active") |
Comment by dimir [ 2011 Nov 01 ] |
Which database? |
Comment by Oleksii Zagorskyi [ 2011 Nov 01 ] |
> Which database? |
Comment by dimir [ 2011 Nov 02 ] |
This happens when alerts are created and put to DB, before they are handled. When we receive 50 values 51 alerts are spawned and 51 alert entries are put to DB. So step 2 and 3 can be skipped. I continue working on it. |
Comment by dimir [ 2011 Nov 03 ] |
This happens when escalations are handled. The conflict is between "escalator" and "history syncer" processes when they access "escalations" table. Continue investigating. |
Comment by dimir [ 2011 Nov 03 ] |
I have added some logging and here's the difference (both examples of handling escalation ID 2): NO DUPLICATE EVENTS: DUPLICATE EVENTS: The problem happens when history syncer "intrudes" in while escalator is processing escalation. |
Comment by dimir [ 2011 Nov 07 ] |
So, the problem is that when escalator is selecting 51 escalations to process, from table containing 50 records. Here is how it happens:
For the information, this happens also with just 1 dbsyncer, so no dbsyncers conflict. |
Comment by dimir [ 2011 Nov 07 ] |
From MySQL manual: http://dev.mysql.com/doc/refman/5.0/en/set-transaction.html#isolevel_repeatable-read The default isolation level of a transaction is REPEATABLE READ which causes the behavior. If I add the code to set transaction level to READ COMMITTED to only read what is commited: SET TRANSACTION ISOLATION LEVEL READ COMMITTED the problem goes away. |
Comment by dimir [ 2011 Nov 07 ] |
We decided to make our transactions more isolated, by disabling reading uncommitted data explicitly. Related documentation: http://dev.mysql.com/doc/refman/5.0/en/set-transaction.html |
Comment by dimir [ 2011 Nov 07 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-2806 . How I tested it:
From console, feed the item with values (you can increase 50 to something bigger): $ for ((i=0; i<50; i++)); do rnd=$[ $RANDOM % 100 + 1 ]; bin/zabbix_sender -z 127.0.0.1 -s "Zabbix server" -k test.garbage -o $rnd; done You should be getting exactly 50 e-mails. |
Comment by dimir [ 2011 Nov 07 ] |
Patch for current trunk (r23016). |
Comment by dimir [ 2011 Nov 07 ] |
Oleksiy, I have attached the patch for current trunk, would it be possible for you to test that and confirm that it fixes the problem? |
Comment by Oleksii Zagorskyi [ 2011 Nov 08 ] |
Vladimir, |
Comment by Oleksii Zagorskyi [ 2011 Nov 08 ] |
Currently I must to note that seems it's easier to reproduce the bug with DebugLevel=4 but not 3. I tried patched version of latest trunk. But right now I tried my "old" method. And it works "even better" When I sent 200 values, I managed to reproduce the problem seems for 100% attempts (sometimes I have 202 alerts). Huh, sorry for possible not clear comment, but I write it during last day and after several touches this issue. See attached debuglog. Vladimir, why the issue is resolved? |
Comment by dimir [ 2011 Nov 09 ] |
Reopening based on comment https://support.zabbix.com/browse/ZBX-2806?focusedCommentId=50012&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-50012 |
Comment by dimir [ 2011 Nov 17 ] |
Move escalations handling to escalator process. RESOLVED in r23283 |
Comment by dimir [ 2011 Nov 17 ] |
This is a fix for 1.8 so Oleksiy, please wait till it's reviewed, then I'll create a patch for trunk. Merging a fix into trunk produces conflicts, I don't want to resolve them multiple times. <zalex> I can test any version, trunk or 1.8 branch. Currently I do not need the patch for trunk namely. If it makes sense to test 1.8 branch before code review, please let me know. <dimir> It would be great if you could try reproducing the bug with current 1.8 branch. Because I couldn't do it. Despite I was hitting the bug in 90% of cases when I used trunk. It's weird, considering that I could not find any differences in escalations handling code in 1.8 and trunk. |
Comment by Oleksii Zagorskyi [ 2011 Nov 21 ] |
<zalex> --->>>> 1.8 branch: Dev (this) branch: Vladimir, as you see I cannot reproduce even for 1.8 branch. |
Comment by dimir [ 2011 Nov 22 ] |
(5) Fix triggerid and r_evnetid fields handling in process_escalations(). These fields are NULL by default in trunk. <dimir> RESOLVED in r23428, r23431, please check |
Comment by dimir [ 2011 Nov 22 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-2806-trunk |
Comment by dimir [ 2011 Nov 22 ] |
Because the fix requires changes in database and it's not reproducible in 1.8 anyway the fix will be only provided for trunk. Oleksiy, it would be great if you could test svn://svn.zabbix.com/branches/dev/ZBX-2806-trunk . <zalex> Yes, some characters seems are not UTF8. I don't know what is that. Need to fix and then I'll retest it again. |
Comment by dimir [ 2011 Nov 23 ] |
(6) As zalex noted, there was a bug in SQL query. <dimir> RESOLVED in r23450, please retest. <zalex> r 23450, still error: <dimir> RESOLVED in r23455, sorry, my bad, I should have tested it better. <zalex> r23455. after 10 000 events the problem is NOT reproducible. Seems it's ready to test|review by developers. <dimir> Thank you, zalex. |
Comment by Alexander Vladishev [ 2011 Dec 05 ] |
(7) Escalation always is deleted after first step. Following steps will never be executed. <dimir> That's right, fixed delete escalation condition. RESOLVED in r23813. |
Comment by Alexander Vladishev [ 2011 Dec 05 ] |
(8) Please review my changes in rev 23773. <dimir> Perfect! CLOSED. |
Comment by Alexander Vladishev [ 2011 Dec 07 ] |
(9) src/zabbix_server/escalator/escalator.c:1243 <dimir> RESOLVED in r23905 |
Comment by Alexander Vladishev [ 2011 Dec 15 ] |
(10) Statement "SET DEFINE OFF" doesn't need the line-terminator ';' or '/'. Please remove it from gen_data.pl and help_items.sql. <dimir> RESOLVED in r24018 |
Comment by dimir [ 2011 Dec 16 ] |
Just a summary of what was done. Previously escalations were processed by both dbsyncer and escalator. The same records in escalations table were modified by both processes. This was causing a mess and this was not possible to fix without a locking mechanism which we don't have/use (in cases like these). So instead, now dbsyncer only inserts records, which are later modified/removed by escalator process. This also reduces the workload of dbsyncer which was also an issue. <richlv> thanks for the description. does http://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew200?&#improved_history_db_syncer_performance summarise it correctly ? <Sasha> Excellent! Thanks! <zalex> See to the attached picture "rev24046_improvement.png". I suppose the mentioned documentation note has to be reviewed (it seems escalator's work (load) noticeable decreased but not increased) -> REOPENED <richlv> updated manual according to the testing results (which imply that both escalator & history syncers are more efficient now) <zalex> Reviewed. I like it, thanks. CLOSED |
Comment by Alexander Vladishev [ 2011 Dec 16 ] |
Available in version pre-1.9.9, r24046. |
Comment by Oleksii Zagorskyi [ 2011 Dec 18 ] |
Just for case the last revision of trunk has been tested with big count of alerts (40 000). ALL IS FINE with the server. Reopened to remove 2.0 from Fix versions and add some interesting results of my experiments. |
Comment by Oleksii Zagorskyi [ 2011 Dec 19 ] |
Reopened to add additional statistic requested by Sasha. |
[ZBX-2701] empty value mappings Created: 2010 Jul 15 Updated: 2017 May 30 Resolved: 2012 Jan 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 1.9.9 (beta) |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
(1) During installation we add empty value mappings: "APC Battery Replacement Status", "APC Battery Status", "Dell Open Manage System Status", "HP Insight System Status". |
Comments |
Comment by richlv [ 2010 Jul 15 ] |
this is already solved in the appliance version - all empty mappings have been populated with proper values. |
Comment by Alexei Vladishev [ 2010 Dec 07 ] |
Rich, Can you fix existing data.sql as well? |
Comment by richlv [ 2010 Dec 28 ] |
maintaining two separate datasets is quite a time sink. while it probably would be possible to move data from appliance version to main data.sql, sql format used is different, so it's not a straightforwards change - it would be better to figure out a method to keep these more or less properly in sync |
Comment by Alexei Vladishev [ 2010 Dec 28 ] |
I am saying that we have to fix (1) and (2), that's it. No need to sync appliance data with data.sql! |
Comment by Aleksandrs Saveljevs [ 2010 Dec 28 ] |
Just a reminder that we have agreed earlier this year that we will not be making any significant changes to data.sql in 1.8 and we have even created |
Comment by richlv [ 2010 Dec 28 ] |
1. is a problem, but fixing it is... a twofold problem on it's own |
Comment by Igor Danoshaites (Inactive) [ 2012 Jan 06 ] |
we need to fix these empty value mappings in data.sql before releasing v2.0. |
Comment by Alexander Vladishev [ 2012 Jan 10 ] |
Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-2701 |
Comment by Alexander Vladishev [ 2012 Jan 11 ] |
Fixed in version 1.8.11, revision 24671. |
[ZBX-1609] dynamic indexes in SNMP don't work if searched values contain hex string Created: 2009 Dec 23 Updated: 2017 May 30 Resolved: 2012 Jan 16 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 1.8 |
Fix Version/s: | 1.8.11, 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | Vytautas | Assignee: | dimir |
Resolution: | Fixed | Votes: | 5 |
Labels: | snmp, snmpdynamicindex | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
fedora12, zabbix1.8, net-snmp-5.4.2.1-19.fc12.i686 |
Issue Links: |
|
Description |
This works: But this doesn't work: 1433:20091223:183623.215 Item [10.1.1.1:IF-MIB::ifInOctets["index","ifPhysAddress","0:d0:cf:6:3:77"]] error: Cannot find index [IF-MIB::ifPhysAddress] of the OID [IF-MIB::ifInOctets["index","IF-MIB::ifPhysAddress","0:d0:cf:6:3:77"]]: NOT FOUND: IF-MIB::ifPhysAddress[0:d0:cf:6:3:77] [root@backup ~]# snmpwalk -v 2c -c aaa 10.1.1.1 IF-MIB::ifInOctets [root@backup ~]# snmpwalk -v 2c -c aaa 10.1.1.1 IF-MIB::ifPhysAddress [root@backup ~]# snmpwalk -v 2c -c aaa -O0 10.1.1.1 IF-MIB::ifDescr |
Comments |
Comment by Rene Babel [ 2011 Oct 07 ] |
Is there any chance we get a fix in 1.8? Environment 7435:20111007:114844.624 Item [myserver:cpqDrvStatus1] error: Cannot find index [.1.3.6.1.4.1.232.3.2.5.1.1.5.0] of the OID [.1.3.6.1.4.1.232.3.2.5.1.1.6.0["index",".1.3.6.1.4.1.232.3.2.5.1.1.5.0","1"]]: NOT FOUND: .1.3.6.1.4.1.232.3.2.5.1.1.5.0[1] This command lists the slots, where drives are inserted And this one lists the actual status of the drives |
Comment by richlv [ 2011 Oct 17 ] |
most development effort is focused on 2.0 now, so chances of any significant changes appearing in 1.8 are very small |
Comment by dimir [ 2012 Jan 09 ] |
Added support for non-string value types. Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-1609 |
Comment by dimir [ 2012 Jan 09 ] |
Change "Fix Version/s". |
Comment by Alexander Vladishev [ 2012 Jan 16 ] |
Successfully tested! |
Comment by dimir [ 2012 Jan 16 ] |
Fixed in pre-1.8.11 r24798, pre-1.9.9 r24803. |
Comment by dimir [ 2012 Jan 16 ] |
Reopening to add 1.9.9 to "Fix Version/s". |
Comment by dimir [ 2012 Jan 16 ] |
Add 1.9.9 to "Fix Version/s". |
[ZBX-399] don't show triggers that haven't changed state if expression is changed Created: 2008 Jul 17 Updated: 2017 May 30 Resolved: 2013 Feb 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 1.9.9 (beta) |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
trunk revision 5831 |
Issue Links: |
|
Description |
if a trigger that has FALSE state has it's expression edited, it appears in he trigger list flashing. |
Comments |
Comment by richlv [ 2009 Mar 12 ] |
another issue is newly added triggers pop up the same way. adding a host with many triggers makes trigger view unusable without frontend hacking :/ |
Comment by richlv [ 2009 Mar 12 ] |
...and the original problem is still there in trunk, revision 6938 |
Comment by Mārcis Lielturks [ 2009 Nov 20 ] |
Changing trigger name also creates flash storm in monitoring->triggers on zabbix 1.6.6 |
Comment by Alexei Vladishev [ 2010 Dec 28 ] |
This is fixed in pre Zabbix 2.0 code (you may check one of 1.9.x already) so that the front-end does not react to unknown events. I am closing it for now. |
Comment by richlv [ 2011 Jan 07 ] |
unfortunately, this doesn't seem to be fully fixed. i just had lots of triggers have OK->UNKNOWN->OK even sequence, and all of them popped up in monitoring->triggers flashing there |
Comment by Alexander Vladishev [ 2013 Feb 08 ] |
It becomes not actual after implementation of |