Ignore:
Timestamp:
09/06/08 20:51:13 (5 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
dc59b0e
Parents:
c0522cd
Message:

2008-09-06 MickeM

  • Improved error reporting in the eventlogchecker
  • *BREAKING CHANGE* filter=new is now the default so unless you use the new filtering you need to specify filter=old instead! I Recommend everyone to stop using the "old" filtering.

2008-09-04 MickeM

  • Fixed issues with new service stuff on NT4 and W2K (should work fine now) + Added some DebugOutput? to service handling features so if you experience tropubel try using sysinternals DebugView? too se logging before the agent startes.
  • Fixed a memory leak in the error formating code

2008-08-24 MickeM

  • Changed NSCA "general problem" error message to be more descriptive.
  • Fixed issue with CheckCPU not returning a valid performance unit (%) see issue #219 for details.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/CheckEventLog/CheckEventLog.cpp

    r34e7428 rbc97cd8  
    405405  bool bFilterIn = true; 
    406406  bool bFilterAll = false; 
    407   bool bFilterNew = false; 
     407  bool bFilterNew = true; 
    408408  bool bShowDescriptions = false; 
    409409  bool unique = false; 
     
    471471 
    472472  unsigned long int hit_count = 0; 
     473  if (files.empty()) { 
     474    message = _T("No file specified try adding: file=Application"); 
     475    return NSCAPI::returnUNKNOWN; 
     476  } 
    473477 
    474478  for (std::list<std::wstring>::const_iterator cit2 = files.begin(); cit2 != files.end(); ++cit2) { 
     
    502506 
    503507        if (filter_chain.empty()) { 
    504           message = _T("No filters specified."); 
     508          message = _T("No filters specified try adding: filter+generated=>2d"); 
    505509          return NSCAPI::returnUNKNOWN; 
    506510        } 
Note: See TracChangeset for help on using the changeset viewer.