Re: [CentOS] Graphing System Load MRTG

2011-01-06 Thread Jobst Schmalenbach
I understand that, but here are some points why I chose my post: 1: not sure about the persons knowledge re snmp 2: dont know the guys hardware and packages installed 3: seeing uptime and uname explains other parts of the MRTG system, i.e. required return values of the scripts 4: portabil

Re: [CentOS] Graphing System Load MRTG

2011-01-06 Thread Benjamin Franz
On 01/05/2011 09:33 PM, Jobst Schmalenbach wrote: > On Tue, Dec 21, 2010 at 10:09:30AM -0600, Matt (lm7...@gmail.com) wrote: >> I check system load like so: >> >> [r...@server cron.daily]# w >> 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 >> >> I would like to to graph the

Re: [CentOS] Graphing System Load MRTG

2011-01-05 Thread Jobst Schmalenbach
Make yourself a script, include this: #!/bin/sh # first the load 5 and 15 min avg # multiply * 100 to avoid floats # it helps if mrtg "period" is a multiple of 5 mins uptime | sed -e 's/^.*average.*: \(.*\)$/\1/' -e 's/ //g' | awk -F, '{ printf("%.0f\n",$2*100); printf("%.0f\n",

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Les Mikesell
On 12/21/2010 4:55 PM, Matt wrote: >> Cacti is in the epel repository, so if you have that configured it is >> just 'yum install cacti' and you are pretty much done. > > This box is CentOS 4 and has some web hosting software on it. Due to > exclusions its not that easy. ;-( Typically what you do

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Matt
> Cacti is in the epel repository, so if you have that configured it is > just 'yum install cacti' and you are pretty much done. This box is CentOS 4 and has some web hosting software on it. Due to exclusions its not that easy. ;-( I manged to make this work with just plain MRTG which was on it

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Les Mikesell
On 12/21/2010 12:41 PM, John Jasen wrote: > On 12/21/2010 11:09 AM, Matt wrote: >> I check system load like so: >> >> [r...@server cron.daily]# w >> 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 >> >> I would like to to graph the 3.17 5 minute average with MRTG. Anyone >>

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread John Jasen
On 12/21/2010 11:09 AM, Matt wrote: > I check system load like so: > > [r...@server cron.daily]# w > 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 > > I would like to to graph the 3.17 5 minute average with MRTG. Anyone > know of some examples of doing this? The easy way

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Alexander Dalloz
>> I check system load like so: >> >> [r...@server cron.daily]# w >>  10:07:33 up 4 days, 15:01,  2 users,  load average: 4.22, 3.17, 3.09 >> >> I would like to to graph the 3.17 5 minute average with MRTG.  Anyone >> know of some examples of doing this? > > Wrote this simple perl script: > > #!/us

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Matt
> I check system load like so: > > [r...@server cron.daily]# w >  10:07:33 up 4 days, 15:01,  2 users,  load average: 4.22, 3.17, 3.09 > > I would like to to graph the 3.17 5 minute average with MRTG.  Anyone > know of some examples of doing this? Wrote this simple perl script: #!/usr/bin/perl -w

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread lhecking
Matt writes: > I check system load like so: > > [r...@server cron.daily]# w > 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 > > I would like to to graph the 3.17 5 minute average with MRTG. Anyone > know of some examples of doing this? $ uptime 16:40:45 up 7 days, 54 mi

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Les Mikesell
On 12/21/2010 10:25 AM, Matt wrote: >>> I check system load like so: >>> >>> [r...@server cron.daily]# w >>>10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 >>> >>> I would like to to graph the 3.17 5 minute average with MRTG. Anyone >>> know of some examples of doing this?

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Matt
>> I check system load like so: >> >> [r...@server cron.daily]# w >>   10:07:33 up 4 days, 15:01,  2 users,  load average: 4.22, 3.17, 3.09 >> >> I would like to to graph the 3.17 5 minute average with MRTG.  Anyone >> know of some examples of doing this? > > Where you should start depends on how m

Re: [CentOS] Graphing System Load MRTG

2010-12-21 Thread Les Mikesell
On 12/21/2010 10:09 AM, Matt wrote: > I check system load like so: > > [r...@server cron.daily]# w > 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 > > I would like to to graph the 3.17 5 minute average with MRTG. Anyone > know of some examples of doing this? Where you sho

[CentOS] Graphing System Load MRTG

2010-12-21 Thread Matt
I check system load like so: [r...@server cron.daily]# w 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09 I would like to to graph the 3.17 5 minute average with MRTG. Anyone know of some examples of doing this? ___ CentOS mailing