Ignore:
Timestamp:
01/17/10 15:26:29 (3 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
ef0e24b
Parents:
6822839
Message:

Fixed some logica issues and changed so debug logging work on *nix (cout -> wcout)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/CheckHelpers/CheckHelpers.cpp

    r79e734f r50a5db2  
    4747    NSCModuleHelper::registerCommand(_T("CheckMultiple"), _T("Run more then one check and return the worst state.")); 
    4848    NSCModuleHelper::registerCommand(_T("CheckOK"), _T("Just return OK (anything passed along will be used as a message).")); 
     49    NSCModuleHelper::registerCommand(_T("check_ok"), _T("Just return OK (anything passed along will be used as a message).")); 
    4950    NSCModuleHelper::registerCommand(_T("CheckWARNING"), _T("Just return WARN (anything passed along will be used as a message).")); 
    5051    NSCModuleHelper::registerCommand(_T("CheckCRITICAL"), _T("Just return CRIT (anything passed along will be used as a message).")); 
     
    9394    return NSCAPI::returnOK; 
    9495  } else if (command == _T("CheckOK")) { 
     96    return checkSimpleStatus(NSCAPI::returnOK, argLen, char_args, msg, perf); 
     97  } else if (command == _T("check_ok")) { 
    9598    return checkSimpleStatus(NSCAPI::returnOK, argLen, char_args, msg, perf); 
    9699  } else if (command == _T("CheckWARNING")) { 
Note: See TracChangeset for help on using the changeset viewer.