FW: Graph on status page but not on trends
David Hurst
David.Hurst at t-systems.co.za
Thu May 27 11:15:29 CEST 2010
Hi all,
I am battling with trying to get a graph to appear on the trends column.
What I have is a custom test appearing in it's own status column - specifically "databases". The data as well as the graph is correct in it's own status column, but don't seem to appear on the trends column with the other graphs. There is probably something obvious that I am missing, but can't get this working correctly.
I have changed the hobbitserver.cfg where
TEST2RRD="cpu=la,disk,.........,nparts,databases"
GRAPHS="la,disk,.........,nparts,databases"
The graph is defined in hobbitgraph.cfg as follows :
[databases]
FNPATTERN ^database.(.+).rrd
TITLE Database Transaction Rate
YAXIS Transactions(R+W)
DEF:nt at RRDIDX@=@RRDFN@:numtrans:AVERAGE
LINE2:nt at RRDIDX@#@COLOR@:@RRDPARAM@
GPRINT:nt at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:nt at RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:nt at RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:nt at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
I assume the above to be correct (as well as other configurations that I have changed), because the status column for databases has the data & graph displayed as it should (below)
DB STC Reads Writes
ADADB021 0 0
ADADB029 0 0
ADADB030 200 0
ADADB031 0 9
ADADB032 20012 0
ADADB040 1723 14
ADADB050 67564 1816
Status unchanged in 1 hours, 2 minutes
Status message received from 127.0.0.1
Client data<http://10.17.0.50/hobbit-cgi/bb-hostsvc.sh?CLIENT=mf> available
[cid:image003.jpg at 01CAFD8D.BB2E9A10]
I have changed my bb-hosts file to include :
x.x.x.x mf # TRENDS:*,databases
But that doesn't work - as no graph is displayed for the databases on the trends column.
The only way I can get the graph to appear in the trends column is to change the bb-hosts to something like the following :
x.x.x.x mf # TRENDS:*,cics:cics|databases
The databases graph then appears on the trends column, but this is not quite what I want to do. However, doing it this way then provides a different restriction. If the cics graph only has 4 cics sessions that it is reporting on, and the databases graph has 7 databases that it is reporting on, when the graphs are displayed on the trends column, the cics graph is correct but the databases graph only displays the first 4 databases (below) instead of all 7 databases (above).
[cid:image001.jpg at 01CAFD8D.D0DF6D80]
Any assistance would be appreciated.
Regards
Dave
Disclaimer: This message and/or attachment(s) may contain privileged or confidential information. If you are not the intended recipient you may not disclose or distribute any of the information contained within this message. In such case you must destroy this message and inform the sender of the error. T-Systems does not accept liability for any errors, omissions, information and viruses contained in the transmission of this message. Any opinions, conclusions and other information contained within this message not related to T-Systems' official business is deemed to be that of the individual only and is not endorsed by T-Systems.
This message and/or attachment(s) may contain privileged or confidential
information. If you are not the intended recipient you may not disclose or
distribute any of the information contained within this message. In such
case you must destroy this message and inform the sender of the error.
T-Systems does not accept liability for any errors, omissions, information
and viruses contained in the transmission of this message. Any opinions,
conclusions and other information contained within this message not related
to T-Systems' official business is deemed to be that of the individual only
and is not endorsed by T-Systems.
T-Systems - Business Flexibility
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100527/e88ca253/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 16199 bytes
Desc: image003.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100527/e88ca253/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 23781 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100527/e88ca253/attachment-0001.jpg>
More information about the Xymon
mailing list