Configure MRTG in Linux

I have problem while configure MRTG in LInux and don't know how to put the following samples into my current environment

/etc/snmp/snmp.conf
-------------------
#1 This is to define two users (local & mynetwork) subscribe to SNMP community mysql01, correct ?
com2sec local localhost mysql01                  (monitor localhost)
com2sec mynetwork 192.168.49.0/24 mysql01      (monitor network)

#2Does it try to match these 2 users to some groups ??
group MyRWGroup any local
group MyROGroup any mynetwork

#3What does these 3 lines mean ?
view all included .1 80
access MyROGroup "" any noauth 0 all none none
access MyRWGroup "" any noauth 0 all all all

#4What does the line do ? Does mysql01 & localhost are the users defined in #1
snmpwalk -v2c -c mysql01 localhost system

#5 What does it do ? What does the parameter scigops mean ? What does 1.3.6.1.4.1.2021.8.1.101 mean and how can I find out this string.

snmpwalk -v2c xxxxxxx -c scigops 1.3.6.1.4.1.2021.8.1.101
AXISHKAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
info about the config can be found here:

com2sec describes not users but hosts that are allowed access and a community they can use.  the community us name mysql01
The groups are not usergroups but SNMP access methods allowed for a community  and how authentication may happen.
And the access lines  specify how systems may authenticate to access the communities, and what right it gives. (last three items define get, put, notify
The view defines what is visible and how many access levels are relevant.

snmpwalk is used to get a tree view of SNMP items. (compare to: ls -lR for directory listings) .
See also: http://linux.die.net/man/1/snmpwalk
the item after the -c flag is a community like defined with the com2sec
-v specifies the authentication model.

in the last statement a community scigops is used, to access the OID  (object ID)
1.3.6.1.4.1.2021.8.1.101 the meaning of which depends on the equipment at hand.
The MIB (management info base) can tell you what it is.

OID view might help you with decoding it,it leads to this:
http://www.oidview.com/mibs/2021/UCD-SNMP-MIB.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
Tks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.