3.0-rc GetOptions Support (correct pull request)

My solution, added GetOpt::Long Support for warnings and critical thresholds, providing greater organization and control.