[ZBXNEXT-1633] Implement virtual machine monitoring Created: 2013 Feb 21 Updated: 2018 Nov 15 Resolved: 2014 Jan 28 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), API (A), Frontend (F), Server (S) |
Affects Version/s: | 2.1.0 |
Fix Version/s: | 2.1.7 |
Type: | Change Request | Priority: | Major |
Reporter: | Pavels Jelisejevs (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 14 |
Labels: | virtualization, vmware | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | 1633-2.JPG 1633-3.JPG 1633-4.JPG 1633.JPG 1633.png Configuration of proxies - Mozilla Firefox_089.png auditlog.png bar.png templates.png | ||||||||||||
Issue Links: |
|
Description |
Zabbix will support monitoring of hypervisors and virtual machines. Specification at https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-1633 |
Comments |
Comment by Marc [ 2013 Mar 19 ] |
What about container based virtualization (like OpenVZ, Solaris zones, LXC, AIX workload partitions, etc.)? |
Comment by richlv [ 2013 Mar 19 ] |
it might be possible to implement in the same framework, but we're still waiting for the specification to appear |
Comment by Toms (Inactive) [ 2013 Mar 22 ] |
(1) Undefined variable: dbHost [hosts.php:643 → CView->render() → include() in C:\zabbix\ZBXNEXT-1633\frontends\php\include\views\configuration.host.edit.php:155] When creating new host. jelisejev RESOLVED in r34626. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 22 ] |
(2) According to spec: "The host inventory tab will not be displayed." jelisejev It was a last-minute change, I've added it to the spec. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 22 ] |
(3) + Same host prototype missing when exporting and importing host. jelisejev This is because currently prototypes that belong to an inherited LLD rules are not exported or cloned. There's a separate issue for that - ZBX-6364. CLOSED. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(4) gold or equivalent coloring missing for "dark orange" and "black & blue" themes for discovery rule prefix in host list. jelisejev Discovered objects are not highlighted in these themes, so we'll leave it as is for now. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(5) When saving inventory fields for discovered host. jelisejev RESOLVED in r34640. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(6) in hosts.php happened after deleting template which where linked to a host. jelisejev RESOLVED in r34647. Now if a host prototype is deleted, all discovered hosts will be deleted too. Added it to the spec. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(7) When creating new proxy, in other hosts field we see discovery hosts and host prototypes. We shouldn't see them here. jelisejev RESOLVED in r34641. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(8) When "selectHostPrototypes": true for discoveryrule.get, count is returned. Shouldn't. I suggest use of strict comparison everywhere where loose not necessary. jelisejev This is a global API issue that will be fixed under ZBXNEXT-1485. CLOSED. tomtom CLOSED |
Comment by Kodai Terashima [ 2013 Mar 25 ] |
Cannot get values on following items from vSphere 5.0 and 5.1:
Following items are ok:
It seems that Zabbix server returns NULL on this part in checks_simple_vmware.c: if (xmlXPathNodeSetIsEmpty(xpathObj->nodesetval)) { xmlCleanupParser(); return NULL; } kodai I confirmed these items work on r37381. CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(9) DB table hosts column flags has values 0,2 and 4, according to spec only 0 and 4 should be present. jelisejev This refers to the host API, not the table itself. It means that the hosts returned by the host API can only have values 0 and 4. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 25 ] |
(10) [S] have two hosts with discovery rules with host prototypes. sasha RESOLVED in r34970. tomtom REOPENED If we have already discovered two hosts and then change host prototype of one to make both hosts with same name, then visible name is changed for that host. This should be considered if it is desired behavior. sasha RESOLVED in r37576. CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Mar 26 ] |
(11) [FS] Host prototypes must not be available on discovered hosts. jelisejev Frontend side resolved in r34650. jelisejev We've decided that host prototypes must also not be inherited when from templates on discovered hosts. REOPENED. jelisejev Frontend side resolved in r34980. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(12) No need for braces in CValidator.php line:34 ... $this->{$key} = $value; jelisejev RESOLVED r34753. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(13) typo in ... throw new Exception(sprintf('Incorrect option "%1$s" for validator "%1$s".', $name, get_class($this))); jelisejev RESOLVED r34753. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(14) configuration.host.discovery.list.php
jelisejev RESOLVED in r34755. tomtom REOPENED 1st part not resolved or comment missing why it wont be resolved. jelisejev $data['host'] is used multiple times in this view so adding a shortcut is more convenient and IDE-friednly. tomtom I still think that this shortcut brings unnecessary complexity. Approved by Sasha that this should be removed. jelisejev RESOLVED in r34976. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(15) jelisejev RESOLVED in r34756. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(16) When adding flexible interval for item prototype. jelisejev Same thing happened for LLD rules. RESOLVED in r34761. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(17) In Administration > DM jelisejev Cannot reproduce, might have already been fixed. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 27 ] |
(18) [S] I had a discovered host linked to proxy. I was unable to to send data via zabbix sender to update discovered host. After unlinking template and updating prototype (now it doesn't belong to proxy) I was able to link template again and update discovered host via zabbix sender. command: ":"vm_2"," {#VMNAME}":"Debian linux i386"}]} response: ] jelisejev You cannot send data via zabbix_sender to a host linked to a proxy. May be you were unable to send the data after unlinking the proxy because the server configuration cache has not been updated yet. sasha Cannot reproduce the issue. Proxy-based installation works fine! tomtom CLOSED |
Comment by dimir [ 2013 Mar 27 ] |
(19) [S] I think there is a typo in "committed"/"uncommitted" (missing double 't') key names: virt.vmware.vm.storage.commited virt.vmware.vm.storage.uncommited And same thing with function names: check_vmware_vmstoragecommited() check_vmware_vmstorageuncommited() sasha RESOLVED in r34982. CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(20) 2" on "my temp 2". When trying to update template which is linked to discovered host. jelisejev Cannot reproduce, might have already been fixed. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(21) [FS] to repeat: jelisejev API bug fixed in r34980. sasha [S] RESOLVED in r35003 tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(22) When deleting discovered host which were created from templated host prototype, host prototype was deleted as well. Shouldn't be deleted. jelisejev Cannot reproduce. The prototype could be deleted as a result of (21). tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(23) If we have host with Disabled "Host inventory" then with Host.update API call: } Shouldn't be so. jelisejev This bug also exists in the trunk, so I've created a separate ZBX for it - tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(24) in CHost.php line:933 // fetch fields required to update host inventory if (isset($host['inventory'])) { $host['inventory']['hostid'] = $host['hostid']; $host['inventory'] = $this->extendObject('host_inventory', $host['inventory'], array('inventory_mode')); } In this code part bulk extendObjects before loop should be used, to make one query instead of several. jelisejev RESOLVED in r34831. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(25) jelisejev RESOLVED in r34813. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(26) CHost.php line: 1726 "$result = $relationMap->mapOne($result, $discoveryRules, 'discoveryRule');" mapOne is inefficient method as it iterates through all $result data even if only one element present in $discoveryRule array; jelisejev We need to iterate through all of the $results anyway so we can assign an empty array of no related object exist. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(27) while ($rule = DBfetch($dbRules)) { $relationMap->addRelation($rule['hostid'], $rule['parent_itemid']); } is used, but for "selectHostDiscovery" $relationMap = $this->createRelationMap($hostDiscoveries, 'hostid', 'hostid'); is used. One approach should be chosen, to make code consistent and easy to read. jelisejev The createRelationMap() method is a shortcut we can use if the relation if stored in a single table (for instance, item-host). If the relation is more complex, like discovered hosts - LLD rules, we need to use an explicit SQL query and build the value map manually. tomtom For first case it is still possible to fetch all data in array and use createRelationMap() with parameters. jelisejev RESOLVED in r34975. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(28) $hostDiscoveries = API::getApi()->select('host_discovery', array( 'output' => $this->outputExtend('host_discovery', array('hostid'), $options['selectHostDiscovery']), 'filter' => array('itemid' => array_keys($result)), 'preservekeys' => true )); sdii($hostDiscoveries); if you print out $hostDiscoveries, you can see that unnecessary data is retrieved. + I propose to use SQL approach as used in "selectDiscoveryRule" part. jelisejev If by unnecessary data you mean the "hostid" field, it is required to create the relation map. I would refrain from using the simple SQL approach here, because it will be inconsistent with other similar places and might introduce new bugs. tomtom No, I mean that for more than necessary hosts data is retrieved. jelisejev Ah, right. RESOLVED in r34974. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Mar 28 ] |
(29) Could be that some previous subissues are now not actual. jelisejev I used this approach because it's more consistent with other places and has less potential to introduce bugs. Even though it has a slight performance overhead. tomtom CLOSED, so it be |
Comment by dimir [ 2013 Mar 28 ] |
(31) [F] Seems the changes were not tested with PostgreSQL. It does not support naming fields without "AS" in SELECT query. Adding a host prototype gives error:
pg_query(): Query failed: ERROR: syntax error at or near "parent_hostid"
LINE 1: SELECT hd.hostid,i.hostid parent_hostid FROM host_discovery ...
^ [host_prototypes.php:137 → CAPIObject->create() → CAPIObject->__call() → czbxrpc::call() → czbxrpc::callAPI() → call_user_func() → CHostPrototype->create() → CHostPrototype->createReal() → CHostPrototype->get() → CHostPrototype->addRelatedObjects() → DBselect() → pg_query() in [...]/ZBXNEXT-1633/frontends/php/include/db.inc.php:441]
The problem is in the API, frontends/php/api/classes/CHostPrototype.php:941
SELECT hd.hostid,i.hostid parent_hostid <- should be 'SELECT hd.hostid,i.hostid AS parent_hostid'
The error is not properly handled as well as success message is shown while host prototype was not added: Host prototype added jelisejev RESOLVED in r34834. dimir CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(32) Now there is missing PHPDoc for CHostGeneral link() method. jelisejev We don't require PHPDoc for overridden methods. tomtom CLOSED assuming overriding methods was meant |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(33) CHostGeneral line:415 $query = DBSelect(... sql ...); $hostPrototypes = array(); while ($hostPrototype = DBfetch($query)) { $hostPrototypes[$hostPrototype['hostid']] = array( 'host' => $hostPrototype['host'], 'parent_host' => $hostPrototype['parent_host'] ); } use:
$hostPrototypes = DBfetchArrayAssoc(DBSelect(... sql ...), 'hostid');
jelisejev RESOLVED in r34835. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(34) jelisejev RESOLVED in r34836. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(35) really minor, but ... spacing broken in defines.inc.php lines:67-70 jelisejev RESOLVED in r34813. tomtom REOPENED not fixed for line 70 jelisejev RESOLVED in r34977. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(36) configuration.host.prototype.list.php is a view and therefore there shouldn't be any DB access : get_realrule_by_itemid_and_hostid() in line 62; jelisejev RESOLVED in r34842. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(37) Undefined variable: host [ in C:\zabbix\ When updating discovery rule on template. jelisejev RESOLVED in r34843. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(38) In getHostPrototypeSourceParentIds() function jelisejev I've rewritten the function in r34871. I, personally, don't think that the slight performance boost is worth the increased complexity. This functions is only used to display the list of inherited host prototypes in the frontend, it won't have input sets large enough to cause performance problems. RESOLVED. tomtom REOPENED consider using array_flip() function. I don't see any increased complexity, but performance improvement is significant if we can make O( n ) algorithm instead of O( n^2 ), for n which can easily be 100. jelisejev It's a multi-dimensional array. We cant user array_flip() on it. tomtom Yep, CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 02 ] |
(39) PHPDoc for checkId() in CZBXAPI.php wrong - Required error messages not implemented jelisejev RESOLVED in r34844. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 03 ] |
(40) unnecessary comma in CConfigurationExportBuilder.php line:288 jelisejev RESOLVED in r34813. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 03 ] |
(41) Regarding CArrayHelper method findDuplicate() if $uniqueBy is present then uniqueness will be checked between both keys, so it should be renamed to something like $uniqueField2 to represent that it has no other meaning that $uniqueField. As well PHPDoc for both mentioned parameters are totally different and second one is hard to understand. + this method will fail if 0 will be selected for second uniqueness field. This method should be implemented that any amount of uniqueness fields could be selected, but at this point I believe it is out of scope for this ZBX. jelisejev Indeed. I've also added a usage example to the comment. RESOLVED in r34846-34847. tomtom REOPENED typo in comment : "var_dump(CArrayHelper::findDuplicate($data, 'name', 'host')); // returns array with index 4" I believe it should be index 3. jelisejev RESOLVED in r34973. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 03 ] |
(42) pasting fail in C20ImportFormatter.php line:349 jelisejev RESOLVED in r34848. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 Apr 03 ] |
(43) Broken HTML when editing trigger expression, see bar.png jelisejev RESOLVED in r34849 and 34877. tomtom CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Apr 08 ] |
(44) I have template linked to a template. When updating the parent template, it is unlinked from the child template. jelisejev RESOLVED in r34875. tomtom CLOSED |
Comment by richlv [ 2013 Apr 11 ] |
(45) unfinished spec. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 May 08 ] |
All of the latest changes are implemented in the frontend. See the spec diff to see what has changed https://www.zabbix.org/mw/index.php5?title=Docs%2Fspecs%2FZBXNEXT-1633&diff=4212&oldid=4168 |
Comment by Pavels Jelisejevs (Inactive) [ 2013 May 08 ] |
(46) When editing host prototype groups and focusing on the "Groups" input, the carriage is in the wrong place. jelisejev RESOLVED in r35693. tomtom CLOSED |
Comment by Kodai Terashima [ 2013 May 09 ] |
(47) query error happens when template link to host Error in query [SELECT ht.httptestid,ht.name,ht.applicationid,ht.delay,ht.status,ht.macros,ht.agent,ht.authentication,ht.http_user,ht.http_password,ht.hostid,ht.templateid FROM httptest ht WHERE ht.hostid='10001'] [Unknown column 'ht.macros' in 'field list'] <richlv> i believe that's (5) in jelisejev It is. CLOSED. |
Comment by Toms (Inactive) [ 2013 May 10 ] |
(48) 1633.png jelisejev I've already reported it in (46). CLOSED. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 10 ] |
(49) wrong message: " must have at least one group prototype. When saving host prototype without host group nor host group prototype. jelisejev RESOLVED in r35704. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(50)[S] When having 2 host prototypes in one discovery rule with same group prototypes, server discovers 2 groups with same name. sasha RESOLVED in r37604. wiper CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(51) "Discovered by" link with discovery rule in discovered host edit form links to host prototype list, I expect it should link to discovery rule it self or maybe, host prototype which discovered it. jelisejev I've done it similary to the discovery links in the configuration lists. If we decide to change it, we'll need to change them all. tomtom OK. CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(52) [S] If using user macro ({$ABC} for example) as "Keep lost resources period (in days)" value in discovery rule, then it will not take user macro changes into account if hosts will be rediscovered. sasha Cannot reproduce. Probably it wasn't updated server configuration a cache. wiper Neither can I. CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(52) [S] If user macro with value 0.001 is used in "Keep lost resources period (in days)" then wrong delete period is shown: sasha RESOLVED in r37579. wiper CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(53) [S] If for an usual host discovered group is linked, then it is possible to remove host group leaving host only with discovered host group. sasha RESOLVED in r37627. wiper CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(54) It is possible to rename discovered host group via API: ,"id":3,"auth":"xxx"} jelisejev It currently possible to update discovered objects via the API. It's a global issue and will be fixed under tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 13 ] |
(55) With {"jsonrpc":"2.0","method":"hostprototype.get","params": {"selectGroupPrototypes":"extend"},"id":12,"auth":"xxx"} I have prototypes like: { "hostid": "10092", "groupPrototypes": [ { "group_prototypeid": "2", "hostid": "10092", "name": "", "groupid": "4", "templateid": "0" } ] } This host prototype has no group prototypes! jelisejev We've changed the API so that host prototype groups would be separated from the linked groups. The linked groups are now accessible in the "groupLinks" property. RESOLVED. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(56) hostprototype.update { "hostid": 10092, "inventory": { "alias": "asd" }, "inventory_mode": -1 } gives: "Wrong fields for host prototype" error. { "hostid": 10092, "inventory": { "alias": "asd" } } enables host inventory. jelisejev RESOLVED in r35760. The inventory_mode parameter for hosts is deprecated and will be removed tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(57) regarding naming: jelisejev The "selectDiscoveryRule" parameter has been implemented similary to other APIs. We should rename them all to something like "selectParentDiscoveryRule", but in a different ZBX; this one has to many changes already. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(58) with: ,"id":12,"auth":"1ed93ca48a200d8ec94336f278d5e811"} we get { "hostid": "10084", "discoveryRule": [] } for host which is not discovered. I think that field "discoveryRule" shouldn't appear at all for those hosts. jelisejev We always return all of the requested properties in the result even if it's not supported for the current object. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(59) same as (58) but for "selectHostDiscovery" jelisejev See (58). CLOSED. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(60) [S] Should be considered if it is OK to delete host group if it has discovered hosts in it, but the group it self is removed from host prototype. sasha It's a normal behavior. CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(61) CHostGroup.php line:579 "'nopermissions' => ($nopermissions) ? true : null" jelisejev RESOLVED in r35708. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 15 ] |
(62) CHostGroup.php line:595 "' WHERE '.dbConditionInt('groupid', $groupids)," + in addRelatedObjects() method as well. jelisejev RESOLVED in r35724. tomtom CLOSED |
Comment by Kodai Terashima [ 2013 May 15 ] |
(63) Zabbix server always crashes when try to get vmware.host.uptime 29194:20130430:163505.552 In get_vmware_hoststat() 29194:20130430:163505.552 In authenticate() url:'https://192.168.74.50/sdk' username:'root' 29194:20130430:163505.752 End of authenticate() 29194:20130430:163505.752 In get_hostdata() 29194:20130430:163505.877 End of get_vmware_hoststat() 29194:20130430:163505.877 End of get_value_simple():unknown 29194:20130430:163505.877 Item [vSphere 5.1:virt.vmware.host.uptime["{$URL}","{$LOGIN_NAME}","{$LOGIN_PASSWORD}"]] error: ZBX_NOTSUPPORTED 29194:20130430:163505.877 End of get_value():unknown zabbix_server [29194]: unknown response code returned: 1 zabbix_server: poller.c:703: get_values: Assertion `0' failed. 29190:20130430:163505.878 One child process died (PID:29194,exitcode/signal:6). Exiting ... 29190:20130430:163505.878 zbx_on_exit() called 29191:20130430:163505.878 Got signal [signal:15(SIGTERM),sender_pid:29190,sender_uid:1001,reason:0]. Exiting ... 29192:20130430:163505.878 Got signal [signal:15(SIGTERM),sender_pid:29190,sender_uid:1001,reason:0]. Exiting ... 29193:20130430:163505.879 Got signal [signal:15(SIGTERM),sender_pid:29190,sender_uid:1001,reason:0]. Exiting ... 29195:20130430:163505.879 Got signal [signal:15(SIGTERM),sender_pid:29190,sender_uid:1001,reason:0]. Exiting ... 29196:20130430:163505.880 Got signal [signal:15(SIGTERM),sender_pid:29190,sender_uid:1001,reason:0]. Exiting ... ... sasha RESOLVED in r36220. CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(64) in CHostPrototype.php from line:111 'maxLength' hardcoded as '64' should be used value from DB schema, or if it left hardcoded then only one message should be left in lines: 115 and 116 'Host name "%1$s" is too long, it must have less then %2$d character.', 'Host name "%1$s" is too long, it must have less then %2$d characters.' jelisejev RESOLVED in r35725. I left it hardcoded for now to avoid unnecessary complexity for now. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(65) Duplicate validation code in validateUpdate and validateCreate in CHostPrototype.php jelisejev RESOLVED in r35726. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(66) [S] ":"vm_2"," {#VMNAME}":" {ABA}"}]}' Note curly braces in VMNAME Curly braces should be OK in visible name. sasha Cannot reproduce. |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(67) Incorrect message for host prototype length validation. It states that less than 64 characters should be present, but it is possible to save 64 characters. jelisejev RESOLVED in r35725. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(68) When creating host prototype via API and setting name as empty string: 'name' => new CStringValidator(array( 'messageEmpty' => _('Empty name for host prototype "%1$s".') )) is not raised. jelisejev That's because an empty visible name defaults to a host name. I've left the validation check so that an error message is displayed in case something goes wrong and the host name won't be used as default. tomtom This should be then commented jelisejev RESOLVED in r35901. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(69) When creating host prototype without "ruleid" jelisejev RESOLVED in r35732. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(70) leading spaces are not removed from host prototype "host" field, when creating it via API jelisejev We don't trim values in the API. tomtom This way we can create several host prototypes which we are unable to edit afterwards in frontend, because after trimming in frontend they have the same 'host'. jelisejev Hm, right. But that's a global API issue, it should be fixed under a separate ZBX. tomtom Would be nice to see ZBX number here |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(71) CHostPrototype line:184 if (isset($groupPrototype['groupid']) && $groupPrototype['groupid']) { $groupPrototypeGroupIds[] = $groupPrototype['groupid']; } This should be done in previous loop structure, to not unnecessary loop through arrays. + $groupPrototypeGroupIds array contains duplicates. jelisejev RESOLVED in r35733. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(72) lot of inserts when mass deleting several host prototypes, see auditlog.png jelisejev That's because when we delete a host prototype we also delete all of the discovered hosts and create an audit entry for each item, trigger etc. We won't optimize the audit log in this issue. tomtom CLOSED. But new ZBX would be nice to have and linked here in those cases when we postpone the problem. |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(73) CHostPrototype createReal() method executes queries in a loop: $hostPrototypes[$key]['groupPrototypes'] = DB::save('group_prototype', $hostPrototype['groupPrototypes']); Bulk insert should be used. jelisejev RESOLVED in r35739. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(74) duplicate $groupIds in CConfigurationExport.php line:573 jelisejev RESOLVED in r35740. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(75) 'use strict'; left in configuration.host.prototye.edit.js.php jelisejev RESOLVED in r35741. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(76) Couldn't find the usage of group caount: jelisejev It is used in the group prototype template in the # {i}placeholder. tomtom CLOSED. Was refactored not actual anymore. |
Comment by Toms (Inactive) [ 2013 May 16 ] |
(77) Duplicated functionality for host prototype group editing: jelisejev RESOLVED in r35748. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 16 ] |
Review my changes in 35687 jelisejev Everything OK, thanks. |
Comment by Kodai Terashima [ 2013 May 20 ] |
(78) File name is too long error happens during make dist on debian 6. tardir=zabbix-2.1.0 && /bin/bash /root/ZBXNEXT-1633/missing --run tar chof - "$tardir" | GZIP=--best gzip -c >zabbix-2.1.0.tar.gz tar: zabbix-2.1.0/frontends/php/include/classes/validators/hostgroup/CHostGroupNotDiscoveredValidator.php: file name is too long (max 99); not dumped tar: zabbix-2.1.0/frontends/php/include/classes/validators/hostprototype/CGroupPrototypeCollectionValidator.php: file name is too long (max 99); not dumped tar: Exiting with failure status due to previous errors { test ! -d "zabbix-2.1.0" || { find "zabbix-2.1.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "zabbix-2.1.0"; }; } jelisejev RESOLVED in r35750. jelisejev According to Kodai, the problem has been solved. CLOSED. |
Comment by Toms (Inactive) [ 2013 May 24 ] |
(79) If several groups are added for host prototype, they are not stored. looks like it happens on update as well with one group jelisejev RESOLVED in r35887. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 24 ] |
(80) When creating new host prototype, if it fails for some reasons, selected inventory mode is set to disabled. jelisejev RESOLVED in r35893. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 24 ] |
(81) CDiscoveryRule.php lines:398-406 $hostPrototypeIds = array(); $dbItems = DBselect( 'SELECT hd.hostid'. ' FROM host_discovery hd'. ' WHERE '.dbConditionInt('hd.parent_itemid', $ruleids) ); while ($item = DBfetch($dbItems)) { $hostPrototypeIds[] = $item['hostid']; } DBfetchColumn() should be used. jelisejev RESOLVED in r35897. tomtom CLOSED |
Comment by Toms (Inactive) [ 2013 May 24 ] |
(82) CDiscoveryRule.php copyHostPrototypes() lines:974-988 unset($prototype['hostid'], $prototype['templateid'], $prototype['inventory']['hostid']); unset($groupLinks['group_prototypeid'], $groupLinks['templateid']); unset($groupPrototype['group_prototypeid'], $groupPrototype['templateid']); jelisejev RESOLVED in r35899. tomtom CLOSED |
Comment by Kodai Terashima [ 2013 May 26 ] |
(83) Cannot enable discovery rule if the discovery rule become not supported status. jelisejev That's how it's supposed to work starting from jelisejev CLOSED. |
Comment by Toms (Inactive) [ 2013 May 29 ] |
(84) For group selection in host prototype form: if we select some group, then remove it, we cannot find it again with type hinting within multiselect input. We don't save host prototype in this process! jelisejev RESOLVED in r35944. tomtom CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 May 29 ] |
(85) [S] I've resolved a bunch of C conflicts in dbupgrade.c, db.c and db.h when updating the branch. Please review r35939. sasha CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jun 17 ] |
(86) [S] This issue has to be taken into account when the server deletes discovered host groups - ZBX-6701 sasha RESOLVED in r37627. wiper CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 22 ] |
(87) [F] The hostgroup.get monitored_hosts, real_hosts and with_hosts_and_templates must not take host prototypes into account. jelisejev My mistake, these parameters work correctly. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 23 ] |
(88) [F] Cannot export host: <br /> <font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'> <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /opt/lampp/htdocs/zabbix/trunk/frontends/php/include/classes/export/CConfigurationExportBuilder.php on line <i>290</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0033</td><td bgcolor='#eeeeec' align='right'>703900</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/opt/lampp/htdocs/zabbix/trunk/frontends/php/hosts.php' bgcolor='#eeeeec'>../hosts.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0858</td><td bgcolor='#eeeeec' align='right'>8593952</td><td bgcolor='#eeeeec'>CAutoloader->loadClass( )</td><td title='/opt/lampp/htdocs/zabbix/trunk/frontends/php/hosts.php' bgcolor='#eeeeec'>../hosts.php<b>:</b>0</td></tr> </table></font> jelisejev RESOLVED in r37230. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 23 ] |
(89) [F] Discovered host group list is displayed incorrectly. jelisejev RESOLVED in r37232. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 23 ] |
(90) [F] Error when mass updating a host: "Undefined variable: hostids [ in /opt/lampp/htdocs/zabbix/trunk/frontends/php/hosts.php:240]" jelisejev RESOLVED in r37233. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 23 ] |
(91) [F] Error when trying to edit a discovered host with disabled inventory: Updated status of host "vm_1" Inventory disabled for host "vm_1". jelisejev RESOLVED in r37235. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 23 ] |
(92) [S] I've created a host prototype linked to template "Template OS Linux" and discovered a bunch of host. Then I've cloned the template and link the prototype to the clone. When I re-discover the hosts, the original template is unlinked from the hosts but the clone is not linked. sasha RESOLVED in r37636. jelisejev Works fine now. wiper reviewed, CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Jul 26 ] |
(93) [F] Monitoring->Dashboard->Web monitoring Fatal error: Class 'Manager' not found in /var/www/oleg/ jelisejev RESOLVED in r37378. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Jul 26 ] |
(94) [F] Monitoring->Latest data Fatal error: Class 'Manager' not found in /var/www/oleg/ jelisejev RESOLVED in r37378. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Jul 26 ] |
(95) [F] Monitoring->Maps thrown in /var/www/oleg/ jelisejev RESOLVED in r37387. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jul 29 ] |
(96) I've updated the branch to the latest trunk in r37387. There have been a lot of conflicts in data.tmpl, please review. oleg.egorov CLOSED |
Comment by Alexander Vladishev [ 2013 Aug 05 ] |
(97) [F] error occurred when updating a discovery rule: reset() expects parameter 1 to be array, null given [host_discovery.php:331 → reset() in frontends/php/host_discovery.php:331] jelisejev Looks like (8) from |
Comment by Alexander Vladishev [ 2013 Aug 06 ] |
(98) [F] Cannot link a template to the host prototype. "ERROR: Zabbix has received an incorrect request." has occurred in popup window. jelisejev RESOLVED in r37675. oleg.egorov Link templates template-hypervisor Then select in "Link new templates" new template "Template App Zabbix Agent" (AND DON'T PRESS ADD) -> Save Linked templates: It's happening only if exist error after form validation In this situation: REOPEN jelisejev RESOLVED in r38059. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 08 ] |
(99) [F] No error message is displayed if we pass a non-array value to an array parameter in hostprototype.create and hostprototype.update. For example: { "jsonrpc": "2.0", "method": "hostprototype.update", "params": { "hostid": 10093, "groupLinks": "dd" }, "id": 2, "auth": "98edc2fc35a2cdcf664158eaae0afbe1" } jelisejev Fixed this and several other issues in r37684. RESOLVED. oleg.egorov CLOSED |
Comment by Andris Zeila [ 2013 Aug 08 ] |
(100) Replaced vmkeys and vmchecks arrays with a single array containing keys and checks. Please review r37674 sasha Great! CLSOED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 08 ] |
(101) [F] The fixes from jelisejev RESOLVED in r37687. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 16 ] |
(102) [F] Implement changes from jelisejev RESOLVED in r37896-37919. I've also made changes to the old validation code, please test and review them too. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 16 ] |
(103) [F] Error when creating a new host prototype: Illegal string offset 'groupid' [ in /opt/lampp/htdocs/zabbix/trunk/frontends/php/host_prototypes.php:187] Created: Host prototype "{#VMID}" on "hypervisor". jelisejev RESOLVED in r37879. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 16 ] |
(104) [F] The following API request deletes all groups from a host prototype: { "jsonrpc": "2.0", "method": "hostprototype.update", "params": { "hostid": 10093, "groupPrototypes": [ { "name": "{#VMID3}" } ] }, "id": 9, "auth": "b15e82038967ab16ec9c121ad1851090" } jelisejev RESOLVED in r37926 and r37928. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 19 ] |
(105) [S] Trigger discovery does not work. wiper I think that was fixed in |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 19 ] |
(106) [F] In the host prototype configuration form the border of SNMP interface section is off. jelisejev RESOLVED in r37930. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 19 ] |
(107) [F] hostprototype.update must not accept the "ruleid" parameter. jelisejev RESOVLED in r37929. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Aug 20 ] |
(108) [F] LLD Host edit page is displayed incorrectly See 1633.JPG jelisejev RESOLVED in r38035. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Aug 20 ] |
(109) [F] LLD Host -> Templates Design is not beautiful... See 1633-2.JPG I think should be used host-> templates design (table) jelisejev RESOLVED in r38058. oleg.egorov CLOSED |
Comment by Andris Zeila [ 2013 Aug 20 ] |
(110) [S] AGENT_RESULT logs member is defined as pointer array. Defining it as a pointer vector (zbx_vector_ptr_t) would simplify its handling. sasha WON'T FIX AGENT_RESULT structure is declared in the module.h header file. We can't will include to it zbxalgo.h. CLOSED |
Comment by Andris Zeila [ 2013 Aug 20 ] |
(111) [S] Move lastlogsize, mtime fields from ZBX_DC_ITEM to ZBX_DC_LOGITEM sasha Seems, it's not a good idea to move lastlogsize and mtime in ZBX_DC_LOGITEM structure. "vcenter.eventlog" item can be with any type. WON'T FIX |
Comment by Andris Zeila [ 2013 Aug 20 ] |
(112) [S] zbx_log_value_t and zbx_log_t structures are very similar. In fact the zbx_log_value_t could be used as a member of zbx_log_t structure. sasha WON'T FIX |
Comment by Andris Zeila [ 2013 Aug 20 ] |
(113) [S] zbx_log_free() function should be renamed to zbx_log_clean() as it does not frees the log itself, only its members. Also if (112) is implemented then it might be better to pass zbx_log_value_t pointer instead of zbx_log_t pointer (and renaming it to zbx_log_value_clean()). sasha RESOLVED in r38065. wiper CLOSED |
Comment by Andris Zeila [ 2013 Aug 20 ] |
(114) [SF] There were kstat processing changes in src/zabbix_agent/cpustat.c which seams to be unrelated to virtual machine support. Was it intentional or slipped in through broken merge? sasha RESOLVED in r38072. wiper reviewed the server part. There were also some frontend changes, Pavel, could you take look at it? jelisejev Everything ok, CLOSED. |
Comment by Andris Zeila [ 2013 Aug 21 ] |
(115) [S] When syncing items wrong index was used for lastlogsize,mtime fields. Please review my changes in r38007, r38010, r38011 sasha Thanks! REVIEWED CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Aug 21 ] |
(116) [F] Incorrect host prototype sorting Fist {#VMNAME} element:Host name: {#VMNAME} Visible name: empty Second {#VMNAME} elementHost name: {#VMID} Visible name: {#VMNAME} jelisejev The problem happened if we two host prototypes with the same name. After (117) this is no longer allowed. WONT FIX. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 22 ] |
(117) [F] Host prototype visible names should be unique in a discovery rule. jelisejev RESOLVED in r38054. oleg.egorov Code duplicates in CHostPrototype.php:159-177 and 454:472 // check host name duplicates $collectionValidator = new CCollectionValidator(array( 'empty' => true, 'uniqueField' => 'host', 'uniqueField2' => 'ruleid', 'messageDuplicate' => _('Host prototype with host name "%1$s" already exists.') )); $this->checkValidator($hostPrototypes, $collectionValidator); $this->checkExistingHostPrototypes($hostPrototypes, 'host', _('Host prototype with host name "%1$s" already exists in discovery rule "%2$s".') ); // check visible name duplicates $collectionValidator->uniqueField = 'name'; $collectionValidator->messageDuplicate = _('Host prototype with visible name "%1$s" already exists.'); $this->checkValidator($hostPrototypes, $collectionValidator); $this->checkExistingHostPrototypes($hostPrototypes, 'name', _('Host prototype with visible name "%1$s" already exists in discovery rule "%2$s".') ) Maybe should be used function? REOPEN jelisejev RESOLVED in r38081. oleg.egorov CLOSED |
Comment by Andris Zeila [ 2013 Aug 22 ] |
(118) [S] fixed possible memory leak in interface validation. Please review my changes in r38070 sasha CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Aug 22 ] |
(119) [F] Invalid argument supplied for foreach() [ in C:\xampp\htdocs\ Host Prototype update Host name: {#3 Press "save" -> Incorrect characters used for host "{#3". Press "enter" -> PHP Error This problem happen after "Add" button pressing in templates tab with empty input field jelisejev RESOLVED in r38082. oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 23 ] |
(120) [FIS] Move the user name and password from the item keys to separate fields. jelisejev Frontend side RESOLVED in r38088. sasha data.tmpl RESOLVED in r38091. sasha server side RESOLVED in r38093:38094. oleg.egorov Frontend side REVIEWED wiper server side REVIEWED sasha CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Aug 23 ] |
(121) [F] Please implement changes from In configuration.host.prototype.list.php use new CForm(); without 'get' form $itemForm |
Comment by Andris Zeila [ 2013 Aug 26 ] |
(122) [S] Please review my changes in r38110, r38126, r38128, r38129, r38135 sasha r38110: REOPENED excess check should be removed
if (NULL != doc)
{
}
wiper r38110: excess check removed in r38140 sasha r38110: CLOSED wiper r38135: RESOLVED in r38143 sasha CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Aug 26 ] |
(123) [I] The implemented WMware checks must be added to the help items table. wiper RESOLVED in r38570 sasha CLOSED |
Comment by Andris Zeila [ 2013 Aug 29 ] |
(124) [S] vmware.vsphere.memory.size.ballooned, wmware.vcenter.hv.memory.size.ballooned checks were failing if it failed for one of hosted virtual machines (for example if one of vm is not started). RESOLVED in r38202. Please review and test it. sasha CLOSED |
Comment by Andris Zeila [ 2013 Aug 29 ] |
(125) [S] powerstate checks were not converted from vmware format (poweredOff, poweredOn, suspended) to numeric format (0, 1, 2). RESOLVED in r38205. Please review and test it. sasha CLOSED |
Comment by Andris Zeila [ 2013 Aug 29 ] |
(126) [S] Discovered hypervisor host name must match the hypervisor name item of its virtual machines. RESOLVED in r38219. Please review and test it. It shoud be done other way around. Instead of using host as hypervisor name, the previously used config/name should be also used in virtual machines as their hypervisor name. So isntead of simply returning host as hypervisor name we must lookup the right hypervisor and return its name. REOPENED wiper RESOLVED in r38253 sasha CLOSED |
Comment by Alexander Vladishev [ 2013 Sep 02 ] |
Available in pre-2.1.4 (trunk) r38270. |
Comment by Andris Zeila [ 2013 Sep 05 ] |
(127) [S] Changed the logic how virtual host devices and performance counters are processed. Before the following steps were taken: Now it is as follows: RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1633 r38333 sasha CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 09 ] |
(128) API documentation needs to be updated. jelisejev Updated: https://www.zabbix.com/documentation/2.2/manual/api/changes_2.0_-_2.2 sasha CLOSED |
Comment by Andris Zeila [ 2013 Sep 10 ] |
(129) [PSI] added vmware host network and datastore monitoring support, updated templates. New virtual machine simple checks were added: vmware.vsphere.network.in[<url>,bps] The network monitoring items and datastore discovery were added to VMware vCenter Hypervisor and VMware vSphere templates. RESOLVED in r38351, r38360 sasha REVIEWED. Please review my changes in r38509. wiper REVIEWED and CLOSED. sasha TESTED |
Comment by richlv [ 2013 Sep 10 ] |
(130) [PS] vmware support status should be printed in the 'compiled in features' block in the server/proxy log sasha RESOLVED in r38510. wiper CLOSED |
Comment by Egita Sidorova (Inactive) [ 2013 Sep 12 ] |
(131) passive proxy will not be saved, please check error message attached vitalij_zab RESOLVED in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1633_131 jelisejev TESTED. Fixed in pre-2.1.5 (trunk) r38539. |
Comment by Andris Zeila [ 2013 Sep 17 ] |
Available in pre-2.1.5 (trunk) r38552 |
Comment by Andris Zeila [ 2013 Sep 27 ] |
(132) [S] add vmware collector process that will be responsible for data retrieval from vmware services (vCenter, vSphere). Available in in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1633 Updated specifications at https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-1633 Updated documentation:
sasha Updated:
|
Comment by Alexander Vladishev [ 2013 Oct 03 ] |
(134) These keys relates to a hypervisor and should be renamed:
Also in:
wiper Actually only help items table and documentation had the wrong key names. RESOLVED in r38976 sasha CLOSED |
Comment by Alexander Vladishev [ 2013 Oct 03 ] |
(135) "Template App Zabbix Server" should be updated.
wiper RESOLVED in r39003 sasha Also added a new item zabbix[process,vmware collector,avg,busy] and trigger. Updated graphs. Please review r39044. wiper reviewed and CLOSED |
Comment by Alexander Vladishev [ 2013 Oct 03 ] |
(136) "vmware collector" should check service->lastcheck variable to calculate sleep time. wiper RESOLVED in sasha REOPENED vmware_get_update_time() works without a lock wiper RESOLVED in 39067 sasha CLOSED |
Comment by richlv [ 2013 Oct 04 ] |
(137) config file option comments use "vmware" capitalisation - let's use "VMware" there, too wiper in this place the vmware is not used as product (VMware) name, but as a par of process name and our internal process names are in lowercase letters (vmware collector). <richlv> ah, that makes sense - CLOSED |
Comment by Alexander Vladishev [ 2013 Oct 07 ] |
(138) vmware_service_update() function shall lock a cache in case of updating wiper RESOLVED in r39067 sasha CLOSED |
Comment by Andris Zeila [ 2013 Oct 08 ] |
Available in pre-2.1.7 (trunk) r39083 |
Comment by Yuya Kusakabe [ 2013 Oct 31 ] |
Virtual machine's "Host name" should be "instanceUuid" instead of "uuid". http://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.wssdk.apiref.doc/vim.vm.ConfigInfo.html |
Comment by richlv [ 2013 Nov 04 ] |
uuid issue will be handled in |
Comment by Cristian Mammoli [ 2013 Dec 04 ] |
Hi guys, I started testing the new vmware monitoring functions but I noticed tha there is no check for the actual datastore occupation. Read, write and latency statistics are nice but datastore usage is critical for us... See |
Comment by Oleksii Zagorskyi [ 2013 Dec 28 ] |
(140) need to update descriptions for: #define ZBX_FLAG_DISCOVERY_NORMAL 0x00 /* normal item */ #define ZBX_FLAG_DISCOVERY_CREATED 0x04 /* auto-created item, trigger or graph */ defines.inc.php: define('ZBX_FLAG_DISCOVERY_NORMAL', 0x0); // a normal item define('ZBX_FLAG_DISCOVERY_PROTOTYPE', 0x2); // an item prototype define('ZBX_FLAG_DISCOVERY_CREATED', 0x4); // an item created via a discovery rule because they all can be not only item/etc but trigger or graph or host as well. sasha The comments was removed from code. Тhey aren't necessary here. CLOSED r41941 (branches/2.2) and r41942 (trunk) |
Comment by richlv [ 2014 Mar 20 ] |
this seems to have caused a regression in simple check item config form : |