Corstian, For mibbrowser (in Windows environment) I use Getif. For a MIB-browser on Linux there are several references in the archives. To mention one of them: http://www.ee.ethz.ch/~slist/mrtg/msg19665.html
Looking at the results of your snmpget you need to make a few changes your mrtg.conf file: Everything above maxbytes is ignored by MRTG, you have an maxbytes value of only 100. The values you get from the snmpget command suggest these are no percentages, so you have to adjust the legends as well. Inside the UCD-SNMP-MIB file there must be an explanation about the ssCpuRawUser oid. Hth, Jan. -----Original Message----- From: Corstian [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 3:03 PM To: Koelstra, J. (Jan) Cc: [EMAIL PROTECTED] Subject: Re: [mrtg] Re: Fwd: Newbie - Problems with CPU, memory, swap on Compaq Deskpro Jan, Thank you for helping me! I didn't know I had a MIB-browser, but on the internet I found the following command, which I tried on my system: (maybe you know a better one...??) # snmpget -v1 -c public localhost ssCpuRawUser.0 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 219726 # snmpget -v1 -c public localhost ssCpuRawSystem.0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 42828 # head -n5 cpu.log 1111585802 220831 42760 1111585802 1 1 1 1 1111585645 1 1 1 1 1111585500 1 1 1 1 1111585200 1 1 1 1 As you can see, the values are not exactly the same, but they are pretty close to each other... Isn't it strange that the other values of the file are all set to "1" ?? Because this is the value I see in the graph all the time... regards/groeten, Corstian Koelstra, J. (Jan) zei: > > Corstian, > > Are you sure the oid's are returning the values you want to graph? > > Use a MIB-browser from the host you run MRTG on to verify what is > returned by "ssCpuRawUser.0" and the other oid's you use in your > config file. The returned values have to match with the values you see > in the first line of your *.log and *.old files. > > Hth, > > Jan. > > -----Original Message----- > From: Corstian [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 22, 2005 1:16 PM > To: Koelstra, J. (Jan) > Cc: Corstian; [EMAIL PROTECTED] > Subject: RE: [mrtg] Fwd: Newbie - Problems with CPU, memory, swap on > Compaq Deskpro > > > Hi Jan, > > MRTG is running without any error, so the syntax of my config-file is > correct, I guess... > > I scheduled MRTG to run every 5 minutes as follows: > */5 * * * * env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.conf --logging > /var/log/mrtg.log > > The output of MRTG can be found at > http://pinkpanther.homelinux.net/System/mrtg/ > To see the graphs: logon as user "guest" with password "guest". > > Here you find a page, created by the indexmaker, containing 5 graphs. > I will walk through them, and explain their problems. > > 1. Network Traffic Analysis (eth0): looks ok for me :-) > > 2. load average (cpu): I just get a constant value of 1.0 % for both > user load as system load, instead of the fluctuating graph I expect. > It just cannot be true, that the load is that constant. > > 3. load average (cpu2): Almost the same as cpu, but here I get 0%, > which really cannot be true > > 4. Memory Statistics: Physical Memory: Total Memory looks ok (The > system has 256 MB installed), but the Available Memory on the graph is > always 0 MB, while the real available memory is fluctuating between 5 > MB and 20 MB > > 5. Memory Statistics: Swap: Available swap on the graph is now always > 0 MB, while it should be (most of the time) 512 MB. Total swap on the > graph is fluctuating betweeen 0 MB and 10 MB, maybe this isn't the > Total Swap, but the used swap, but I am not sure about that. > > Again the links to my system: > Here is a link to my mrtg.conf file: > http://pinkpanther.homelinux.net/System/mrtg/mrtg.conf > > Here you can find the actual graphs, created by mrtg: > http://pinkpanther.homelinux.net/System/mrtg/ > > Here you can find some info about my system (created by phpSysinfo) > http://pinkpanther.homelinux.net/System/info/ > > To logon to these webpages, you can use: > user: guest > pass: guest > > regards, > Corstian > _________________________________________________________ Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen. _________________________________________________________ The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. _________________________________________________________ -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
