NAME

Monitoring::TT::Render - Render Helper Functions

DESCRIPTION

All functions from this render helper can be used in templates

METHODS

die

die(error message)

die with an hopefully useful error message

uniq

uniq(objects, attr)
uniq(objects, attr, name)

returns list of uniq values for one attr of a list of objects

ex.:

get uniq list of group items
uniq(hosts, 'group')

get uniq list of test tags
uniq(hosts, 'tag', 'test')

uniq_list

uniq_list(list1, list2, ...)

returns list of uniq values in all lists

join_hash_list

join_hash_list($hashlist, $exceptions)

returns list csv list for hash but leave out exceptions

AUTHOR

Sven Nierlein, 2013, <sven.nierlein@consol.de>