Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

StorageDisplay::Collect - modules required to collect data.

Author

       Vincent Danjean <Vincent.Danjean@ens-lyon.org>

Name

       StorageDisplay::Collect - modules required to collect data.

Version

       version 2.06

       Main class, allows one to register collectors and run them (through the collect method)

       Collectors will be registered when their class is loaded

       Wrapper around JSON:PP as old versions do not support the boolean_value method.

       Base (abstract) class to run command to collect infos

       Only one instance should be created

       # sub classes must implement open_cmd_pipe and open_cmd_pipe_root

       Run commands locally

       Run commands through SSH

       Record commands

       Used to declare a class to be a collector.

       The collector will be registered

       Base class for collectors

See Also