Changeset 6b690bf in nscp for modules/CheckHelpers
- Timestamp:
- 02/03/08 17:15:14 (5 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- b5ef837
- Parents:
- 8b206ee
- File:
-
- 1 edited
-
modules/CheckHelpers/CheckHelpers.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/CheckHelpers/CheckHelpers.cpp
r99e4d8f r6b690bf 40 40 41 41 bool CheckHelpers::loadModule() { 42 try { 43 NSCModuleHelper::registerCommand(_T("CheckAlwaysOK"), _T("Run another check and regardless of its return code return OK.")); 44 NSCModuleHelper::registerCommand(_T("CheckAlwaysCRITICAL"), _T("Run another check and regardless of its return code return CRIT.")); 45 NSCModuleHelper::registerCommand(_T("CheckAlwaysWARNING"), _T("Run another check and regardless of its return code return WARN.")); 46 NSCModuleHelper::registerCommand(_T("CheckMultiple"), _T("Run more then one check and return the worst state.")); 47 } catch (NSCModuleHelper::NSCMHExcpetion &e) { 48 NSC_LOG_ERROR_STD(_T("Failed to register command: ") + e.msg_); 49 } catch (...) { 50 NSC_LOG_ERROR_STD(_T("Failed to register command.")); 51 } 42 52 return true; 43 53 }
Note: See TracChangeset
for help on using the changeset viewer.








