---
title: Install (Deprecated) Prometheus Juju Exporter on Manjaro Linux using the Snap
  Store | Snapcraft
description: Get the latest version of (Deprecated) Prometheus Juju Exporter for on
  Manjaro Linux - Prometheus exporter for Juju machine statuses
url: https://snapcraft.io/install/prometheus-juju-exporter/manjaro
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install (Deprecated) Prometheus Juju Exporter on **Manjaro Linux**

# (Deprecated) Prometheus Juju Exporter (prometheus-juju-exporter)

[Canonical](https://snapcraft.io/publisher/canonical "View all snaps from Canonical")

* [Canonical](https://snapcraft.io/publisher/canonical "View all snaps from Canonical")
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

[Install](https://snapcraft.io/install/prometheus-juju-exporter/manjaro#install)

#### Prometheus exporter for Juju machine statuses

**MAINTENANCE NOTICE**
This snap is under maintenance mode. Only critical bug will be handled. See the `Migration` guide for more details on how to migrate to the new solution:

* <https://charmhub.io/prometheus-juju-exporter/docs/h-migration>

**Overview**

Prometheus Juju Exporter is a snap that collects statistics about machines deployed by a juju controller and exports them as Prometheus metrics.

The snap runs as a daemon service, crawling through every Juju model it finds and collecting information about deployed machines. Resulting metrics contain numeric representation `1` (UP) or `0` (DOWN) for each machine deployed by the controller. In addition, each machine (metric) has labels that help to uniquely identify it:

* hostname - hostname of the machine as reported by Juju
* juju\_model - name of the model in which the machine is deployed
* cloud\_name - name of the cloud that hosts the model
* customer - name of the customer/organization that owns the controller
* type - Distinguishes various host types
* metal - Physical machine
* kvm - Virtual Machine
* lxd - LXD container

**Compatibility matrix**

Due to the limitations of libjuju's [1] cross-version support, channels and versions are used in the snap to accommodate different juju controller versions. Generally speaking, install the snap channel that matches the version of the Juju controller.

For example, in a Juju cloud with a version 2.9 controller, users must install the snap from the `2.9/stable` channel:

```
 sudo snap install --channel 2.9/stable prometheus-juju-exporter
```

A more exhaustive version mapping table is available in the project's README file [2].

**Configuration**

To configure the snap for your own environment, create a `config.yaml` file in the `$SNAP_DATA` (refer to Snap Environment Variables [3] linked below) directory.

Example configuration:

```
 customer: # information about the targeted cloud
   name: "example_customer"
   cloud_name: "example_cloud"

 juju: # these are usually found under ~/.local/share/juju

   # The endpoint and CA certificate of the targeted controller
   controller_endpoint: ""
   controller_cacert: "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n"

   # Credentials of a juju user. The minimum privileges of the user should be:
   # `login` access to the controller and `admin` access to its model, as well as
   # `admin` access to any other model monitored by this exporter
   username: "example_user"
   password: "example_password"

 exporter:
   port: 9748 # optional, defaults to 5000
   collect_interval: 15

 # parameters affecting the detection of machine types (physical or virtual)
 detection:
   # Interface names to consider when detecting machine type.
   # Takes a single regex string as input. The default value '' is
   # equivalent to '.*'.
   match_interfaces: ''^(en[os]|eth)\d+|enp\d+s\d+|enx[0-9a-f]+”
   # The list of MAC address prefixes to be considered as virtual machines.
   virt_macs: ["52:54:00", "fa:16:3e", "06:f1:3a", "00:0d:3a", "00:50:56"]
```

The machine type detection algorithm will classify a machine as virtual if any MAC address included in the `virt_macs` prefix list matches the MAC address of any of the interfaces selected by the `match_interfaces` regex. If no such match is found, the machine is considered to be a physical machine.

**Viewing metrics**

The exported Prometheus metrics can be viewed directly by accessing the port specified in `config.yaml` of the machine on which the charm is deployed. For example, `curl http://192.168.5.10:5000`

With a successful Prometheus integration, the exported metrics will be scraped from the endpoint and displayed as time series data.

**Links**

* [1] <https://github.com/juju/python-libjuju/>
* [2] <https://github.com/canonical/prometheus-juju-exporter?tab=readme-ov-file#juju-version-compatibility>
* [3] <https://snapcraft.io/docs/environment-variables>

### Package name

* prometheus-juju-exporter

---

### License

* unset

---

### Last updated

* 8 June 2024 - latest/stable
* 23 April 2025 - 3/edge

---

### Report a bug

* [github.com/canonical/prometheus-juju-exporter/issues](https://github.com/canonical/prometheus-juju-exporter/issues "https://github.com/canonical/prometheus-juju-exporter/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/prometheus-juju-exporter/manjaro#report-snap-modal)

---

[See more information about prometheus-juju-exporter ›](https://snapcraft.io/prometheus-juju-exporter)

## Enable snaps on Manjaro Linux and install (Deprecated) Prometheus Juju Exporter

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snapd can be installed from Manjaro’s Add/Remove Software application (Pamac), found in the launch menu. From the application, search for *snapd*, select the result, and click Apply.

Alternatively, *snapd* can be installed from the command line:

```
sudo pacman -S snapd
```

Once installed, the *systemd* unit that manages the main snap communication socket needs to be enabled:

```
sudo systemctl enable --now snapd.socket
```

To enable *classic* snap support, enter the following to create a symbolic link between `/var/lib/snapd/snap` and `/snap`:

```
sudo ln -s /var/lib/snapd/snap /snap
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

### Install (Deprecated) Prometheus Juju Exporter

To install (Deprecated) Prometheus Juju Exporter, simply use the following command:

```
sudo snap install prometheus-juju-exporter
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/prometheus-juju-exporter/manjaro)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/prometheus-juju-exporter/manjaro)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
