Skip to content

Request: Support for Host Inventory #5

Closed
incognico opened this Issue Aug 1, 2013 · 2 comments

2 participants

@fgabolde
Owner
fgabolde commented Aug 1, 2013

Unfortunately the inventory feature was introduced in Zabbix 2, and I don't have access to a recent Zabbix currently. At $work we still use 1.8.x.

Could you tell me if the rest of this distribution works for you on Zabbix 2? If it does I believe you should be able to just do this:

my $host = $zabbix->fetch_single('Host', params => { filter => { host => 'foobar' }, selectInventory => [qw/location model name/] });

then examine the "inventory" property in $host->data.

@fgabolde fgabolde was assigned Aug 1, 2013
@fgabolde
Owner

I'm closing this issue as it is related to Zabbix 2.

I've copied it over to Zabbix2-API's Bitbucket repo: https://bitbucket.org/fgabolde/zabbix2-api/issue/7/request-support-for-host-inventory

@fgabolde fgabolde closed this Jun 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.