صفحه 2 از 2 اولیناولین 1 2
نمایش نتایج: از شماره 16 تا 19 از مجموع 19

موضوع: SNMP Config

  
  1. #16


    عضو غیر فعال شناسه تصویری NetMaster
    تاریخ عضویت
    Jun 2004
    نوشته
    376
    سپاسگزاری شده
    5
    سپاسگزاری کرده
    0
    You are most welcome, one of the installation we have on 2621xm and 256 leased, it's 90% loaded traffic but CPU load is always 2 . 5%
    1721 also loaded with 256 leased and the load is 25% max because of the logs.
    Don't worry about the CPU if less than 60% load.



  2. #17


    عضو غیر فعال
    تاریخ عضویت
    Jul 2004
    نوشته
    8
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0
    با سلام

    من ام ار تی جی را از روی
    نصب کردم تا guid .html
    configuration




    از اونجا به بدشو نميفهمم بايد چکا ر بکنم
    CONFIGURING MRTG

    Now it is time to create a configuration for mrtg. But before we begin you need to know a few things. Take an opportunity to gather the following information:
    • The IP address or hostname and the snmp port number, (if non standard), of the device you want to monitor.
    • If you want to monitor something other than bytes in and out, you must also know the SNMPOID of what you want to monitor.
    • Finally you need to know the read-only SNMP community string for your device. If you don't know it, try public, that is the default.
    For the rest of this document we will be using device 10.10.10.1 ( a CISCO Catalyst 5000) with Community string public. We are interested in monitoring traffic, and the CPU load. Let's begin.

    The first thing we do in setting up mrtg is making a default config file. Get to a cmd prompt and change to the c:\mrtg-2.10.11\bin directory. Type the following command:

    perl cfgmaker public@10.10.10.1 --global "WorkDir: c:\www\mrtg" --output mrtg.cfg
    This creates an initial MRTG config file for you. Note that in this file all interfaces of your router will be stored by number. Unfortunately, these numbers are likely to change whenever you reconfigure your router. In order to work around this you can get cfgmaker to produce a configuration which is based on Ip numbers, or even Interface Descriptions. Check the cfgmaker manpage

    If you get an error message complaining about no such name or no response, your community name is probably wrong.

    Now, let's take a look at the mrtg.cfg file that was created.

    In Perl, a # is a comment, synonymous with REM in DOS.

    Add the following to the top of the mrtg.cfg file:

    WorkDir: D:\InetPub\wwwroot\MRTG
    This is where the web pages are created, usually a web root.

    ################################################## ####################
    # Description: LCP SUWGB
    # Contact: Administrator
    # System Name: LC-Bridge
    # Location: Here #................................................. ....................
    TargetDevice's IP Address:Interface Number:Community:IP Address

    Target[10.10.10.1.1]: 1:public@10.10.10.1
    This is the interface speed (Default is 10 megabits; for 100Mbit devices use 12500000 and so on...)

    MaxBytes[10.10.10.1.1]: 1250000 Title[10.10.10.1.1]: LC-Bridge (sample.device): ether0 This section determines how the web page headers will look



    PageTop[10.10.10.1.1]: <H1>Traffic Analysis for ether0</H1>
    <TABLE> <TR><TD>System:</TD><TD>LC-Bridge inAndover</TD></TR> <TR><TD>Maintainer:</TD><TD>Administrator</TD></TR> <TR><TD>Interface:</TD><TD>ether0(1)</TD></TR> <TR><TD>IP:</TD><TD>sample.device(10.10.10.1)</TD></TR> <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR> </TABLE> Target[10.10.10.1.2]: 2:public@10.10.10.1 MaxBytes[10.10.10.1.2]: 1250000 Title[10.10.10.1.2]: LC-Bridge (): ulink0 PageTop[10.10.10.1.2]: <H1>Traffic Analysis for ulink0</H1> <TABLE> <TR><TD>System:</TD><TD>LC-Bridge inAndover</TD></TR> <TR><TD>Maintainer:</TD><TD>Administrator</TD></TR> <TR><TD>Interface:</TD><TD>ulink0(2)</TD></TR> <TR><TD>IP:</TD><TD>()</TD></TR> <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR> </TABLE>

    چيزها يی که به رنگ قرمز نشان داده شده همان
    اشکا لات بنده است. نميفهمم چگو نه بايد از آنها استفاده کرد
    با تشکر

    اميدوارم سؤالم واضح بوده باشد


    ویرایش توسط bghafouri : 2004-12-27 در ساعت 12:08 PM

  3. #18


    عضو غیر فعال شناسه تصویری k.std
    تاریخ عضویت
    Aug 2005
    نوشته
    5
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    0
    سلام آقایون
    من تازه در این فرم عضو شدم ، و یک سوال داشتم : می خواستم برای امنیت بیشتر SNMP PUBLIC رو در Run Config عوض کنم و بعد به مشکل بر خوردم .
    اگه می شه Command های تعویض SNMP رو بگین ممنون می شم
    در ضمن من از NTTAC استفاده می کنم .
    نقل قول نوشته اصلی توسط aryagohar
    آقا اصلا snmp با community public تعريف نكن.




  4. #19
    نام حقيقي: سام قراچه

    عضو غیر فعال شناسه تصویری matrixco.sec
    تاریخ عضویت
    Aug 2005
    محل سکونت
    ایران - خوزستان
    نوشته
    419
    سپاسگزاری شده
    5
    سپاسگزاری کرده
    23
    نقل قول نوشته اصلی توسط k.std
    سلام آقایون
    من تازه در این فرم عضو شدم ، و یک سوال داشتم : می خواستم برای امنیت بیشتر SNMP PUBLIC رو در Run Config عوض کنم و بعد به مشکل بر خوردم .
    اگه می شه Command های تعویض SNMP رو بگین ممنون می شم
    در ضمن من از NTTAC استفاده می کنم .
    با اجازه اساتید محترم :

    اول باید با دستور زیر SNMP قبای رو غیر فعال کنی
    no snmp-server community public RW 15

    بعد باید همون دستور قبلی رو بدون no اجرا کرده و بجای public کلمه مورد نظر خود رو بنویسی مانند مثال زیر :

    snmp-server community (select snmp ) RW 15


    ویرایش توسط matrixco.sec : 2005-08-23 در ساعت 11:26 PM

صفحه 2 از 2 اولیناولین 1 2

کلمات کلیدی در جستجوها:

تنضیمات شبکه

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •