RRDutil 2.03 released

Started by matt, November 11, 2004, 12:19:25 AM

Previous topic - Next topic

matt

RRDutil 2.03 is now released.

New features:  none.

What's the big fat hairy deal then?

RRDutil and it's perl modules have been reworked entirely on the back end. It is entirely self contained and no longer requires that Mail::Toaster or MATT::Bundle be installed. All the modules external functions are object oriented so nothing is exported. This makes future additions and code maintenance easier and less prone to errors.

I have tested this on three of my servers and all is well for me. I'd like a couple brave souls to give it a whirl and let me know how it goes. Ideally, you won't notice any difference. Smile

2.03 - Nov 17, 2004

- removed Mail::Toaster dependency
- massive changes in .pm files due to OO programming updates
- create objects: $utility, $rrdutil, $graphs, $html, $snmp
- minor code revisions for increased legibility
- moved *.pm back into RRDutil distribution from Mail::Toaster
  now that the code is better, it's very easy to use and re-use
- added more tests for enhanced reliability
- RRDutil.pm
  - added sub: new
  - no subs exported, Exporter removed
  - get_graph_types was GetGraphTypesForHost
  - get_requested_graphs was GetListOfRequestedGraphs
  - create_rrd_db was CreateRRDDatabase
  - parse_config was ParseConfigIntoHashes
  - get_hosts was GetListOfHosts
  - get_polls was GetListOfPolls
  - check_datadir was CheckDataDir
  - check_html_dir was CheckHTMLDir
- RRDutil/Graphs.pm
  - added sub: new
  - no subs exported, Exporter removed
  - create objects: $utility, $rrdutil
  - generate was GenerateGraphs
  - changes as necessary due to Mail::Toaster OO updates
- RRDutil/HTML.pm
  - added sub: new
  - no subs exported, Exporter removed
  - create objects: $utility, $rrdutil
  - graphs was PrintHTMLGraphs
  - request was PrintHTMLRequest
  - js_timer was PrintJavaScriptTimer
  - footer was PrintHTMLFooter
  - footer print was a printf, modified for efficiency
- RRDutil/SNMP.pm
  - added sub: new
  - no subs exported, Exporter removed
  - create objects: $rrdutil
  - update_rrds was UpdateRRDs
  - start_session was StartSessionSNMP