summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/vm.conf.5
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2020-09-23 15:52:07 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2020-09-23 15:52:07 +0000
commit15b10d1d01071f6337882d8d75ff14b193859e63 (patch)
treeb254961864247b24298a9abd57a5ebb1f17c57b1 /usr.sbin/vmd/vm.conf.5
parentc196efec649375bb4bfadb6f3a18db593e12970e (diff)
Add support for agentx to vmd.
This is based around VM-MIB from RFC7666,but does not export the full spec. People more knowledgeable of vmd are encouraged to expand on this.
Diffstat (limited to 'usr.sbin/vmd/vm.conf.5')
-rw-r--r--usr.sbin/vmd/vm.conf.517
1 files changed, 15 insertions, 2 deletions
diff --git a/usr.sbin/vmd/vm.conf.5 b/usr.sbin/vmd/vm.conf.5
index 348d13d51fe..8ad6cfbe118 100644
--- a/usr.sbin/vmd/vm.conf.5
+++ b/usr.sbin/vmd/vm.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vm.conf.5,v 1.53 2020/02/16 11:03:25 kn Exp $
+.\" $OpenBSD: vm.conf.5,v 1.54 2020/09/23 15:52:06 martijn Exp $
.\"
.\" Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 16 2020 $
+.Dd $Mdocdate: September 23 2020 $
.Dt VM.CONF 5
.Os
.Sh NAME
@@ -91,6 +91,19 @@ vm "vm1.example.com" {
.Sh GLOBAL CONFIGURATION
The following setting can be configured globally:
.Bl -tag -width Ds
+.It Ic agentx Oo Ic context Ar context Oc Oo Ic path Ar path Oc
+Export vm metrics via an agentx compatible
+.Pq snmp
+daemon by connecting to
+.Ar path .
+Metrics can be found under the vmMIB subtree
+.Pq mib-2.236 .
+If
+.Ar path
+is omitted it will default to
+.Pa /var/agentx/master .
+.Ar Context
+is the SNMPv3 context and can usually be omitted.
.It Ic local prefix Ar address Ns Li / Ns Ar prefix
Set the network prefix that is used to allocate subnets for
local interfaces, see