[ZBXNEXT-647] Automatic population of hardware profiles Created: 2011 Feb 02 Updated: 2011 Dec 22 Resolved: 2011 May 09 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 1.9.1 (alpha) |
Fix Version/s: | 2.0.0 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 4 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | bug_11.png bug_16.png bug_22.png bug_24.png bug_26.png bug_27.png bug_4.png bug_5.png bug_9.png import_test_host.xml | ||||||||||||
Issue Links: |
|
Description |
Zabbix should automatically fill host profiles by the information collected by Zabbix Server and Proxies. It would be nice to have both automatic and manual filling of profile details or a combination of both. |
Comments |
Comment by richlv [ 2011 Feb 02 ] |
also see |
Comment by Alexander Vladishev [ 2011 Feb 02 ] |
1. Database changes: Table 'items': FIELD |profile_link |t_integer |'0' |NOT NULL |ZBX_SYNC profile_link: pointer to one of profile fields, 1-N. 0 - not used for profiles. Numbering will match field number in table structure. Table 'hosts_profiles': FIELD |profile_mode |t_integer |'0' |NOT NULL |ZBX_SYNC profile_mode: 0 - manual, 1 - automatic 2. Configuration of item form will be extended to have an optional selection of a host profile field. If set, the item value will overwrite information stored in the corresponding profile field (for example, Device type, MAC Address, etc) The selection will be available for items of any type except of value type 'Log'. It will look like: Use in profiles [X] This selection will be located before Description field 3. Template linkage should be extended to verify that there are no two items pointing to the same profile field. 4. It should be possible to change profile linkage even if an item is linked to a template. 5. Host profile may have the following states: Disabled - no host profile information available, Manual - manually entered host profile information, Automatic - linked fields are updated automatically, other fields can be manually modified. The profile state is configurable on per host level as it is in 1.8.x 6. Host mass-updated will be extended to support setting of different profile modes (manual, automatic, disabled). 7. Not supported and Disabled items are treated as a normal items, i.e. the linkage will be preserved. 8. Item prototypes are not affected 9. If a host profile in Automatic mode and a profile field has a linkage, the profile field should be disabled, show actual value and display information about linked item (as a item name linked to configuration of the item). ---------------------------------- N. New report will be introduced to display inventory information and number of hosts grouped by one of inventory fields.For example, grouping by OS: Linux: 450 hosts, Windows: 5 hosts. The existing Inventory report will be extended to support this. Additional drop-down "Aggregate by" will be introduced to select a host profile field for grouping purposes. Only fields having varchar() type can be used due to performance considerations. By default, drop-down selection is set to <no aggregation>. |
Comment by richlv [ 2011 Feb 03 ] |
maybe "Update profile field" ? just "Update profile" might be confusing additional data, supported by the linux agent, will be available as items, right ? |
Comment by richlv [ 2011 Feb 28 ] |
4. seemingly split out as |
Comment by richlv [ 2011 Feb 28 ] |
7. also listed at |
Comment by Alexander Vladishev [ 2011 Apr 19 ] |
(1) [DB] Error while upgrading database (MySQL): <KB> Fixed ERROR: insert or update on table "opgroup" violates foreign key constraint "c_opgroup_1" <KB> Looks good, CLOSED. |
Comment by Alexander Vladishev [ 2011 Apr 26 ] |
(3) [DB] Please see my changes in db schema. Now the 'profile_mode' field location after the 'hostid' field <KB> Tested, works good. CLOSED. |
Comment by Gergely Czuczy [ 2011 May 03 ] |
If i may suggest, it'd be very nice, if this profile filling could work from SNMP OIDs as well. Some information also available over snmp, a few for an example: And a few vendor-specific extensions, like cisco exports the running image's name, which is the software version practically. Would be very nice if some of the profile could be populated using SNMP information. |
Comment by richlv [ 2011 May 03 ] |
i believe that any item would be able to be set as a source for profile field data, which does not exclude snmp items |
Comment by Konstantin Buravcov (Inactive) [ 2011 May 09 ] |
Merger to trunk rev 19442 |