This is a small script I wrote for use in NetBackup 5.1 and ported to use in 6.5. It uses a file configured with servers to monitor and will send out an alert report if it finds drives in AVR mode or if ltid on a monitored server is not active.
It has been tested and runs properly under solaris 9 & 10.