Import of JFFNMS v0.8.3
[jffnms.git] / engine / graphs / cisco_saagent_jitter.inc.php
blob7bbf0d1eb1f751b60ef83fbc4083f6353cfaf565
1 <?
2 /* This file is part of JFFNMS
3 * Copyright (C) <2002-2005> Javier Szyszlican <javier@szysz.com>
4 * This program is licensed under the GNU GPL, full terms in the LICENSE file
5 */
6 //Cisco SA Agent Jitter grapher
8 function graph_cisco_saagent_jitter ($data) {
9 extract($data);
11 $opts_DEF = rrdtool_get_def($data,array("forward_jitter","backward_jitter"));
13 $opts_GRAPH = array(
14 "AREA:forward_jitter#00CC00:'Forward Jitter '",
15 "GPRINT:forward_jitter:MAX:'Max\:%5.0lf'",
16 "GPRINT:forward_jitter:AVERAGE:'Average\:%5.0lf'",
17 "GPRINT:forward_jitter:LAST:'Last\:%5.0lf \\n'",
19 "LINE1:backward_jitter#0000FF:'Backward Jitter '",
20 "GPRINT:backward_jitter:MAX:'Max\:%5.0lf'",
21 "GPRINT:backward_jitter:AVERAGE:'Average\:%5.0lf'",
22 "GPRINT:backward_jitter:LAST:'Last\:%5.0lf \\n'",
25 $opts_header[] = "--vertical-label='SA Agent Jitter'";
27 return array ($opts_header, @array_merge($opts_DEF,$opts_GRAPH));