Port details |
- p5-OSLV-Monitor OS level virtualization monitoring extend
- 0.1.0 net-mgmt =0 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
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- jq>0 : textproc/jq
- p5-Clone>0 : devel/p5-Clone
- p5-ExtUtils-MakeMaker>0 : devel/p5-ExtUtils-MakeMaker
- p5-File-Slurp>0 : devel/p5-File-Slurp
- p5-IO-Interface>0 : net/p5-IO-Interface
- p5-JSON>0 : converters/p5-JSON
- p5-MIME-Base64>0 : converters/p5-MIME-Base64
- 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:
|
Number of commits found: 6
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.1.0 30 Sep 2024 23:32:36 |
Dan Langille (dvl) |
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 |
Dan Langille (dvl) |
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 |
Dan Langille (dvl) |
net-mgmt/p5-OSLV-Monitor: Add missing depdendency
textproc/jq |
0.0.1_2 11 Sep 2024 16:12:32 |
Dan Langille (dvl) |
net-mgmt/p5-OSLV-Monitor: Add missing dependency
It needed net/p5-IO-Interface |
0.0.1_1 11 Sep 2024 14:58:39 |
Dan Langille (dvl) |
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 |
Dan Langille (dvl) |
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
|