get /etc/hosts from your zabbix server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
requirements.txt
sparrow.json
story.py
suite.yaml

README.md

SYNOPSIS

Example of a python Outthentic plugin

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 a file.

See also

outthentic

sparrow