Authored by root

java-message增加日志采集

@@ -233,6 +233,68 @@ @@ -233,6 +233,68 @@
233 roles: 233 roles:
234 - java-rsyslog 234 - java-rsyslog
235 235
  236 +- hosts: java-message
  237 + vars:
  238 + rsyslog_module: yoho-message-controller
  239 + rsyslog_files:
  240 + - debug-log
  241 + - gc
  242 + - miniAllUidSend
  243 + - warn-log
  244 +
  245 + remote_user: root
  246 + roles:
  247 + - java-rsyslog
  248 +
  249 +- hosts: java-message
  250 + vars:
  251 + rsyslog_module: yoho-message-sender
  252 + rsyslog_files:
  253 + - debug-log
  254 + - gc
  255 + - inboxMsgSend
  256 + - miniMsgSend
  257 + - smsSend
  258 + - wechatMsgSend
  259 + - warn-log
  260 +
  261 + remote_user: root
  262 + roles:
  263 + - java-rsyslog
  264 +
  265 +
  266 +- hosts: java-message
  267 + vars:
  268 + rsyslog_module: task
  269 + rsyslog_files:
  270 + - debug
  271 + - gc
  272 + - warn
  273 +
  274 + remote_user: root
  275 + roles:
  276 + - java-rsyslog
  277 +
  278 +- hosts: java-message
  279 + vars:
  280 + rsyslog_module: push
  281 + rsyslog_files:
  282 + - debug
  283 + - android_push_failed
  284 + - android_push
  285 + - error
  286 + - gc
  287 + - ios_push
  288 + - push-consumer
  289 + - push-important
  290 + - push-producer
  291 + - warn
  292 +
  293 + remote_user: root
  294 + roles:
  295 + - java-rsyslog
  296 +
  297 +
236 # rsyslog config for java sns 298 # rsyslog config for java sns
237 - hosts: java-sns 299 - hosts: java-sns
238 vars: 300 vars: