diff options
Diffstat (limited to 'docs/source/quick-start.rst')
-rw-r--r-- | docs/source/quick-start.rst | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/docs/source/quick-start.rst b/docs/source/quick-start.rst index 8bcf6bb..b0e5b4e 100644 --- a/docs/source/quick-start.rst +++ b/docs/source/quick-start.rst @@ -17,11 +17,11 @@ So just cut&paste the following code right into your Python prompt. The code will performs SNMP GET operation for a sysDescr.0 object at a publically available SNMP Agent at **demo.snmplabs.com**: -.. literalinclude:: /../../examples/v3arch/asyncore/oneliner/manager/cmdgen/get-v1.py +.. literalinclude:: /../../examples/v3arch/asyncore/oneliner/manager/cmdgen/v1-get.py :start-after: """# :language: python -:download:`Download</../../examples/v3arch/asyncore/oneliner/manager/cmdgen/get-v1.py>` script. +:download:`Download</../../examples/v3arch/asyncore/oneliner/manager/cmdgen/v1-get.py>` script. If everything works as it should you will get: @@ -39,15 +39,12 @@ Send SNMP TRAP To send a trivial TRAP message to your local Notification Receiver just cut&paste the following code into your interactive Python session: -.. literalinclude:: /../../examples/v3arch/asyncore/oneliner/agent/ntforg/trap-v2c-with-mib-lookup.py +.. literalinclude:: /../../examples/v3arch/asyncore/oneliner/agent/ntforg/default-v1-trap.py :start-after: """# :language: python -:download:`Download</../../examples/v3arch/asyncore/oneliner/agent/ntforg/trap-v2c-with-mib-lookup.py>` script. - -For more sophisticated examples and uses cases please refer to the examples -and documentation pages. - - - +:download:`Download</../../examples/v3arch/asyncore/oneliner/agent/ntforg/default-v1-trap.py>` script. +For more sophisticated examples and use cases please refer to +:doc:`examples <examples/contents>` and :doc:`library reference <docs/contents>` +pages. |