Port details |
- p5-OSLV-Monitor OS level virtualization monitoring extend
- 1.0.2 net-mgmt =0 0.0.2Version of this port present on the latest quarterly branch.
- Maintainer: dan@langille.org
- Port Added: 2024-09-11 01:27:06
- Last Update: 2024-10-16 00:46:07
- Commit Hash: 2ec05f9
- 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 = 1729039457
SHA256 (OSLV-Monitor-1.0.2.tar.gz) = de6278bcd084b3c313ebf27b4893054aee5dd6ea11df1cd6c9f5c512e2cf77e7
SIZE (OSLV-Monitor-1.0.2.tar.gz) = 17011
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: 8
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.0.2 16 Oct 2024 00:46:07 |
Dan Langille (dvl) |
net-mgmt/p5-OSLV-Monitor: Update to 1.0.2
re: https://github.com/VVelox/OSLV-Monitor/releases/tag/1.0.2 |
1.0.0 14 Oct 2024 23:59:07 |
Dan Langille (dvl) |
net-mgmt/p5-OSLV-Monitor: Update to 1.0.0
https://github.com/VVelox/OSLV-Monitor/releases/tag/1.0.0 |
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: 8
|