[mrtg] Re: Fwd: Newbie - Problems with CPU, memory, swap on Compaq Deskpro

Corstian corstian at consonare.nl
Wed Mar 23 15:02:32 MET 2005


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:corstian at consonare.nl]
> Sent: Tuesday, March 22, 2005 1:16 PM
> To: Koelstra, J. (Jan)
> Cc: Corstian; mrtg at list.ee.ethz.ch
> 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
>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list