Hi Paolo,

On 07/Dec/2011 19:00, Paolo Lucente wrote:
+ print plugin: introduced print_output_file feature to write statistics
   to files. Output is text, formatted or CSV. Filenames can contain time-
   based variables to make them dynamic. If filename is static instead,
   content is overwritten over time.
+ print plugin: introduced print_time_roundoff feature to align time slots
   nicely, same as per the sql_history_roundoff directive.
+ print plugin: introduced print_trigger_exec feature to execute custom
   scripts at each print_refresh_time interval (ie. to process, expire,
   gzip, etc. files). Feature is in sync with wrap-up of data commit to
   screen or files.

This is interesting stuff! For some reason I was not even aware of the existence of the print plugin. Reading through the complete changelog doesn't show much evidence of it either. It surely will decrease the complexity of my collection scripts. As I currently query the IMTs every 5 minutes, parse the data and write to "journal" files. With this plugin however, I can just have pmacct write these journal files directly, and even have a trigger whenever a new one is there to be processed! I hope I'll have some spare minutes soon to write a PoC replacement for my current setup. The details of this plugin and its newly added config directives will need a bit time to fully comprehend (both the workings and the usage), but at first glance it looks rather trivial to use.

Keep up the good work! ;-)

Regards,
Ruben Laban

PS: Any idea on when 0.14.0 will be "final"? Other than the obvious "when it's ready"? ;-)

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to