# Fetch - How to access data variable?

**URL:** <https://forum.mikrotik.com/t/fetch-how-to-access-data-variable/118920>\
**Category:** Scripting\
**Created:** [April 26, 2018, 12:35pm UTC](https://forum.mikrotik.com/t/fetch-how-to-access-data-variable/118920 "2018-04-26T12:35:27Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Amm0](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/amm0/32/1630_2.png) [@Amm0](https://forum.mikrotik.com/u/Amm0)\
**Post date:** [April 14, 2023, 4:32pm UTC](https://forum.mikrotik.com/t/fetch-how-to-access-data-variable/118920/16 "2023-04-14T16:32:37Z")

</div>

> [@](#):
>
> ```plaintext
> [admin@***] > /tool snmp-get security=private authentication-protocol=SHA1 authentication-password=* encryption-protocol=AES encryption-password=* version=3 community=*
> 
> ```
> 
> maybe “as-value” just needed to clip on the end of a (code-)line … cause “VALUE” … is already there ?!

The “as-value” with /tool/snmp-get is available in v7.8: [http://forum.mikrotik.com/t/saving-snmp-to-variable/144455/1](http://forum.mikrotik.com/t/saving-snmp-to-variable/144455/1)

---

_[View the full topic](https://forum.mikrotik.com/t/fetch-how-to-access-data-variable/118920)._
