[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Graph Problem

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 7:58 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Graph Problem
PostPosted: Mon Aug 30, 2004 10:22 pm 
Offline
User

Joined: Mon Aug 30, 2004 10:13 pm
Posts: 2


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Aug 31, 2004 3:04 am 
Offline
User

Joined: Sat Aug 28, 2004 6:25 am
Posts: 4


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue Aug 31, 2004 11:26 pm 
Offline
User

Joined: Mon Aug 30, 2004 10:13 pm
Posts: 2


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed Sep 01, 2004 10:17 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
If you are monitoring a multi-CPU server, I suspect you would want to show the individual CPU percentages, plus an average.

You can do this using Userdefined graphs.

First, create four targets, each one graphing a single CPU. I don't know what agent you are using for this, probably SNMP? Anyway, all of these will probably be 'noo' option graphs.

Next, create a userdefined graph over tham all:

routers.cgi*Graph[cpu1]: allcpu average nototal
routers.cgi*Graph[cpu2]: allcpu
routers.cgi*Graph[cpu3]: allcpu
routers.cgi*Graph[cpu4]: allcpu
routers.cgi*Title[allcpu]: Combined CPU graph

Fnially, you may want to hide the individual CPU graphs:

routers.cgi*InMenu[cpu1]: no
...etc...

There are examples of this in the HOWTO and EXAMPLES files, and also in the online demo .cfg files.

Steve

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Sep 02, 2004 6:20 am 
Offline
Silver User

Joined: Sat Jul 24, 2004 8:26 am
Posts: 28
i'm a bit confused with the average graphs you are talking about.
I have a 4 cpu system now that i monitor via snmp.
It graphs the targets separately.
I'd like to keep those and add the average graph.
I've scoured the examples and can't find an example that makes sense to me.

Could you point me in the right direction?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Sep 02, 2004 9:58 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Read the HOWTO documentation about userdefined graphs. You need to make a userdefined that combines the 4 and adds an average line.

The EXAMPLES file contains examples of how to do this.

Also the online demo will show you the .cfg files for this sort of userdefined graph (see the mail server example).

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Sep 02, 2004 10:37 am 
Offline
Silver User

Joined: Sat Jul 24, 2004 8:26 am
Posts: 28


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Sep 09, 2004 9:54 pm 
Offline
User

Joined: Wed Sep 08, 2004 8:48 pm
Posts: 4
Hello Steve,

Sorry for my bad English and stupid questions.
MRTG is my memory of end of training course and I have to deploy on 1000 machines.
I still having pb to monitoring the systems with 2 CPU and 4 CPU.
You suggest me to create four targets, each one graphing a single CPU but I don’t know how I can do it? I copy my conf files from Internet and modified them to adapt to my configuration.
I tested to get OID with mib browser Getif but the result value is wrong.
I found this OID value with getif .1.3.6.1.2.1.25.3.3.1.2.1.1 for first CPU .1.3.6.1.2.1.25.3.3.1.2.1.2 for second but it’s not ok, so I put # before this target in my conf file.

### CPU Utilisation

Target[10.11.231.1_cpu]:.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1.48&.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1.49:public@10.11.231.1
#Target[10.11.231.1_cpu]:.1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.2:public@10.11.231.1
routers.cgi*Graph[10.11.231.1_cpu1]: allcpu average nototal
routers.cgi*Graph[10.11.231.1_cpu2]: allcpu
routers.cgi*Title[10.11.231.1_cpu]: Combined CPU graph
MaxBytes[10.11.231.1_cpu]: 100
Title[10.11.231.1_cpu]: CPU Utilization (average)
PageTop[10.11.231.1_cpu]: <H1>10.11.231.1 - Utilisation CPU (%)</H1>
<TABLE>
<TR><TD>System:</TD> <TD>10.11.231.1 </TD></TR>
<TR><TD>Maintainer:</TD> <TD>Administrateur </TD></TR>
<TR><TD>Max Value:</TD> <TD>100 %</TD></TR>
<TR><TD>Ip:</TD> <TD>10.11.231.1 (10.11.231.1.domain)</TD></TR>
</TABLE>
Options[10.11.231.1_cpu]: gauge,nopercent,
YLegend[10.11.231.1_cpu]: Utilisation CPU (%)
ShortLegend[10.11.231.1_cpu]: %
Colours[10.11.231.1_cpu]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[10.11.231.1_cpu]:&nbsp;CPU Utilisation
Legend2[10.11.231.1_cpu]:&nbsp;CPU Utilisation
Legend3[10.11.231.1_cpu]:&nbsp;CPU Utilisation
Legend4[10.11.231.1_cpu]:&nbsp;CPU Utilisation
LegendI[10.11.231.1_cpu]:&nbsp;CPU 1
Legendo[10.11.231.1_cpu]:&nbsp;CPU 2

[/img]


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Sep 10, 2004 4:56 am 
Offline
Silver User

Joined: Sat Jul 24, 2004 8:26 am
Posts: 28
I've also had some issues monitoring cpu's on windows servers.
on my quad cpu box i have had to use:
.1.3.6.1.2.1.25.3.3.1.2.1
.1.3.6.1.2.1.25.3.3.1.2.2
.1.3.6.1.2.1.25.3.3.1.2.3
.1.3.6.1.2.1.25.3.3.1.2.4
on my single cpu boxes some have worked with:

.1.3.6.1.2.1.25.3.3.1.2.1
while others have had to use:
.1.3.6.1.2.1.25.3.3.1.2.3
Weird stuff....but this is microsoft were talking about.
I have one dual cpu box that i cannot get any values from on cpu.
ive tried:.1.3.6.1.2.1.25.3.3.1.2.1 - 4 and .1.3.6.1.2.1.25.3.3.1.2.40 - 44

no luck.
I hope this helps.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Sep 10, 2004 10:07 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group