The following topics are addressed here:
The remote create-audit-module command enables you to create an audit module for the add-on component that implements the audit capabilities.
Ensure that the server is running.
Remote commands require a running server.
Create an audit module by using the create-audit-module(1) command.
The following example command creates an audit module named sampleAuditModule on localhost:
asadmin create-audit-module --classname com.sun.appserv.auditmodule --property defaultuser= admin:Password=admin sampleAuditModule |
Information similar to the following is displayed:
Creation of AuditModule sampleAuditModule completed successfully Command create-audit-module executed successfully. |
The remote list-audit-modules command enables you to list the audit modules on one of the following targets:
Server instance, server (the default)
Specified server instance
Specified configuration
Ensure that the server is running.
Remote commands require a running server.
List the audit modules by using the list-audit-modules(1) command.
The following example command lists the audit modules on localhost:
asadmin list-audit-modules |
Information similar to the following is displayed:
audit-module : default audit-module : sampleAuditModule Command list-audit-modules executed successfully. |
The remote delete-audit-module command allows you to delete an existing audit module.
Ensure that the server is running.
Remote commands require a running server.
Delete an audit module by using the delete-audit-module(1) command.
The following example command deletes sampleAuditModule from localhost:
asadmin delete-audit-module sampleAuditModule |
Information similar to the following is displayed:
Deletion of Audit Module sampleAuditModule completed successfully Command delete-audit-module executed successfully. |