이벤트 수집 사용 안 함

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • 성능상의 이유로 메트릭 데이터가 수집되는 데이터 소스에서 이벤트를 수집하지 않도록 설정할 수 있습니다. Nagios XI 서버, SolarWinds 모니터링 시스템 및 Zabbix 서버와 같은 데이터 소스에 대한 이벤트 수집을 비활성화할 수 있습니다.

    시작하기 전에

    필요한 역할: evt_mgmt_admin
    주:
    이벤트 수집을 사용하지 않도록 설정한 후 다시 시작하려면 커넥터의 원래 스크립트를 복원해야 합니다.

    프로시저

    1. 다음으로 이동 모두 > 이벤트 관리 > 통합 > 커넥터 인스턴스.
    2. 이벤트 수집을 사용하지 않도록 설정할 데이터 소스의 커넥터 인스턴스를 선택합니다.
      예를 들어 Nagios, SolarWinds 또는 Zabbix의 커넥터 인스턴스를 선택합니다.
    3. 이벤트 수집 일정(초)을 20,000,000과 같은 큰 값으로 설정합니다.
      이렇게 하면 MID 서버와의 불필요한 통신을 방지하여 성능을 최적화할 수 있습니다.
    4. 업데이트를 클릭합니다.
    5. 다음으로 이동 MID 서버 > 스크립트 포함 메서드를 재정의하여 커넥터의 스크립트(예 NagiosMetrics_JS: , SolarWindsJS, ZabbixJS또는 )를 확장합니다 execute .
      다음과 같은 코드 조각을 추가하고 업데이트를 클릭합니다.

    Nagios용 코드 스니펫

    var NagiosJSCustom = Class.create();
     
    // Extending Nagios default script
    NagiosJSCustom.prototype = Object.extendsObject(NagiosJS, {
     
    // Override execute method
                        execute: function() {
            var retVal = {};                                            
            retVal['status'] = SUCCESS.toString();
           retVal['error_message'] = "Disabled by custom Class, 'Last event collection status' will be 'error' and this is normal. To achieve success status, enable event pull in custom class(NagiosJSCustom)";
                                                   
            return retVal;
        });
    SolarWinds 커넥터에는 다음을 사용합니다.
    var SolarWindsJSCustom = Class.create();
     
    // Extending solarwinds default script
    SolarWindsJSCustom.prototype = Object.extendsObject(SolarWindsJS, {
    Zabbix 커넥터에는 다음을 사용합니다.
    var ZabbixJSCustom = Class.create();
     
    // Extending zabbix default script
    ZabbixJSCustom.prototype = Object.extendsObject(ZabbixJS, {