BSD Ports

net-mgmt/junos_exporter 0.15.4_7 DragonFly

Prometheus exporter for Juniper device metrics

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net-mgmt
Package size
4780.2 KiB, 16933.9 KiB installed

Description

junos_exporter is a Prometheus exporter for Juniper device metrics.

This exporter also supports Prometheus' multi-target scraping pattern, which enables a single running instance of the exporter to collect metrics from multiple Juniper devices.

In the other systems

The newest version among them is 0.17.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/junos_exporter0.15.4_7 behind since 2026-10-15none known-[email protected]-
FreeBSDnet-mgmt/junos_exporter0.17.3_1 newestnone known-[email protected]2026-10-20
HardenedBSDnet-mgmt/junos_exporter0.17.3_1 newestno data-[email protected]-
GhostBSDnet-mgmt/junos_exporter0.17.3_1 newestno data-[email protected]-

Version history 1

  1. 0.15.4

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install junos_exporter

From DPorts:

cd /usr/dports/net-mgmt/junos_exporter && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To start junos_exporter, create a configuration file at:

  /usr/local/etc/junos_exporter.yml

With a configuration like this basic example:

  devices:
    - host: router1
      username: exporter
      key_file: /path/to/key
    - host: router2
      username: exporter
      password: secret
      features:
        alarm: true
        environment: true
        interfaces: true

  # Optional
  features:
    alarm: true
    environment: true
    power: true
    system: true

then run "sysrc junos_exporter_enable=yes" to enable.

For more configuration options, visit:

  https://github.com/czerwonk/junos_exporter

Since junos_exporter can allow for the calling of arbitrary probe targets
via HTTP parameters, it is set to listen on localhost only by default. This
behaviour can be changed using its junos_exporter_listen_address option, but
please note the potential security implications of doing so.