To test the email functionality of Dbvisit use the dbv_functions -m command.
This will send an email to the email address(es) specified by the ADMINS parameter in the Dbvisit Database Configuration (DDC) file.

For example for the w112g primary database run the command as follows:

$ dbv_functions -m w112g
=============================================================
Dbvisit Standby Database Technology (5.2.25.4075) (pid 3958)
dbv_functions started on dbvisit11: Fri Apr 30 15:38:57 2010
=============================================================

Sending schedular heartbeat message to dba_guru@companyxx.com.

This command can be used to test the email functionality is working. By default Dbvisit will send a test email every day to ensure the email functionality is still working. To specify the time that Dbvisit sends this test or heartbeat email is set by variable SEND_HEARTBEAT_TIME24. By default this is set to 7:00am.

It is also possible to send an attachment in the email. Specify the same command with a valid filename. This filename will then be emailed to the user specified by ADMINS as an attachment:

$ dbv_functions -m w112g dbv_w112g.env
=============================================================
Dbvisit Standby Database Technology (5.2.25.4075) (pid 3958)
dbv_functions started on dbvisit11: Fri Apr 30 15:38:57 2010
=============================================================

Attachment filesize is 33478 bytes

Sending schedular heartbeat message to dba_guru@companyxx.com.
with attachment dbv_w112g.env

In this example the DDC file (dbv_w112g.env) was sent to email dba_guru@companyxx.com as an attachment. You can use this command to send trace files or other relevant Dbvisit files to yourself.

The command can be run both on the primary and the standby database.