- changed title to Monit producing false alarms for Oracle processes
Monit producing false alarms for Oracle processes
Issue #313
resolved
Hello, I'm fairly new to Monit and am having issues monitoring Oracle processes.
I keep getting false alarms for asm_pmon based on the config below from my /etc/monitrc file:
# Oracle specific entries
check process crs with pidfile /var/run/crsd.pid
check process asm_pmon with pidfile /var/run/asm_pmon_.pid
check process ora_pmon matching "ora_pmon"
check process ocssd matching "ocssd"
check process LISTENER matching "tnslsnr LISTENER "
I originally was using check process with match for all, but have been experimenting by generating my own pid files. In both cases I'm getting alarms to say the process is not running, followed a moment later with a 'is running' message.
Perhaps I am missing something, the test match option works ok:
/opt/monit/monit-5.15/bin/monit procmatch asm_pmon_
List of processes matching pattern "asm_pmon_":
------------------------------------------
asm_pmon_+ASM1
------------------------------------------
Total matches: 1
/opt/monit/monit-5.15/bin/monit procmatch ora_pmon_
List of processes matching pattern "ora_pmon_":
------------------------------------------
ora_pmon_FWDB11
------------------------------------------
Total matches: 1
Any thoughts?
Comments (5)
-
reporter -
repo owner - edited description
-
repo owner The process check with pattern (ora_pmon) may fire false alert if the process forks, it is most likely duplicate of issue
#60(fix is in progress). -
repo owner - changed status to resolved
the fix is part of next monit release, you can test it if you want:
git clone git@bitbucket.org:tildeslash/monit.git --recursive cd monit ./bootstrap ./configure make
-
repo owner - removed version
Removing version: 5.15 (automated comment)
- Log in to comment