with oracle_logmon deployed logmon opens in Raw configure
search cancel

with oracle_logmon deployed logmon opens in Raw configure

book

Article ID: 375582

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

When I deploy the  oracle_logmon configuration package that is present in the Nimsoft Archive, the logmon probe GUI no longer opens and it open the Raw Configure instead. 

Environment

DX UIM 20.4.* / 23.4.*

Cause

The oralcle_logmon available at the Nimsoft Online Archive is simply a superpackge with configuration only that installs a logmon oracle monitoring profile and several watchers into your logmon target probe.
 
However, this package is End of Service as it was issued in 2003; although the profile in it can be still used as is, this is causing the issue because of packages mismatches.

We will retire or replace this package from the archive soon. 

Resolution

To resolve the issue you should NOT use the oracle_logmon package.

To Resolve the issue please: 

 

1. First, Redeploy the same GA logmon version on top of the existing logmon probe that cannot be open. This will patch the issue. Check if the probe can be open now, and that you have your needed profile. Now you are ready to go as the GA probe has overwritten the EOS package and it will open now with the correct GUI. 

2. never use again oracle_logmon but create a superpackage manually with the CFX below: 

The procedure to create a simple probe configuration package is posted here: Create a simple DX UIM superpackage (broadcom.com)

 

oracle_logmon CFX:

 

<setup> overwrite
   logfile = logmon.log
   debug = 0
   logsize = 100
   cfg_ver = 2
   format_interval = 1
   severity = 5
   commOnRunThreads = 100
   winDefaultEncoding = UTF-8
   standard_static_threshold = false
   user = 
   alarmOnFileOpenFailed = yes
   SystemEncoding = 
   fOpenClearAlramRestart = no
   password = 
</setup>
<profiles> overwrite
   <rdb_log> overwrite
      active = no
      scanfile = rdb_short.log
      scanmode = cat
      alarm = yes
      <formats> overwrite
         <detect_db_start> overwrite
            start = /^\*+\s+$/
            end = blankline
         </detect_db_start>
         <space_separated_records> overwrite
            start = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) .*/
            end = /^(\s+$|\*+\s+$)/
         </space_separated_records>
         <date_separated_records> overwrite
            start = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) .*/
            end = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) .*/
         </date_separated_records>
      </formats>
      <watchers> overwrite
         <rdb-errors> overwrite
            match = *RDB error*
            message = $src : $msg,$msg2
            i18n_token = as#system.logmon.rdb_errors
            <variables> overwrite
               <src> overwrite
                  definition = 1/7
               </src>
               <msg> overwrite
                  definition = 2/1-
               </msg>
               <msg2> overwrite
                  definition = 4/1-
               </msg2>
            </variables>
         </rdb-errors>
         <errors> overwrite
            match = *[Ee][Rr][Rr][Oo][Rr]*
            message = $src : $msg
            i18n_token = as#system.logmon.errors
            <variables> overwrite
               <src> overwrite
                  definition = 1/7
               </src>
               <msg> overwrite
                  definition = 2/1-
               </msg>
            </variables>
         </errors>
         <start> overwrite
            restrict = detect_db_start
            message = $src : Database server started with $cfg
            i18n_token = as#system.logmon.db_started
            <variables> overwrite
               <src> overwrite
                  definition = 2/12
               </src>
               <cfg> overwrite
                  definition = 3/4
               </cfg>
            </variables>
         </start>
      </watchers>
   </rdb_log>
   <my_log> overwrite
      active = no
      scanfile = my.log
      scanmode = cat
      alarm = yes
      <formats> overwrite
         <mon_12345> overwrite
            start = *(12345 |[Ll]ogfile)*
            end = blankline
         </mon_12345>
         <mon_major> overwrite
            start = *Major *
            end = /^\s+$/
         </mon_major>
      </formats>
      <watchers> overwrite
         <ora> overwrite
            match = *Error in extent*
         </ora>
         <feil> overwrite
            match = *feil*
         </feil>
         <liberror> overwrite
            match = ^DB-lib error.*
            separator = : | ": "
            message = $msg ($rdb)
            i18n_token = as#system.logmon.lib_error
            level = warning
            <variables> overwrite
               <rdb> overwrite
                  definition = 1/7
               </rdb>
               <msg> overwrite
                  definition = 5/1-
               </msg>
            </variables>
         </liberror>
      </watchers>
   </my_log>
   <system_messages> overwrite
      active = no
      scanfile = /var/adm/messagesx
      scanmode = cat
      alarm = yes
      <watchers> overwrite
         <errors> overwrite
            match = *[Ee][Rr][Rr][Oo][Rr]*
         </errors>
         <jukebox> overwrite
            match = *[Jj]ukebox*
         </jukebox>
         <expect_string> overwrite
            match = This must be here
            expect = yes
            message = Missing application heartbeat
            i18n_token = as#system.logmon.expect_string
            level = critical
         </expect_string>
         <external_eval> overwrite
            case = yes
            match = error
            lines = 3
            output = out.log
            eval = perl out.eval out.log
            message = Error in logfile.
            i18n_token = as#system.logmon.external_eval
            level = major
         </external_eval>
      </watchers>
   </system_messages>
   <sulog> overwrite
      active = no
      scanfile = sulog
      scanmode = updates
      alarm = yes
      <watchers> overwrite
         <test> overwrite
            match = *[Hh]eartbeat*
            expect = no
            message = Missing heartbeat, it wasn't here
            i18n_token = as#system.logmon.heartbeat_test
            level = minor
         </test>
         <root_users> overwrite
            match = /.* - .*-root.*/
            message = Failed attempt to login as root $who
            i18n_token = as#system.logmon.root_users
            level = minor
            <variables> overwrite
               <date> overwrite
                  definition = 2
               </date>
               <time> overwrite
                  definition = 3
               </time>
               <who> overwrite
                  definition = 6
               </who>
            </variables>
         </root_users>
      </watchers>
   </sulog>
   <weblog> overwrite
      active = no
      subject = weblog
      scanfile = weblog
      scanmode = updates
      <watchers> overwrite
         <test> overwrite
            match = *
            message = $ip $msg
            i18n_token = as#system.logmon.ip_msg_test
            level = minor
            <variables> overwrite
               <ip> overwrite
                  definition = 1
               </ip>
               <msg> overwrite
                  definition = 2-
               </msg>
            </variables>
         </test>
      </watchers>
   </weblog>
   <Dr. Watson> overwrite
      active = no
      scanfile = C:\WINNT\drwtsn32.log
      scanmode = updates
      alarm = yes
      <formats> overwrite
         <Exception> overwrite
            active = yes
            start = Application exception occurred:
            end = blankline
            lines = 0
         </Exception>
      </formats>
      <watchers> overwrite
         <ApplicationError> overwrite
            active = yes
            level = major
            restrict = Exception
            expect = no
            message = Application error at $When $App $Error
            i18n_token = as#system.logmon.application_error
            <variables> overwrite
               <App> overwrite
                  definition = 2/2
               </App>
               <When> overwrite
                  definition = 3/2-
               </When>
               <Error> overwrite
                  definition = 4/4-
               </Error>
            </variables>
         </ApplicationError>
      </watchers>
   </Dr. Watson>
   <Norman_NT> overwrite
      active = no
      scanfile = /norman/win32/norman.rpt
      scanmode = full
      alarm = yes
      <watchers> overwrite
         <File> overwrite
            active = yes
            match = * -> *
            level = major
            message = Infected file: $infected
            i18n_token = as#system.logmon.infected_file
            expect = no
            subsystemid = 1.1.16
            <variables> overwrite
               <infected> overwrite
                  definition = 5:
               </infected>
            </variables>
         </File>
         <Count> overwrite
            active = yes
            match = /.*infections.*:(?!      0).*/
            level = critical
            message = $infections file(s) are virus infected !
            i18n_token = as#system.logmon.infected_count
            expect = no
            separator = :
            subsystemid = 1.1.16
            <variables> overwrite
               <infections> overwrite
                  definition = 2
               </infections>
            </variables>
         </Count>
      </watchers>
   </Norman_NT>
   <Test Profile> overwrite
      active = no
      interval = 60 sec
      scanfile = ipconfig
      scanmode = command
      alarm = no
      qos = yes
      message = no
      monitor_exit_code = No
      max_alarm_sev = 5
      max_alarms = 
      max_alarm_msg = 
      password = 
      <watchers> overwrite
         <Watcher1> overwrite
            active = yes
            match = *
            level = information
            i18n_token = 
            expect = no
            abort = no
            sendclear = no
            count = yes
            qos = 
            runcommandonmatch = no
            expect_message = 
            expect_level = 
         </Watcher1>
      </watchers>
   </Test Profile>
</profiles>
<mcs_timestamp> overwrite
   171 = 1721174400000
</mcs_timestamp>