GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OSLV_MONITOR(1) User Contributed Perl Documentation OSLV_MONITOR(1)

oslv_monitor - LibreNMS style JSON SNMP extend for OS level virtualization monitoring

1.0.0

oslv_monitor [-c] [-f <config file>] [-b <base dir>] [-q] [-t <time divider>]

For cron...

    */5 * * * * /usr/local/bin/oslv_monitor -q

For snmpd...

    extend oslv_monitor /bin/cat /var/cache/oslv_monitor/snmp

Compress the output using gzip and base64 encoded so it can be transmitted via SNMP with out issue.

/var/cache/oslv_monitor/snmp will always be available and compressed.

-f <file>

The config file to use.

Default :: /usr/local/etc/oslv_monitor.json

Do not print the results.

-t <time divider>

What to use for the time divider.

The following keys are used in the JSON config file.

    - include :: A array of regular expressions to include.
        Default :: ["^.*$"]
    - exlcude :: A array of regular expressions to exlclude.
        Default :: undef
    - backend :: Override the the backend and automatically choose it.
    - time_divider :: Override the time_divider value. The default value varies
        per backend and if it is needed.

Time divider notes.

    - cgroups :: While the default for usec to sec conversion should be 1000000,
              some settings report the value in nanoseconds, requiring 1000000000.
        Default :: 1000000
    - FreeBSD :: not used

By Defaults the backends are as below.

    FreeBSD: FreeBSD
    Linux: cgroups

Default would be like this.

    {
        "include": ["^.*$"]
    }
2024-10-13 perl v5.40.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.