notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
p5-OSLV-Monitor OS level virtualization monitoring extend
0.1.0 net-mgmt on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: dan@langille.org search for ports maintained by this maintainer
Port Added: 2024-09-11 01:27:06
Last Update: 2024-09-30 23:32:36
Commit Hash: 8c28336
License: GPLv3
WWW:
https://github.com/VVelox/OSLV-Monitor
Description:
OS level virtualization monitoring extend Designed for snmpd with LibreNMS Works with FreeBSD jails to provide jail-level metrics. Create a cronjob: */5 * * * * /usr/local/bin/oslv_monitor -q The snmpd.conf extends: extend oslv_monitor /bin/cat /var/cache/oslv_monitor/snmp
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (14 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-OSLV-Monitor-0.1.0/catalog.mk
  2. /usr/local/share/licenses/p5-OSLV-Monitor-0.1.0/LICENSE
  3. /usr/local/share/licenses/p5-OSLV-Monitor-0.1.0/GPLv3
  4. bin/oslv_monitor
  5. lib/perl5/site_perl/OSLV/Monitor.pm
  6. lib/perl5/site_perl/OSLV/Monitor/Backends/FreeBSD.pm
  7. lib/perl5/site_perl/OSLV/Monitor/Backends/cgroups.pm
  8. lib/perl5/site_perl/man/man1/oslv_monitor.1.gz
  9. lib/perl5/site_perl/man/man3/OSLV::Monitor.3.gz
  10. lib/perl5/site_perl/man/man3/OSLV::Monitor::Backends::FreeBSD.3.gz
  11. lib/perl5/site_perl/man/man3/OSLV::Monitor::Backends::cgroups.3.gz
  12. @owner
  13. @group
  14. @mode
Collapse this list.
Dependency lines:
  • p5-OSLV-Monitor>0:net-mgmt/p5-OSLV-Monitor
To install the port:
cd /usr/ports/net-mgmt/p5-OSLV-Monitor/ && make install clean
To add the package, run one of these commands:
  • pkg install net-mgmt/p5-OSLV-Monitor
  • pkg install p5-OSLV-Monitor
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-OSLV-Monitor
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1727729801 SHA256 (OSLV-Monitor-0.1.0.tar.gz) = e2b470ad0745f5adcb5a10785032bf65bdde9fd0b5f3264df77a7a01cb6b4868 SIZE (OSLV-Monitor-0.1.0.tar.gz) = 13374

Packages (timestamps in pop-ups are UTC):
p5-OSLV-Monitor
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.1.00.1.0-0.0.1_20.1.0---
FreeBSD:13:quarterly--------
FreeBSD:14:latest0.0.1_20.1.0-0.0.1_20.1.0---
FreeBSD:14:quarterly-0.1.0--0.1.0---
FreeBSD:15:latest0.0.20.1.0n/a0.0.2n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. perl5>=5.36<5.37 : lang/perl5.36
Runtime dependencies:
  1. jq>0 : textproc/jq
  2. p5-Clone>0 : devel/p5-Clone
  3. p5-ExtUtils-MakeMaker>0 : devel/p5-ExtUtils-MakeMaker
  4. p5-File-Slurp>0 : devel/p5-File-Slurp
  5. p5-IO-Interface>0 : net/p5-IO-Interface
  6. p5-JSON>0 : converters/p5-JSON
  7. p5-MIME-Base64>0 : converters/p5-MIME-Base64
  8. perl5>=5.36<5.37 : lang/perl5.36
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
net-mgmt_p5-OSLV-Monitor
USES:
perl5
pkg-message:
For install:
Assuming you are running net-mgmt/net-snmp as non-root (i.e. snmpd): 1 - Create /usr/local/etc/cron.d/oslv with this (adjust the meil address) # use /bin/sh to run commands, overriding the default set by cron SHELL=/bin/sh # mail any output to here, no matter whose crontab this is MAILTO=me@example.org #minute hour mday month wday who command 4/5 * * * * snmpd sudo /usr/local/bin/oslv_monitor -q 2 - Create this directory: mkdir /var/cache/oslv_monitor chown snmpd:snmpd /var/cache/oslv_monitor 3 - Create these sudo permissions: % cat /usr/local/etc/sudoers.d/snmpd snmpd ALL=(ALL) NOPASSWD:/usr/local/bin/oslv_monitor -q 4 - add this line to /usr/local/etc/snmpd.conf: extend oslv_monitor /bin/cat /var/cache/oslv_monitor/snmp 5 - restart snmpd
Master Sites:
Expand this list (13 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/V/VV/VVELOX/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/V/VV/VVELOX/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/OSLV/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/V/VV/VVELOX/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/V/VV/VVELOX/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/V/VV/VVELOX/
  7. http://backpan.perl.org/authors/id/V/VV/VVELOX/
  8. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/V/VV/VVELOX/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/V/VV/VVELOX/
  10. https://cpan.metacpan.org/authors/id/V/VV/VVELOX/
  11. https://cpan.metacpan.org/modules/by-module/OSLV/
  12. https://www.cpan.org/authors/id/V/VV/VVELOX/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.1.0
30 Sep 2024 23:32:36
commit hash: 8c28336a759ee1769422fdcedded609666c684bccommit hash: 8c28336a759ee1769422fdcedded609666c684bccommit hash: 8c28336a759ee1769422fdcedded609666c684bccommit hash: 8c28336a759ee1769422fdcedded609666c684bc files touched by this commit
Dan Langille (dvl) search for other commits by this committer
net-mgmt/p5-OSLV-Monitor: Update to 0.2.0

re: https://github.com/VVelox/OSLV-Monitor/releases/tag/0.1.0
0.0.2
26 Sep 2024 14:16:06
commit hash: 202fb95b6009fdefd0d0d663c3030588d387fb9ccommit hash: 202fb95b6009fdefd0d0d663c3030588d387fb9ccommit hash: 202fb95b6009fdefd0d0d663c3030588d387fb9ccommit hash: 202fb95b6009fdefd0d0d663c3030588d387fb9c files touched by this commit
Dan Langille (dvl) search for other commits by this committer
net-mgmt/p5-OSLV-Monitor: Update to 0.0.2

Various fixes for on FreeBSD when jailname and hostname for the jail differ.

This gets jail-level metrics working (e.g. CPU)
0.0.1_3
14 Sep 2024 13:18:37
commit hash: 6e56f24ee426896108c7f07b96f6b648b9b9abd4commit hash: 6e56f24ee426896108c7f07b96f6b648b9b9abd4commit hash: 6e56f24ee426896108c7f07b96f6b648b9b9abd4commit hash: 6e56f24ee426896108c7f07b96f6b648b9b9abd4 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
net-mgmt/p5-OSLV-Monitor: Add missing depdendency

textproc/jq
0.0.1_2
11 Sep 2024 16:12:32
commit hash: a2b5a55c6ae2d48dcbdb081a1807887eaafc96eccommit hash: a2b5a55c6ae2d48dcbdb081a1807887eaafc96eccommit hash: a2b5a55c6ae2d48dcbdb081a1807887eaafc96eccommit hash: a2b5a55c6ae2d48dcbdb081a1807887eaafc96ec files touched by this commit
Dan Langille (dvl) search for other commits by this committer
net-mgmt/p5-OSLV-Monitor: Add missing dependency

It needed net/p5-IO-Interface
0.0.1_1
11 Sep 2024 14:58:39
commit hash: 4330a11fc5faf40a2c37d69570de26a48008c73dcommit hash: 4330a11fc5faf40a2c37d69570de26a48008c73dcommit hash: 4330a11fc5faf40a2c37d69570de26a48008c73dcommit hash: 4330a11fc5faf40a2c37d69570de26a48008c73d files touched by this commit
Dan Langille (dvl) search for other commits by this committer
net-mgmt/p5-OSLV-Monitor: Adjust to use CPAN

Last night I could not figure how to do that. So I used GH.

The distinfo changed because:

* the Github tarball contained .gitignore
* the CPAN tarball does not contain LICENSE
0.0.1
11 Sep 2024 01:25:33
commit hash: c9d3ef9898f4c2e7b836c8ad907e9fb6399e95b9commit hash: c9d3ef9898f4c2e7b836c8ad907e9fb6399e95b9commit hash: c9d3ef9898f4c2e7b836c8ad907e9fb6399e95b9commit hash: c9d3ef9898f4c2e7b836c8ad907e9fb6399e95b9 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
net-mgmt/p5-OSLV-Monitor: Add new port

This is an OS level virtualization monitoring extend for LibreNMS

It can also monitor individual FreeBSD jails.

The next release of LibreNMS should support this.

Number of commits found: 6