-
KanBo Installation
- KanBo Installation Guide (Microsoft 365 + Azure)
- KanBo Installation Guide (On-Premises)
- KanBo On-Premises Installation Requirements and Prerequisites
- Creating an X.509 High-Trust Certificate
- Creating and Updating Elastic Cloud Deployment
- Installing Elasticsearch on Windows
- Installing Elasticsearch on Debian
- Creating a Windows Virtual Machine on Azure for Elasticsearch
- Creating a Linux Based Virtual Machine on Azure for Elasticsearch
- KanBo Modern Web Part Installation
- Supported Browsers
- KanBo Setup
-
KanBo Updates
-
Additional Components
- Installing KanBo Teams App
- Installing KanBo Outlook Add-in
- Installing KanBo Mini Application
- Installing Nintex Integration
- Installing Autodesk BIM Plugin
- Configuring UiPath Integration
- Installing and Configuring Power Automate Integration
- KanBo External User Groups (Active Directory Integration)
- User Auto-Provisioning on First Access (SharePoint Plugin)
- SharePoint Profile Synchronization
- Configuring Sync Targets
- SharePoint Site Collection Balancing and Admin Warnings
- Setting Up BIM Sync WebJob
- Configuring OData Integration for Power BI Desktop
- KanBo PowerShell Commandlets
- Direct Sync of SharePoint Lists with KanBo
- Enabling KanBo Email Notifications (Azure)
- Enabling KanBo Email Notifications (On-Premises)
- Enabling OneDrive Integration in KanBo
- Enabling Sending Card Messages as Emails
- Enabling Sending Emails to KanBo (Microsoft 365 + Azure)
- Enabling Sending Emails to KanBo (On-Premises)
- Prometheus and Grafana configuration for KanBo metrics
- KanBo MCP Installation and Configuration
- KanBo M365 Copilot Connector - Installation
- Show all articles ( 5 ) Collapse Articles
-
Tips & Tricks
- Configuring Document Opening Behavior in KanBo
- Disabling Sleeping Tabs in Browsers
- Disabling Public Space Creation in KanBo
- Checking Certificate Expiration Dates (On-Premises)
- KanBo License ID
- Checking KanBo Version
- Changing the Help URL in KanBo
- Renewing Microsoft Graph Certificate
- Disabling Profile Picture Sync in Profile Sync Job
- Creating and Customizing Profile Sync WebJob
- Configuring KanBo for Microsoft Azure GCC High Environment
-
Troubleshooting
Prometheus and Grafana configuration for KanBo metrics
Prerequisites
Configuration of KanBo metrics requires a working Ubuntu Virtual Machine that is able to communicate with the KanBo app. Also make sure that port 3000 (port used by Grafana) is open for Your ip address.
The KanBo app itself requires an addition to the “config” section in the appsettings.json that should look like this:
"UserCanEditProfile": true,
"AllowPublicBoards": false,
"Telemetry": {
"Type": "Prometheus",
"AuthKey": "random string here"
}
Setting up an AuthKey here is required in the later steps.
Make sure the KanBo app has been restarted after appsettings.json changes.
1. Downloading and configuring Prometheus
For the steps below, the code fragments written in cursive represent values to be substituted
- SSH into Your Ubuntu VM
- Go to the Prometheus download page and copy the latest Linux build link
- cd to the /tmp folder and download the package with “wget link“
- Unpack the downloaded package by running “tar xvf packagefilename“
- cd to the unpacked folder
- Run “nano prometheus.yml”
You have now opened the default prometheus configuration file which requires a few additions or changes which are highlighted below:
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=` to any timeseries scraped from this config.
- job_name: "prometheus"
scheme: https
authorization:
credentials: "AuthKey from KanBo appsettings.json"
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ["KanBo Url"]
# The label name is added as a label `label_name=` to any timeseries scraped from this config.
labels:
app: "prometheus"
Make sure the linebreaks are in the exact same places as they are above.
The scheme and the authorization section need to be added manually. The value for credentials needs to be the same as the AuthKey in the KanBo appsettings.json.
Targets are present by default in the config but need to be changed to the URL of Your KanBo.
Save the file after modifying.
2. Setting up Prometheus as a service
- sudo useradd –no-create-home –shell /bin/false prometheus
- sudo mkdir /etc/prometheus
- sudo mkdir /var/lib/prometheus
- sudo chown prometheus:prometheus /etc/prometheus /var/lib/prometheus
- sudo cp prometheus promtool /usr/local/bin/
- sudo chown prometheus:prometheus /usr/local/bin/prometheus /usr/local/bin/promtool
- sudo cp prometheus.yml /etc/prometheus/
- sudo chown -R prometheus:prometheus /etc/prometheus
[Unit] Description=Prometheus Monitoring Wants=network-online.target After=network-online.target [Service] User=prometheus Group=prometheus Type=simple Restart=on-failure ExecStart=/usr/local/bin/prometheus \ --config.file=/etc/prometheus/prometheus.yml \ --storage.tsdb.path=/var/lib/prometheus/ \ --web.listen-address=0.0.0.0:9090 [Install] WantedBy=multi-user.targetSave the file
Grafana download and installation
Installation of Grafana requires adding its GPG Key and repository to the package tool, after which You will be able to install and update it with apt. To do that, follow the steps below:
- cd to /etc/apt/keyrings. If the folder does not exist, create it with mkdir
- Download the GPG Key with sudo wget -O /etc/apt/keyrings/grafana.asc https://apt.grafana.com/gpg-full.key
- sudo chmod 644 /etc/apt/keyrings/grafana.asc
- Add the Grafana repository with echo “deb [signed-by=/etc/apt/keyrings/grafana.asc] https://apt.grafana.com stable main” | sudo tee -a /etc/apt/sources.list.d/grafana.list
To install Grafana after adding its repository run sudo apt-get update first, then sudo apt-get install grafana
Starting and configuring Grafana
First, reload systemd by running systemctl daemon-reload. This will make Grafana and Prometheus runnable as services, which You start by running sudo systemctl enable –now prometheus and sudo systemctl start grafana-server
Your Prometheus service runs on port 3000, while the Grafana service runs on port 9090.
Go to yourmachineip:9000. You will be prompted to login
The temporary login and password are both “admin”. After logging in You will be prompted to change the password, which you should do.
Next, open the connections tab, click on “Add new connection” and select “Prometheus”.
Then click on “Add new data source”
The only change required afterwards is typing out http://localhost:9090 as the Prometheus server URL
Scroll to the bottom and click on “Save & Test”
You should get a message informing You that querying was successful. Click on “Explore view”.
Now You are able to query KanBo metric data!
