BSD Ports

net-mgmt/p5-OSLV-Monitor 1.0.2 DragonFly

OS level virtualization monitoring extend

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

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

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/p5-OSLV-Monitor1.0.2 behind since 2026-07-28none known-[email protected]-
FreeBSDnet-mgmt/p5-OSLV-Monitor1.0.7 newestnone known-[email protected]2026-10-19
HardenedBSDnet-mgmt/p5-OSLV-Monitor1.0.6 behind since 2026-10-19no data-[email protected]-
GhostBSDnet-mgmt/p5-OSLV-Monitor1.0.6 behind since 2026-10-19no data-[email protected]-

Install

Binary package:

pkg install p5-OSLV-Monitor

From DPorts:

cd /usr/dports/net-mgmt/p5-OSLV-Monitor && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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
[email protected]

#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