Last active
August 29, 2015 14:14
-
-
Save jeanfrancis/f863e8c8a6c7a9333c3b to your computer and use it in GitHub Desktop.
manage together multiple Sensu instance in Uchiwa dashboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setting of Uchiwa dealing with multiple sensu-server | |
In json of Uchiwa, by the sensu in array as follows, it seems it's enough to describe the end point of all of sensu-api. | |
uchiwa.json | |
{ | |
"Uchiwa": { | |
(Omitted) | |
}, | |
"Sensu": [ | |
{ | |
"Name": "sensu-a", | |
"Host": "<sensu-a-api host>", | |
"Port": <sensu-a-api port>, | |
(Omitted) | |
}, | |
{ | |
"Name": "sensu-b", | |
"Host": "<sensu-b-api host>", | |
"Port": <sensu-b-api port>, | |
(Omitted) | |
}, | |
{ | |
"Name": "sensu-c", | |
"Host": "<sensu-c-api host>", | |
"Port": <sensu-c-api port>, | |
(Omitted) | |
} | |
] | |
} | |
By the way, uchiwa-chef If you are using, and if you pass the attribute as described below, will generate a json as described above. | |
"Uchiwa": { | |
"Settings": { | |
(Omitted) | |
}, | |
"Api": [ | |
{ | |
"Name": "sensu-a", | |
"Host": "<sensu-a host>", | |
"Port": <sensu-a port>, | |
(Omitted) | |
}, { | |
"Name": "sensu-b", | |
"Host": "<sensu-b host>", | |
"Port": <sensu-b port>, | |
(Omitted) | |
}, { | |
"Name": "<sensu-c>", | |
"Host": "<sensu-c host>", | |
"Port": <sensu-c port>, | |
(Omitted) | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment