mellanox.onyx.onyx_syslog_remote – Configure remote syslog module¶
Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_syslog_remote
.
New in version 0.2.0: of mellanox.onyx
Parameters¶
Examples¶
- name: Remote logging port 8080
- onyx_syslog_remote:
host: 10.10.10.10
port: 8080
- name: Remote logging trap override
- onyx_syslog_remote:
host: 10.10.10.10
trap_override:
- override_class: events
override_priority: emerg
- name: Remote logging trap emerg
- onyx_syslog_remote:
host: 10.10.10.10
trap: emerg
- name: Remote logging filter include 'ERR'
- onyx_syslog_remote:
host: 10.10.10.10
filter: include
filter_str: /ERR/
- name: Disable remote logging with class events
- onyx_syslog_remote:
enabled: False
host: 10.10.10.10
class: events
- name : disable remote logging
- onyx_syslog_remote:
enabled: False
host: 10.10.10.10
- name : enable/disable override class
- onyx_syslog_remote:
host: 10.7.144.71
trap_override:
- override_class: events
override_priority: emerg
override_enabled: False
- override_class: mgmt-front
override_priority: alert
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Anas Shami (@anass)