|
I've been trying to setup trending but have ran into a bit of a snag...
routers.cgi V2.18 RRD trending analysis v1.5
I get the error box on top and the log file shows:
Mon Jul 21 08:42:17 2008: Starting trending function Mon Jul 21 08:42:17 2008: ds0,ds1: 400 rows every 7200 from Wed Jun 18 01:00:00 2008 Mon Jul 21 08:42:17 2008: Delta=0, Deviation=17325.3196249677 : deltadelta=113.954608571206, limit 0.00347761866977558 Mon Jul 21 08:42:17 2008: up->18253.5856731557, down->16697.5074252473 Mon Jul 21 08:42:17 2008: Delta set to -113.954608571206 Mon Jul 21 08:42:17 2008: Delta=0, Deviation=9745.61811889838 : deltadelta=58.1292956843502, limit 0.00177396532239838 Mon Jul 21 08:42:17 2008: up->10311.6085985263, down->9309.17252105354 Mon Jul 21 08:42:17 2008: Delta set to -58.1292956843502 Mon Jul 21 08:42:17 2008: RRDGraph: I don't understand ': 0.95 \l' in command: 'COMMENT:Trending analysis decay factor\\: 0.95 \l'. Mon Jul 21 08:42:17 2008: Complete
The changes I made to the trend.cgi
diff ~root/download/routers2-v2.18/extensions/trend.cgi /usr/local/httpd/cgi-bin/trend.cgi
< my( $conffile ) = "/u01/etc/routers2.conf"; # overridden by passed parameters > my( $conffile ) = "/usr/local/httpd/htdocs/routers2.conf"; # overridden by passed parameters
< #my( $consolidation, $conspfx ) = ("MAXIMUM","Max"); > #my( $consolidation, $conspfx ) = ("MAX","Max");
< push @args, "RRA:MAXIMUM:0.5:1:800"; > push @args, "RRA:MAX:0.5:1:800";
< } else { $lmax =":Maximum"; } > } else { $lmax =":Max"; }
< } else { $lamax =":Hard Maximum"; } > } else { $lamax =":Hard Max"; }
< $comment = "COMMENT:Maximum value"; > $comment = "COMMENT:Max value";
|