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
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
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",
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
> 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
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
>>
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
>> 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
> 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
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
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?
>> 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
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
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
14 matches
Mail list logo