ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Need to deploy multiple probe package updates using logmon probe package

book

Article ID: 186520

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

!logmon_AIX_* package - I need to modify some sections and remove others.

a) Modify the 'Unknown' watcher and b) Add the 'SAN PATH Failure' section as described. Do NOT use a logmon.cfg, the file must be named logmon.cfx for the changes to be 'merged.' That's why we saw sections get wiped out yesterday. I tested this several times by editing the Unknown watcher regex to see if it gets updated and by deleting the SAN PATH Failure watcher, to make sure it gets re-added.

Environment

Release : 9.2.0

Component : UIM LOGMON

Resolution

Here is the working logmon.cfx.

Package requirements:

a) Modifies 'Unknown' watcher section
b) Adds 'SAN PATH Failure' section

Do NOT use a logmon.cfg, the file must be named logmon.cfx for the changes to be 'merged.' Otherwise you might see config sections get wiped out.

---------------------------------------------------

<profiles> overwrite
   <errpt2esm> overwrite
      active = yes
      interval = 5 min
      scanfile = /var/log/errpt2esm/errpt.log
      fileencoding = 
      scanmode = updates
      alarm = yes
      qos = no
      message = no
      subject = 
      user = 
      resetFile = yes
      initialfileptr = 1
      resumefileptr = 4
      command_timeout_active = no
      command_timeout = 
      command_severity = 2
      command_timeout_alarm = 0
      alarmFOpenFail = no
      clearFOpenFailRestart = no
      monitor_exit_code = No
      max_alarm_sev = 5
      max_alarms = 
      max_alarm_msg = 
      password = 
   <watchers> overwrite  
         <Unknown> overwrite
            active = yes
            match = /!Gray!((?!PATH\sHAS\sFAILED).)*$/
            level = minor
            subsystemid = 
            message = ${PROFILE}.${WATCHER}: ${Matched}
            i18n_token = 
            restrict = 
            expect = no
            abort = no
            sendclear = no
            count = no
            separator = 
            suppid = 
            source = 
            target = 
            qos = 
            runcommandonmatch = no
            alarm_on_first_match = no
            commandexecutable = 
            commandarguments = 
            pattern_threshold_severity = information
            pattern_threshold_message = 
            timeout = 1
            pattern_threshold = 
            expect_message = 
            expect_level = 
            regexfromexternalfile = no
            patternfilepath = 
            token = 
            <variables> overwrite
               <Matched> overwrite
                  definition = *
                  operator = eq
               </Matched>
            </variables>
         </Unknown>
         <San Path Failure> overwrite
            active = yes
            match = /(?i)!Gray!.*PATH\sHAS\sFAILED/
            level = critical
            subsystemid = 
            message = ${PROFILE}.${WATCHER}: ${Matched}
            i18n_token = 
            restrict = 
            expect = no
            abort = no
            sendclear = no
            count = no
            separator = 
            suppid = 
            source = 
            target = 
            qos = 
            runcommandonmatch = no
            alarm_on_first_match = no
            commandexecutable = 
            commandarguments = 
            pattern_threshold_severity = information
            pattern_threshold_message = 
            timeout = 1
            pattern_threshold = 
            expect_message = 
            expect_level = 
            regexfromexternalfile = no
            patternfilepath = 
            token = 
            <variables> overwrite
               <Matched> overwrite
                  definition = $1
                  operator = eq
               </Matched>
            </variables>
         </San Path Failure>
      </watchers>
   </errpt2esm>
  </profiles>

---------------------------------------------------