From c4eaab5a8a3785a84cdcb09ce56757344d1647d0 Mon Sep 17 00:00:00 2001 From: Robert Göhler Date: Thu, 28 Nov 2019 09:24:30 +0100 Subject: snmp: add MIB location and fix syntax error due line break --- docs/services/snmp.rst | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'docs/services/snmp.rst') diff --git a/docs/services/snmp.rst b/docs/services/snmp.rst index 8fd6a21e..ecb95d1b 100644 --- a/docs/services/snmp.rst +++ b/docs/services/snmp.rst @@ -189,15 +189,27 @@ After commit the resulting configuration will look like: } } +VyOS MIBs +^^^^^^^^^ + +All SNMP MIBs are located in each image of VyOS here: ``/usr/share/snmp/mibs/`` + +you are be able to download the files with the a activate ssh service like this + +.. code-block:: console + + scp -r vyos@your_router:/usr/share/snmp/mibs /your_folder/mibs + + SNMP Extensions ^^^^^^^^^^^^^^^ To extend SNMP agent functionality, custom scripts can be executed every time -the agent is being called. This can be achieved by using ``arbitrary extension -commands``_. The first step is to create a functional script of course, then -upload it to your VyOS instance via the command ``scp your_script.sh -vyos@your_router:/config/user-data``. Once the script is uploaded, it needs to -be configured via the command below. +the agent is being called. This can be achieved by using +``arbitrary extensioncommands``. The first step is to create a functional +script of course, then upload it to your VyOS instance via the command +``scp your_script.sh vyos@your_router:/config/user-data``. +Once the script is uploaded, it needs to be configured via the command below. .. code-block:: console -- cgit v1.2.3