[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/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 - One graph displaying the average of multiple CPU's
Cheshire Cat Computing
http://www.steveshipway.org/forum/

One graph displaying the average of multiple CPU's
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=4270
Page 1 of 1

Author:  edemattia [ Thu Nov 25, 2010 4:12 am ]
Post subject:  One graph displaying the average of multiple CPU's

I need to generate one graphs showing the average CPU utilization for multiple Linux and Windows servers that I'm currently monitoring. Based on what I've been reading I know I need to create a user defined graph but I'm not exactly sure how to do this.

This is the CPU load in my cfg for two separate devices. How do I average them into one graph? Note: I will have to do this for many systems into one graph.


System 1

#######################################
# CPU load
Target[a4a-storage-cpu]: 100 - 1.3.6.1.4.1.2021.11.11.0&1.3.6.1.4.1.2021.11.11.0:public@a4a-storage
PageTop[a4a-storage-cpu]: a4a-storage CPU usage
Title[a4a-storage-cpu]: CPU on a4a-storage
Maxbytes[a4a-storage-cpu]: 100
Options[a4a-storage-cpu]: gauge
YLegend[a4a-storage-cpu]: percent
ShortLegend[a4a-storage-cpu]: %
LegendI[a4a-storage-cpu]: cpu:
Legend1[a4a-storage-cpu]: CPU usage
Legend3[a4a-storage-cpu]: Peak CPU usage
routers.cgi*Options[a4a-storage-cpu]: noo, nopercent, nototal, fixunit
routers.cgi*InOut[a4a-storage-cpu]: no
routers.cgi*ShortDesc[a4a-storage-cpu]:CPU
routers.cgi*Icon[a4a-storage-cpu]: chip-sm.gif
routers.cgi*InSummary[a4a-storage-cpu]: yes
routers.cgi*InCompact[a4a-storage-cpu]: yes
routers.cgi*Mode[a4a-storage-cpu]: cpu
routers.cgi*MBLegend[a4a-storage-cpu]: 100% usage
#######################################



System 2

#######################################
# CPU load
Target[aces-node01-cpu]: 100 - 1.3.6.1.4.1.2021.11.11.0&1.3.6.1.4.1.2021.11.11.0:public@aces-node01
PageTop[aces-node01-cpu]: aces-node01 CPU usage
Title[aces-node01-cpu]: CPU on aces-node01
Maxbytes[aces-node01-cpu]: 100
Options[aces-node01-cpu]: gauge
YLegend[aces-node01-cpu]: percent
ShortLegend[aces-node01-cpu]: %
LegendI[aces-node01-cpu]: cpu:
Legend1[aces-node01-cpu]: CPU usage
Legend3[aces-node01-cpu]: Peak CPU usage
routers.cgi*Options[aces-node01-cpu]: noo, nopercent, nototal, fixunit
routers.cgi*InOut[aces-node01-cpu]: no
routers.cgi*ShortDesc[aces-node01-cpu]:CPU
routers.cgi*Icon[aces-node01-cpu]: chip-sm.gif
routers.cgi*InSummary[aces-node01-cpu]: yes
routers.cgi*InCompact[aces-node01-cpu]: yes
routers.cgi*Mode[aces-node01-cpu]: cpu
routers.cgi*MBLegend[aces-node01-cpu]: 100% usage
#######################################

Author:  stevesh [ Thu Nov 25, 2010 9:44 am ]
Post subject:  Re: One graph displaying the average of multiple CPU's


Author:  edemattia [ Wed Dec 01, 2010 9:29 am ]
Post subject:  Re: One graph displaying the average of multiple CPU's


Author:  stevesh [ Wed Dec 01, 2010 9:47 am ]
Post subject:  Re: One graph displaying the average of multiple CPU's

To put your new userdefined graph into the summary page, use this (if your userdefined graph is called 'mygraph'):

routers.cgi*InSummary[mygraph]: yes

This should not affect trending; if you are getting errors, check for other causes. Enable debug in the routers2.conf, then look for debug comments in the generated HTML, and in the web server error log.

Since showing the average CPU for multiple servers is a summary of a summary, you cannot do this with standard routers2. However, you could define a new target for each server which averages the CPU usage OIDs on the Target line, then build a userdefined graph over this.

Author:  edemattia [ Thu Dec 02, 2010 4:47 am ]
Post subject:  Re: One graph displaying the average of multiple CPU's


Author:  stevesh [ Sun Dec 05, 2010 7:59 am ]
Post subject:  Re: One graph displaying the average of multiple CPU's


Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/