Changeset c3057cd in nscp


Ignore:
Timestamp:
03/05/08 19:15:13 (6 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
a88c550
Parents:
8c7d67f
Message:

+ Added <> (same as ! and !=) as NRPE breaks the use of ! (in "all" numeric filters (eventlog))

Try using: filter-eventType=<>warning to remove everything that is not a warning

  • Fixed two spelling misstakes in the SysTray module.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • changelog

    r8c7d67f rc3057cd  
    1212 * Fixed an issue with eventlog and . matching. 
    1313 + Added shorthand ! for != in "all" numeric filters (eventlog) 
     14 + Added <> (same as ! and !=) as NRPE breaks the use of ! (in "all" numeric filters (eventlog)) 
     15   Try using: filter-eventType=<>warning to remove everything that is not a warning 
     16 * Fixed two spelling misstakes in the SysTray module. 
    1417  
    15182008-02-26 MickeM 
  • include/filter_framework.hpp

    r8c7d67f rc3057cd  
    310310      } else if (value.substr(0,2) == _T("!=")) { 
    311311        neq = value.substr(2); 
     312      } else if (value.substr(0,2) == _T("<>")) { 
     313        neq = value.substr(2); 
    312314      } else if (value.substr(0,1) == _T("!")) { 
    313315        neq = value.substr(1); 
  • modules/SysTray/SysTray.cpp

    rb5ef837 rc3057cd  
    3838  try { 
    3939    if ((serviceControll::GetServiceType(SZSERVICENAME)&SERVICE_INTERACTIVE_PROCESS)!=SERVICE_INTERACTIVE_PROCESS) { 
    40       NSC_LOG_ERROR(_T("SysTray is not installed (or it cannot interact with the desktop) SysTray wont be loaded. Run ") SZAPPNAME _T(" SysTray install ti change this.")); 
     40      NSC_LOG_ERROR(_T("SysTray is not installed (or it cannot interact with the desktop) SysTray won't be loaded. Run ") SZAPPNAME _T(" SysTray install to change this.")); 
    4141      return true; 
    4242    } 
    4343  } catch (serviceControll::SCException e) { 
    44     NSC_LOG_ERROR(_T("SysTray is not installed (or it cannot interact with the desktop) SysTray wont be loaded. Run ") SZAPPNAME _T(" SysTray install ti change this.")); 
     44    NSC_LOG_ERROR(_T("SysTray is not installed (or it cannot interact with the desktop) SysTray won't be loaded. Run ") SZAPPNAME _T(" SysTray install to change this.")); 
    4545    return true; 
    4646  } 
Note: See TracChangeset for help on using the changeset viewer.