-
Mark Harrison authored
Each module is an object inheriting from Resmon::Module as before, but the code to support coderefs and raw packages with a handler function is all gone. In addition, a lot of redundant code was removed, and some small changes made to the modules themselves: - The check name is stored in $self->{check_name} (instead of $self->{object} as in the past) - The check configuration is stored in $self->{config} and not just as instance variables. - All modules must have fully qualified names in the config file. In other words - Resmon::Module::Resmon instead of just RESMON. In keeping with other perl module names, I've gone with Title Case instead of ALL CAPS for the sample module (Resmon). This is simple to change back if desired however. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@268 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55Mark Harrison authoredEach module is an object inheriting from Resmon::Module as before, but the code to support coderefs and raw packages with a handler function is all gone. In addition, a lot of redundant code was removed, and some small changes made to the modules themselves: - The check name is stored in $self->{check_name} (instead of $self->{object} as in the past) - The check configuration is stored in $self->{config} and not just as instance variables. - All modules must have fully qualified names in the config file. In other words - Resmon::Module::Resmon instead of just RESMON. In keeping with other perl module names, I've gone with Title Case instead of ALL CAPS for the sample module (Resmon). This is simple to change back if desired however. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@268 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
Loading