summaryrefslogtreecommitdiff
path: root/docs/configuration/service/snmp.rst
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2020-12-11 16:02:04 +0100
committerrebortg <github@ghlr.de>2020-12-11 16:02:04 +0100
commitda08cd126cd9eee8284ed9a3d68d74be68087e76 (patch)
treecef3d5765dcab2f9c49775d91dde35580df05e70 /docs/configuration/service/snmp.rst
parente0b72be4b9d08cd5f23141a87c192adc97e07a74 (diff)
downloadvyos-documentation-da08cd126cd9eee8284ed9a3d68d74be68087e76.tar.gz
vyos-documentation-da08cd126cd9eee8284ed9a3d68d74be68087e76.zip
service: fix lint errors
Diffstat (limited to 'docs/configuration/service/snmp.rst')
-rw-r--r--docs/configuration/service/snmp.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/configuration/service/snmp.rst b/docs/configuration/service/snmp.rst
index 3f445ea8..e962c1c5 100644
--- a/docs/configuration/service/snmp.rst
+++ b/docs/configuration/service/snmp.rst
@@ -223,10 +223,13 @@ Once the script is uploaded, it needs to be configured via the command below.
set service snmp script-extensions extension-name my-extension script your_script.sh
commit
+.. stop_vyoslinter
The OID ``.1.3.6.1.4.1.8072.1.3.2.3.1.1.4.116.101.115.116``, once called, will
contain the output of the extension.
+.. start_vyoslinter
+
.. code-block:: none
root@vyos:/home/vyos# snmpwalk -v2c -c public 127.0.0.1 nsExtendOutput1
@@ -241,9 +244,12 @@ SolarWinds
If you happen to use SolarWinds Orion as NMS you can also use the Device
Templates Management. A template for VyOS can be easily imported.
+.. stop_vyoslinter
+
Create a file named ``VyOS-1.3.6.1.4.1.44641.ConfigMgmt-Commands`` using the
following content:
+
.. code-block:: none
<Configuration-Management Device="VyOS" SystemOID="1.3.6.1.4.1.44641">
@@ -264,3 +270,4 @@ following content:
.. _SNMPv2: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol#Version_2
.. _SNMPv3: https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol#Version_3
+.. start_vyoslinter \ No newline at end of file