Bug 253688 - [NEW PORT] net-mgmt/py-gstat_exporter: Prometheus gstat exporter
Summary: [NEW PORT] net-mgmt/py-gstat_exporter: Prometheus gstat exporter
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-19 11:47 UTC by Lapo Luchini
Modified: 2021-02-28 19:12 UTC (History)
1 user (show)

See Also:


Attachments
shar file (2.48 KB, text/plain)
2021-02-19 11:47 UTC, Lapo Luchini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2021-02-19 11:47:41 UTC
Created attachment 222631 [details]
shar file

This is a new port for a gstat-bases Prometheus exporter.

It is based on the following sources:

https://github.com/tykling/gstat_exporter

https://yetiops.net/posts/prometheus-consul-saltstack-part-4-freebsd/#gstat-exporter---deployment
Comment 1 Lapo Luchini 2021-02-22 09:38:35 UTC
I noticed on a FreeBSD 11.2 of mine that this doesn't work there, as it uses the following child process:
  gstat -pdosCI 5s
and `-C` parameter was added in 12.0.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-02-28 19:10:19 UTC
A commit references this bug:

Author: madpilot
Date: Sun Feb 28 19:09:19 UTC 2021
New revision: 566796
URL: https://svnweb.freebsd.org/changeset/ports/566796

Log:
  Prometheus exporter for FreeBSD gstat data

  WWW: https://github.com/tykling/gstat_exporter

  PR:		253688
  Submitted by:	lapo@lapo.it

Changes:
  head/net-mgmt/Makefile
  head/net-mgmt/py-gstat_exporter/
  head/net-mgmt/py-gstat_exporter/Makefile
  head/net-mgmt/py-gstat_exporter/distinfo
  head/net-mgmt/py-gstat_exporter/files/
  head/net-mgmt/py-gstat_exporter/files/gstat_exporter.in
  head/net-mgmt/py-gstat_exporter/pkg-descr
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2021-02-28 19:12:58 UTC
Port added to the tree. Thanks!