Search plugin: Or browse by category:

zabbix-hosts summary

Plugin Name: zabbix-hosts
Version: 1.0.1
Author: @spigell
Realease Date: 2017-09-04 23:18:16
Short Description: get ip of all your zabbix hosts in /etc/hosts format
Category: utilities
Plugin web page: https://github.com/Spigell/zabbix-hosts
Download link: zabbix-hosts-v1.000001.tar.gz
Latest version link: https://sparrowhub.org/info/zabbix-hosts

zabbix-hosts documentation

zabbix-hosts doc

SYNOPSIS

Extract IP and hostnames from zabbix server.

Tested on zabbix version >= 3.2

INSTALL

$ sparrow plg install zabbix-hosts

Dependencies

pyzabbix

USAGE

Manually

$ sparrow plg run zabbix-hosts --param user=foo --param password=bar --param host=127.0.0.1 --param output=/tmp/test.txt
$ cat /tmp/test.txt
127.0.0.1 zabbix-server
192.168.0.1 fe.example.com

Parameters

user

A user to login. No default value. Obligatory.

password

A password. Obligatory.

host

IP or dns name of zabbix server. Obligatory.

output

Default is stdout. If any other specified output will be in file.