1 -- contrib/collectd.lua
3 -- Auxilliary functions to use in plugins written in Lua. Load this file using
4 -- require ("collectd.lua");
5 -- at the beginning of your script.
7 function collectd_error (msg)
8 return (collectd_log (3, msg));
11 function collectd_warning (msg)
12 return (collectd_log (4, msg));
15 function collectd_notice (msg)
16 return (collectd_log (5, msg));
19 function collectd_info (msg)
20 return (collectd_log (6, msg));
23 function collectd_debug (msg)
24 return (collectd_log (7, msg));