We're setting up Zabbix in our environment(1,000+) servers and I'm being asked to provide documentation on all items and triggers. Also I know they'll want the docs to be kept up to date. Rather than dig through all of my templates, items, triggers, etc and manually copy these out, does anyone know of a script that's already been written to pull all that out in say a CSV? I started writing some API code and quickly realized I'd have to do alot of cross referencing between various API calls that I'd rather not do if someone else already has.
Ad Widget
Collapse
Script to create human readable lists of items, triggers, etc?
Collapse
X
-
I started to dig into the database and have basically finished the job. I have all the data and right now am just putting the finishing touches on a script that will print out trigger information.
Ultimately I have three scripts now, that only work against templates but are easily modifiable to do more.
listmacros.pl
listitems.pl
listhosts.pl
They're all using straight db connections and work rather well! Once complete I may post them.Comment
Comment