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
_warn
_warn(message)
_die
_die(message)
_info
_info(message)
_error
_error(message)
_debug
_debug(message)
_trace
_trace(message)
_log
_log(lvl, 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
lower
lower(str)
returns lower case string
services
services()
returns list of services
AUTHOR
Sven Nierlein, 2013, <sven.nierlein@consol.de>