IBM-Security / isam-ansible-roles

Ansible Custom Modules, Handlers and Tasks for ISAM. Requires "ibmsecurity" python package.
Apache License 2.0
24 stars 43 forks source link

using role variable 'add_system_alerts_rsyslog_name' if defined #103

Closed atiyou closed 4 years ago

atiyou commented 5 years ago

Beyond the fact that we may want to use a customized name for the alerts rsyslog entry

If you want to use the collector hostname (which may contains more than 32 caracters) rather than the ip address you got the following exception from the API endpoint (as the add_system_alerts_rsyslog_collector value is concatenated with 'RSyslog Alert to ' to form the name

### HTTP Return code: 400', u'["Name: Field must be between 1 and 50 in length"]')"