diff options
author | Robert Göhler <github@ghlr.de> | 2019-11-28 09:24:30 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-28 09:24:30 +0100 |
commit | c4eaab5a8a3785a84cdcb09ce56757344d1647d0 (patch) | |
tree | 12a36e07fcfbf4c1dcb615a30449771c4b4ee28e | |
parent | 6b38a32cb10dd0d3d289cfd01e5f263bc9218586 (diff) | |
download | vyos-documentation-c4eaab5a8a3785a84cdcb09ce56757344d1647d0.tar.gz vyos-documentation-c4eaab5a8a3785a84cdcb09ce56757344d1647d0.zip |
snmp: add MIB location and fix syntax error due line break
-rw-r--r-- | docs/services/snmp.rst | 22 |
1 files changed, 17 insertions, 5 deletions
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 |