X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=torrus%2Fexamples%2Ftorrus-siteconfig.powerbook.pl;fp=torrus%2Fexamples%2Ftorrus-siteconfig.powerbook.pl;h=0c17042239829910449b731f8dca826c3b4eae66;hp=0000000000000000000000000000000000000000;hb=74e058c8a010ef6feb539248a550d0bb169c1e94;hpb=35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 diff --git a/torrus/examples/torrus-siteconfig.powerbook.pl b/torrus/examples/torrus-siteconfig.powerbook.pl new file mode 100644 index 000000000..0c1704223 --- /dev/null +++ b/torrus/examples/torrus-siteconfig.powerbook.pl @@ -0,0 +1,48 @@ +# Torrus Site config. Put all your site specifics here. +# You need to stop and start Apache server every time you change this file. +# +# An example using the rainbow-schema overlay. +# Shawn Ferry +# +# (ssinyagin) You can use statements like these from inside your +# XML configurations: +# +# Besides, "devdiscover" discovery tool will soon support most +# of these vendor definitions. + +# $Id: torrus-siteconfig.powerbook.pl,v 1.1 2010-12-27 00:04:40 ivan Exp $ +# @(#) 10/18/03 torrus-siteconfig.pl 1.3 (10/18/03 18:44:31) sferry + +@Torrus::Global::xmlAlwaysIncludeFirst = + qw( + defaults.xml + snmp-defs.xml + collector-periods.xml + vendor/cisco.ios.xml + generic/rfc2790.host-resources.xml + generic/rfc1213.xml + vendor/ucd-snmp.xml + ); + +%Torrus::Global::treeConfig = + ( + 'powerbook' => { + 'description' => 'Powerbook Laptop Tree', + 'xmlfiles' => [qw( + powerbook/powerbook-defaults.xml + powerbook/powerbook-ti.xml + )], + 'run' => { + 'collector' => 1, + } + }, + + ); # CLOSE %Torrus::Global::treeConfig + + + # Override values in the current schema with those in + # rainbow schema, schema changes require an apache restart + $Torrus::Renderer::stylingProfileOverlay = "rainbow-schema"; + + +1;