Closed
Bug 1443304
Opened 7 years ago
Closed 7 years ago
Add the following to puppetized syslog1.private.mdc1.mozilla.com amqp.conf
Categories
(Infrastructure & Operations :: Infrastructure: Puppet, task)
Infrastructure & Operations
Infrastructure: Puppet
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: phrozyn, Assigned: bhourigan)
Details
Could you please add:
to the destination d_amqp on mdc1?
body("$(format-json --scope selected_macros --scope nv_pairs --pair details.hostname=$HOST)")
Basically just adding that --pair parameter replicating the hostname to the details.hostname field in the event
Some of our alerting is broken because mdc1 doesn't populate the details.hostname
This should fix it.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(bhourigan)
Reporter | ||
Comment 1•7 years ago
|
||
I also need another --pair added.
So the line will end up looking like this:
body("$(format-json --scope selected_macros --scope nv_pairs --pair details.hostname=$HOST --pair details.program=$PROGRAM)")
Assignee | ||
Comment 2•7 years ago
|
||
(In reply to Alicia Smith [:phrozyn] (use NEEDINFO) from comment #1)
> I also need another --pair added.
>
> So the line will end up looking like this:
>
> body("$(format-json --scope selected_macros --scope nv_pairs --pair
> details.hostname=$HOST --pair details.program=$PROGRAM)")
No problem:
- body("$(format-json --scope selected_macros --scope nv_pairs)")
+ body("$(format-json --scope selected_macros --scope nv_pairs --pair details.hostname=$HOST --pair details.program=$PROGRAM)")
Shipped in 82d6a0d25b0c49a8aa947f2b15f43d2000245bb0
Flags: needinfo?(bhourigan)
Assignee | ||
Updated•7 years ago
|
Assignee: infra → bhourigan
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•