Setting up detail monitoring for Netlsnr

Last published : Oct 21, 2026
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
  • Disable detail monitoring by setting the MonScript attribute to an empty string:
    \# 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
  1. Make the VCS configuration writable:
    \# haconf -makerw
    1. Freeze the service group to avoid automated actions by VCS caused by an incomplete reconfiguration:
    \# hagrp -freeze service_group
  2. Enable detail monitoring by entering the following commands:
    \# hares -modify LsnrResource MonScript "./bin/Netlsnr/LsnrTest.pl"\# hares -override LsnrResource LevelTwoMonitorFreq
    \# hares -modify LsnrResource LevelTwoMonitorFreq 1
\# haconf -dump -makero
\# hagrp -unfreeze service_group