Changeset 5fda37e in nscp


Ignore:
Timestamp:
06/24/08 22:41:09 (5 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
3abff5c
Parents:
157dea5
Message:

2008-06-24 MickeM

+ Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message).
+ Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message).
+ Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message).
+ Added new check (to CheckHelpers): CheckVersion?: Just return the nagios version (along with OK status).

  • Better error messages in the check service thingy.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • AutoBuild.h

    rdff5db9 r5fda37e  
    33// change the FALSE to TRUE for autoincrement of build number 
    44#define INCREMENT_VERSION TRUE 
    5 #define FILEVER        0,3,3,5 
    6 #define PRODUCTVER     0,3,3,5 
    7 #define STRFILEVER     _T("0.3.3.5") 
    8 #define STRPRODUCTVER  _T("0.3.3.5") 
    9 #define STRPRODUCTDATE  _T("2008-06-14") 
     5#define FILEVER        0,3,3,11 
     6#define PRODUCTVER     0,3,3,11 
     7#define STRFILEVER     _T("0.3.3.11") 
     8#define STRPRODUCTVER  _T("0.3.3.11") 
     9#define STRPRODUCTDATE  _T("2008-06-24") 
    1010#endif // AUTOBUILD_H 
  • changelog

    r157dea5 r5fda37e  
    55 * Improved socket performance (would be nice if we could be used as a "hub") 
    66 * "The message is blocked by User Interface Privilege Isolation, Administrative applications that need to see it can allow it through by calling ChangeWindowMessageFilter after making sure the necessary security precautions are in place. " 
     7 
     82008-06-24 MickeM 
     9 + Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message). 
     10 + Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message). 
     11 + Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message). 
     12 + Added new check (to CheckHelpers): CheckVersion: Just return the nagios version (along with OK status). 
     13 * Better error messages in the check service thingy. 
    714 
    8152008-06-18 MickeM 
  • modules/NRPEListener/NRPEListener.cpp

    r140dd49 r5fda37e  
    228228      //p++; 
    229229    } 
    230     return NSCModuleHelper::InjectSplitAndCommand(t.first, sTarget, '!', message, perf); 
     230    try { 
     231      return NSCModuleHelper::InjectSplitAndCommand(t.first, sTarget, '!', message, perf); 
     232    } catch (NSCModuleHelper::NSCMHExcpetion e) { 
     233      NSC_LOG_ERROR_STD(_T("Failed to inject command (") + command.c_str() + _T("): ") + e.msg_); 
     234    } catch (...) { 
     235      NSC_LOG_ERROR_STD(_T("Failed to inject command (") + command.c_str() + _T("): Unknown error REPORT THIS")); 
     236    } 
    231237  } else if (cd.type == script) { 
    232238    int result = process::executeProcess(root_, args, message, perf, timeout); 
Note: See TracChangeset for help on using the changeset viewer.