-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add multitenancy (multiple agent instances with different cloud servers) support
- Loading branch information
1 parent
28907c7
commit 13996e6
Showing
11 changed files
with
234 additions
and
101 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
wb-cloud-agent (1.4.0) stable; urgency=medium | ||
|
||
* Add multi-provider support | ||
|
||
-- Aleksandr Kazadaev <[email protected]> Tue, 2 Apr 2024 15:49:17 +0500 | ||
|
||
wb-cloud-agent (1.3.3) stable; urgency=medium | ||
|
||
* Confirm unknown events without handling | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[Unit] | ||
Description=telegraf metric sender for Wiren Board Cloud (%i) | ||
After=wb-cloud-agent.service | ||
StartLimitIntervalSec=3600 | ||
StartLimitBurst=100 | ||
|
||
[Service] | ||
ExecCondition=/usr/bin/test -f /var/lib/wb-cloud-agent/providers/%i/frpc.conf | ||
ExecStart=/usr/bin/frpc --config /var/lib/wb-cloud-agent/providers/%i/frpc.conf | ||
Restart=always | ||
RestartSec=10 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[Unit] | ||
Description=telegraf metric sender for Wiren Board Cloud (%i) | ||
After=wb-cloud-agent.service | ||
StartLimitIntervalSec=3600 | ||
StartLimitBurst=100 | ||
|
||
[Service] | ||
ExecCondition=/usr/bin/test -f /var/lib/wb-cloud-agent/providers/%i/telegraf.conf | ||
ExecStart=/usr/bin/telegraf --config /var/lib/wb-cloud-agent/providers/%i/telegraf.conf | ||
Restart=always | ||
RestartSec=10 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=Wiren Board Cloud Agent (%i) | ||
StartLimitIntervalSec=3600 | ||
StartLimitBurst=100 | ||
|
||
[Service] | ||
ExecStart=/usr/bin/wb-cloud-agent --daemon --provider %i | ||
Restart=always | ||
RestartSec=10 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
Oops, something went wrong.