Difference between revisions of "CricketGraphing"

From PDP/Grid Wiki
Jump to navigationJump to search
m
m
Line 32: Line 32:
 
All sources are kept in /project/cricket/src/:
 
All sources are kept in /project/cricket/src/:
  
-rw-r--r--  1 root    root 411265 Mar 28  2004 cricket-1.0.5.tar.gz
+
-rw-r--r--  1 root    root 411265 Mar 28  2004 cricket-1.0.5.tar.gz
-rw-r--r--  1 root    root  47753 Aug 29  2007 genRtrConfig_1_5_50.tar.gz
+
-rw-r--r--  1 root    root  47753 Aug 29  2007 genRtrConfig_1_5_50.tar.gz
-rw-r--r--  1 root    root 103555 Aug 13  2007 lzo2-2.02-3.el4.rf.i386.rpm
+
-rw-r--r--  1 root    root 103555 Aug 13  2007 lzo2-2.02-3.el4.rf.i386.rpm
-rw-r--r--  1 root    root 352993 Feb  2  2007 openvpn-2.0.9-1.el4.rf.i386.rpm
+
-rw-r--r--  1 root    root 352993 Feb  2  2007 openvpn-2.0.9-1.el4.rf.i386.rpm
-rw-r--r--  1 root    root  68407 Mar 19  2008 SNMP_Session-1.12.tar.gz
+
-rw-r--r--  1 root    root  68407 Mar 19  2008 SNMP_Session-1.12.tar.gz
  
 
= What About Hefrouter? =
 
= What About Hefrouter? =

Revision as of 21:44, 22 December 2008

Generting the configuration for network Cricket graphing

The graphs are collected and plotted on salado, the net manager host. The configuration for the grapher is held in /project/cricket, owner by the 'cricket' user, whereas the CGI script itself is held in the default /var/www tree.

The naming in the graphs is auto-generated based on the port-name definitions in the router itself. So, to update the names alongside the interface numbers, forst update the running config of the router, and then run:

ssh cricket@salado
cd /project/cricket/deploy/cricket-config/
../cricket/util/genRtrConfig --snmpv2c -C public deel-man
cd ../cricket
./compile

and similarly for "nikopn-man", "sw-public-grid-01", "sw-public-sec-01", "sw-mngt-01" and even "opnstorage-sw-easteregg-01" (through the VLAN4 interconnect from deel to nikhef).

The graphs are generated every 5 minutes from crontab with

*/5 * * * *     /project/cricket/deploy/cricket/collect.sh > /dev/null 2>&1

and look at the results at http://salado.nikhef.nl/cgi-bin/grapher.cgi

Hooi-ei aggregated links

These configuration are generated by a simple perl script. Invoke with (untested):

perl ~/genhooiei.pl >> opnstorage-sw-easteregg-01/Defaults
cd /project/cricket/deploy/
./compile

Sources

All sources are kept in /project/cricket/src/:

-rw-r--r--  1 root    root 411265 Mar 28  2004 cricket-1.0.5.tar.gz
-rw-r--r--  1 root    root  47753 Aug 29  2007 genRtrConfig_1_5_50.tar.gz
-rw-r--r--  1 root    root 103555 Aug 13  2007 lzo2-2.02-3.el4.rf.i386.rpm
-rw-r--r--  1 root    root 352993 Feb  2  2007 openvpn-2.0.9-1.el4.rf.i386.rpm
-rw-r--r--  1 root    root  68407 Mar 19  2008 SNMP_Session-1.12.tar.gz

What About Hefrouter?

The statistics for hefrouter are kept at http://www.dutchgrid.nl/cgi-bin/grapher.cgi using legacy scripts and cronjobs on beerput.nikhef.nl (user netmon). The configuration is manually maintained by Paul.