Automate Inventory Population by SNMP polling (ZBXNEXT-63)

[ZBXNEXT-294] Inventory Macro Support Created: 2010 Apr 07  Updated: 2017 May 31  Resolved: 2011 Oct 14

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: 1.8.2
Fix Version/s: None

Type: Change Request (Sub-task) Priority: Major
Reporter: Sol Arioto Assignee: Alexei Vladishev
Resolution: Fixed Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu 8.04
mysql 5
zabbix 1.8.1



 Description   

Issue: Population of Inventory

to Include Macro support for Profile fields in hosts

any easy way to populate the inventory per macro of the latest data pulled via snmp (item check)

still tedious to have to create a different macro for each host but would help



 Comments   
Comment by richlv [ 2011 Jan 13 ]

not really sure how this would work. could you give a specific example ?

Comment by richlv [ 2011 Jan 13 ]

potentially connected to ZBXNEXT-616

Comment by Michael Schwartzkopff [ 2011 Jan 13 ]

During discovery I ask for sysName.0 with a accoring rule. It would be nice to have an action to fill the name field of the profile of the newly discovered host with the value of the sysName.0 from the discovery.

The same applies to a lot of other data in the profile (location, contact, OS, OS Version, Hardware, serial number...). Filling the profile data automatically would help a LOT with asset management.

Michael.

Comment by richlv [ 2011 Jan 13 ]

oh, i got the idea behind automated data populating - i wasn't sure how exactly macros fit in there

Comment by Sol Arioto [ 2011 Jan 13 ]

if Profile had Macro capabilities you could do Global Macro that is attached to a template item per it's own host

{6504:.1.3.6.1.2.1.47.1.1.1.1.9.1001.last(0)}

which would be IOS Version, then
again if i have to fill those in manually then why dont i look up the IOS and fill it in.
I have a template the gives all the device info by snmp pulls being able to update from those templates to the profile would be nice.

auto-discovery/discovery would maybe, be the best solution for this fix, tying them together seem to be the problem
unless you create a Map to function => in the new check

Create New Check>
SNMP>
ports => 161
SNMP community => public
SNMP OID => sysName.0
Map to => Name

I believe Name should be pulled from the inventory, typically host is the identifier which would be the Name anyhow besides the IP Address which isn't include in the list

Comment by richlv [ 2011 Feb 02 ]

also see ZBXNEXT-647

Comment by richlv [ 2011 Oct 14 ]

looks like desired functionality was implemented as ZBXNEXT-647 - please, reopen if not

Generated at Thu Apr 25 23:15:42 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.