From a1a70d4a3c6a8314dd2ad35344d440e4ba8e86e8 Mon Sep 17 00:00:00 2001 From: Evan Steinkerchner Date: Tue, 1 Mar 2022 20:55:45 -0500 Subject: Added Portainer custom service --- docs/customservices.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/customservices.md') diff --git a/docs/customservices.md b/docs/customservices.md index 7e3e6b3..cb68e1d 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -125,3 +125,19 @@ For Prometheus you need to set the type to Prometheus and provide a url. url: "http://192.168.0.151/" # subtitle: "Monitor data server" ``` + +## Portainer + +This service displays info about the total number of containers managed by your Portainer instance. +In order to use it, you must be using Portainer version 1.11 or later. Generate an access token from the UI and pass +it to the apikey field. + +See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens + +```yaml +- name: "Portainer" + logo: "assets/tools/sample.png" + url: "http://192.168.0.151/" + type: "Portainer" + apikey: "MY-SUPER-SECRET-API-KEY" +``` -- cgit v1.2.3