[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multi-host process graphs
- To: hobbit (at) hswn.dk
- Subject: Multi-host process graphs
- From: Charles Jones <jonescr (at) cisco.com>
- Date: Mon, 06 Nov 2006 15:13:22 -0700
- Authentication-results: sj-dkim-4.cisco.com; header.From=jonescr@cisco.com; dkim=pass ( sig from cisco.com verified; );
- Dkim-signature: a=rsa-sha1; q=dns; l=1504; t=1162851206; x=1163715206; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jonescr@cisco.com; z=From:Charles=20Jones=20<jonescr@cisco.com> |Subject:Multi-host=20process=20graphs; X=v=3Dcisco.com=3B=20h=3DoiBmTvmNR1GbkzkUk/OnmtFraiU=3D; b=nQhqV6yjzeBJcE779kkr85x02jbCzuGGBEZUAKbaESgFtj0zLy1FjygSqNSrZ6+1MUPx3Pez JJGuLeTTlL205pg+NXJfLAm0xJibvD605gm+nXSPacbCB5f5VtkNo+6/;
- Organization: Cisco Systems
- User-agent: Thunderbird 1.5.0.4 (X11/20060614)
Has anyone had any luck in creating multi-hosts process graphs? Here are
the steps I have done so far in trying to get it to work. If anyone sees
what I am doing wrong, any advice would be appreciated.
1. Created a multi definition in hobbitgraphs.cfg
[processes-multi]
FNPATTERN processes.(.+).rrd
TITLE Multi-host Process counts
YAXIS #
DEF:cnt (at) RRDIDX@= (at) RRDFN@:count:AVERAGE
-l 0 -A
LINE2:cnt (at) RRDIDX@# (at) COLOR@:@RRDPARAM@
GPRINT:cnt (at) RRDIDX@:LAST: \: %10.1lf (cur)
GPRINT:cnt (at) RRDIDX@:MAX: \: %10.1lf (max)
GPRINT:cnt (at) RRDIDX@:MIN: \: %10.1lf (min)
GPRINT:cnt (at) RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
2. Edited hobbit/server/web/hostgraphs_form and added the extra option
for process counts:
<option value="processes">Process counts</option>
3. Made sure that the process rrds are there (I know they are anyway
because I see the graphs in trends):
$ ls data/rrd/prod-web-1/processes.*
data/rrd/prod-web-1/processes.Apache_portal.rrd
data/rrd/prod-web-1/processes.Apache_tomcat.rrd
data/rrd/prod-web-1/processes.Apache_research.rrd
data/rrd/prod-web-1/processes.Apache_main.rrd
data/rrd/prod-web-1/processes.Apache_proxy.rrd
Now when I go to the Metrics Report, and select prod-web-2 and
prod-web2, along with Process counts. I get a missing graph, so
something isn't working right. The same hosts work fine with other
multi-host graphs like la1, cpu, etc.
any ideas?
-Charles