Wednesday, June 1, 2011

SNMP and MRTG configuration

1. the first step install apache2 and php5
        root@router:~#apt-get install apache2 php5

2. Seconds step install SNMP and SNMPD
        root@router:~#apt-get install snmp snmpd

3. The third step, the configuration file snmpd.conf
        root@router:~#nano /etc/snmp/snmpd.conf

4. The Fourth step, Change the configuration in this section
         #sec.name   source   community
          com2sec paranoid default public
         #com2sec readonly default public
         #com2sec readwrite default public

    to be

       #sec.name   source   community
       #com2sec paranoid default public
       #(These standards cover the entire traffic fine if you have more than 1 lan card)      
       com2sec readonly default public 
       #com2sec readwrite default public

5. A fifth step, change in this section also
       syslocation Unknown (configure /etc/snmp/snmpd.local.conf)
       syslcontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
     
    to be (this is example)
       syslocation Pasca-upnjatim
       syscontact Admin admin@Router.net


6. The sixth step, restart and run snmpwalk SNMP
       root@router:~#/etc/init.d/snmpd restart
       root@router:~#snmpwalk -v1 -c public localhost system
         
              successful if it came out like the picture below

       
7. The seventh step, Install mrtg and generate to be .html in web server
        root@router:~#apt-get install mrtg
    if the installation is complete then proceed to make the index of network traffic with MRTG
        root@router:~#cfgmaker public@localhost > /etc/mrtg.cfg
   and make index.html for networking with
          root@router:~#indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html

8.the last step, open your browser and type this url> 
          http:// (ip location of the installation of MRTG) / mrtg /

9. wait about five minutes, if your installation is successful it will come out like this picture.
          

24 comments:

  1. It's going to be finish of mine day, except before finish I am reading this enormous piece of writing to improve my know-how.
    Feel free to surf my web-site ; Visual Impact Muscle Building Review

    ReplyDelete
  2. Hello to every one, the contents existing at this site are in fact awesome for people experience, well,
    keep up the good work fellows.
    Feel free to surf my webpage Go At this site

    ReplyDelete
  3. It is appropriate time to make some plans for
    the future and it is time to be happy. I have read
    this post and if I could I desire to suggest you some interesting things or suggestions.

    Perhaps you could write next articles referring to this article.
    I want to read more things about it!
    my website :: need a builder orlando

    ReplyDelete
  4. Hi there mates, its fantastic piece of writing on the topic of cultureand entirely explained, keep it up all
    the time.
    My webpage: neucopia

    ReplyDelete
  5. My brother suggested I may like this website. He used to be totally right.

    This publish truly made my day. You can not believe simply how a lot
    time I had spent for this info! Thank you!
    Here is my web blog ; Become a Millionaire

    ReplyDelete
  6. Howdy! Do you know if they make any plugins to help with Search Engine Optimization?
    I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains.
    If you know of any please share. Kudos!
    Also visit my web blog - web hosting delhi

    ReplyDelete
  7. Great info. Lucky me I ran across your blog by accident (stumbleupon).
    I've book marked it for later!
    Feel free to visit my page DSL Anbieter

    ReplyDelete
  8. Hi there, its fastidious piece of writing regarding media print, we all know media is a enormous source of facts.
    Feel free to visit my web blog : ikea furniture assembly service

    ReplyDelete
  9. You need to take part in a contest for one of the most useful blogs on the internet.
    I am going to recommend this blog!

    My site :: How to get your ex back

    ReplyDelete
  10. Thanks , I have recently been looking for info approximately this topic for ages and yours is the greatest I've came upon till now. However, what about the bottom line? Are you sure about the supply?

    My site; facebook quotes
    My web site > facebook quotes

    ReplyDelete
  11. Quality content is the secret to be a focus for the users to pay a quick visit the web site, that's what this website is providing.

    Have a look at my web-site peoples quotes
    my web page: peoples quotes

    ReplyDelete
  12. Your style is so unique compared to other folks I have
    read stuff from. Thanks for posting when you have the opportunity, Guess
    I'll just bookmark this site.

    my page - exercise equipment

    ReplyDelete
  13. Unquestionably believe that which you said. Your favourite justification appeared to be at the internet the simplest thing to keep in mind of.

    I say to you, I definitely get annoyed at the same time as other folks
    consider concerns that they plainly don't realize about. You managed to hit the nail upon the highest and also outlined out the entire thing without having side effect , other people can take a signal. Will likely be again to get more. Thanks

    Review my web page; buy adjustable dumbbells
    Also see my website :: weider adjustable dumbbells

    ReplyDelete
  14. ӏf sοme one nееԁѕ expeгt viеω regarding blogging
    аnԁ ѕite-buildіng aftеrwаrԁ
    i prοpose him/her to pay a quіck visit thіѕ weblog, Keep up thе fastidious job.


    Fеel free to surf to mу web-site - reputation management

    ReplyDelete
  15. My brother recommended I may like this blog. He was totally right.
    This post actually made my day. You can not consider simply how so much time I had spent for
    this info! Thanks!

    my blog post :: voyeur sex

    ReplyDelete
  16. Hey I know this is off topic but I was wondering if you knew of
    any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

    my site: Teen Sex Videos

    ReplyDelete
  17. It is the best time to make a few plans for the long
    run and it is time to be happy. I've read this put up and if I may I wish to recommend you few attention-grabbing issues or suggestions. Perhaps you could write next articles referring to this article. I want to read even more issues about it!

    Here is my web site :: xxx movies

    ReplyDelete
  18. Spot on with this write-up, I really believe this amazing site needs a lot more attention.
    I'll probably be back again to see more, thanks for the information!

    Also visit my webpage ... http://xxx-fuck.net

    ReplyDelete
  19. Hiya! I know this is kinda off topic however I'd figured I'd ask.
    Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa?
    My blog goes over a lot of the same subjects as yours
    and I believe we could greatly benefit from each other.
    If you're interested feel free to shoot me an email. I look forward to hearing from you! Great blog by the way!

    Have a look at my blog post; http://www.babesflick.com/

    ReplyDelete
  20. magnificent post, very informative. I'm wondering why the other specialists of this sector don't realize this.
    You must continue your writing. I'm confident, you have a huge readers' base
    already!

    Also visit my blog Www.Wildpartygirls.Org

    ReplyDelete
  21. My partner and I stumbled over here different web address and thought I should check things
    out. I like what I see so i am just following you. Look forward to
    checking out your web page repeatedly.

    Also visit my web page www.cfnmfever.net

    ReplyDelete
  22. Hello, just wanted to tell you, I enjoyed this blog post. It was helpful.
    Keep on posting!

    Also visit my page :: Massage therapist Happy ending

    ReplyDelete
  23. It's remarkable for me to have a website, which is helpful in favor of
    my know-how. thanks admin

    Have a look at my webpage ... news

    ReplyDelete
  24. When you check in, the app that reserves a car and
    insert a freshly charged battery within a few minutes?
    We'll bring the rubber-coated straps around our load bar, fitting them back into the heads.
    You're making me blush. Oh Baby There's no women here.

    Also visit my website - special info

    ReplyDelete