For Netlsnr agent, the detail monitoring is not enabled by default to monitor the listener process.
You can enable detail monitoring for Netlsnr by specifying a value for the MonScript attribute. The example to set up detail monitoring uses the supplied monitor script for Netlsnr, /opt/VRTSagents/ha/bin/Netlsnr/LsnrTest.pl. The detail monitoring script for the Netlsnr resource uses the Listener command lsnrctl status $Listener to test the Listener process.
To disable detail monitoring for Netlsnr
# haconf -makerw # hagrp -freeze service_group # hares -modify LsnrResource MonScript ""
# hares -override LsnrResource LevelTwoMonitorFreq # hares -modify LsnrResource LevelTwoMonitorFreq 0
# haconf -dump -makero # hagrp -unfreeze
To set up detail monitoring for Netlsnr
# haconf -makerw
# hagrp -freeze service_group
# hares -modify LsnrResource MonScript "./bin/Netlsnr/LsnrTest.pl"
# hares -override LsnrResource LevelTwoMonitorFreq # hares -modify LsnrResource LevelTwoMonitorFreq 1
# haconf -dump -makero
# hagrp -unfreeze service_group