audit remotehost add
Add an identified Remote Logging Server.
User Privileges
Only specialized Audit users can access audit commands.
Syntax
audit remotehost add -host <hostnameoripaddress> [-protocol <protocol>] [-port <port>]
Argument(s) | Shortcut | Description |
---|---|---|
-host <hostnameoripaddress> | -h | Specifies the Remote Logging Server Host Name or IP address. |
-port <port> | -po |
Specifies the server port to use for the Remote Logging Server. Range: 0 to 65535 Default: 514 |
-protocol <protocol> | -pr |
Specifies the protocol for remote logging with the specified server. Valid values: tcp,udp Default: udp |
Example
lunash:>audit remotehost add -host 192.20.11.64 Stopping syslog: [ OK ] Starting syslog: [ OK ] iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ] Command Result : 0 (Success)