diff options
author | ivan <ivan> | 2010-12-27 00:04:44 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-12-27 00:04:44 +0000 |
commit | 74e058c8a010ef6feb539248a550d0bb169c1e94 (patch) | |
tree | 6e8d3efb218dd0f41970b62c7f29758d1ae9a937 /torrus/xmlconfig | |
parent | 35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 (diff) |
import torrus 1.0.9
Diffstat (limited to 'torrus/xmlconfig')
67 files changed, 24397 insertions, 0 deletions
diff --git a/torrus/xmlconfig/Makefile.am b/torrus/xmlconfig/Makefile.am new file mode 100644 index 000000000..4db53590f --- /dev/null +++ b/torrus/xmlconfig/Makefile.am @@ -0,0 +1,109 @@ + +# Copyright (C) 2002-2010 Stanislav Sinyagin +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +# $Id: Makefile.am,v 1.1 2010-12-27 00:04:05 ivan Exp $ +# Stanislav Sinyagin <ssinyagin@yahoo.com> +# + +EXTRA_DIST = \ + site-global.xml + +xmldir = $(distxmldir) +dist_xml_DATA = defaults.xml snmp-defs.xml cdef-collector-defs.xml + +vendordir = $(distxmldir)/vendor +dist_vendor_DATA = \ + vendor/alteon.xml \ + vendor/alu-timetra.xml \ + vendor/apc.ups.xml \ + vendor/apple.ae.xml \ + vendor/arbor_e.xml \ + vendor/ascend.max.xml \ + vendor/atmel.xml \ + vendor/betternetworks.xml \ + vendor/casa-cmts.xml \ + vendor/cisco.firewall.xml \ + vendor/cisco.generic.xml \ + vendor/cisco.ios.xml \ + vendor/cisco.ios.docsis.xml \ + vendor/cisco.ios.mac-accounting.xml \ + vendor/cisco.sce.xml \ + vendor/cisco.vdsl-line.xml \ + vendor/compaq.cim.xml \ + vendor/empire.systemedge.xml \ + vendor/empire.systemedge.ntregperf.xml \ + vendor/f5.bigip.xml \ + vendor/foundry.xml \ + vendor/ftos.xml \ + vendor/jacarta.xml \ + vendor/junos.xml \ + vendor/hp.hpux.xml \ + vendor/liebert.xml \ + vendor/microsoft.windows.xml \ + vendor/motorola.bsr.xml \ + vendor/netapp.filer.xml \ + vendor/netbotz.xml \ + vendor/netscreen.xml \ + vendor/paradyne.xdsl.xml \ + vendor/symmetricom.xml \ + vendor/ucd.ucd-snmp.xml + +genericdir = $(distxmldir)/generic +dist_generic_DATA = \ + generic/collector-periods.xml \ + generic/monitors.xml \ + generic/rfc1628.ups.xml \ + generic/rfc1697.rdbms.xml \ + generic/rfc2662.adsl-line.xml \ + generic/rfc2670.docsis-if.xml \ + generic/rfc2790.host-resources.xml \ + generic/rfc2863.if-mib.xml + +examplesdir = $(distxmldir)/examples +dist_examples_DATA = \ + examples/apc-ups.xml \ + examples/ascend.max.xml \ + examples/docsis-monitors.xml \ + examples/generic-netsnmp.xml \ + examples/hpux.xml \ + examples/monitors.xml \ + examples/multigraph.xml \ + examples/rainbow-schema.xml \ + examples/servers.data \ + examples/servers.tmpl + +olddir = $(distxmldir)/old +dist_old_DATA = \ + old/cisco.generic.old-0.1.4.xml \ + old/cisco.ios.mac-accounting-0.1.8.xml \ + old/cisco-mac-accounting-example.xml \ + old/rfc1213.xml \ + old/rfc2670.docsis-if.old.0.1.5d-20040224.xml \ + old/rfc2670.docsis-if.old.1.0.4.xml \ + old/rfc2863.if-mib.old-0.1.4.xml \ + old/rfc2863.if-mib.old-0.1.7.xml \ + old/snmp-defs.old-0.1.2.xml + + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(sitexmldir) + if test ! -r $(DESTDIR)$(sitexmldir)/site-global.xml; then \ + $(INSTALL_DATA) site-global.xml \ + $(DESTDIR)$(sitexmldir)/site-global.xml; \ + fi + + diff --git a/torrus/xmlconfig/Makefile.in b/torrus/xmlconfig/Makefile.in new file mode 100644 index 000000000..56463bc30 --- /dev/null +++ b/torrus/xmlconfig/Makefile.in @@ -0,0 +1,539 @@ +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Copyright (C) 2002-2010 Stanislav Sinyagin +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +# $Id: Makefile.in,v 1.1 2010-12-27 00:04:05 ivan Exp $ +# Stanislav Sinyagin <ssinyagin@yahoo.com> +# + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = xmlconfig +DIST_COMMON = $(dist_examples_DATA) $(dist_generic_DATA) \ + $(dist_old_DATA) $(dist_vendor_DATA) $(dist_xml_DATA) \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(genericdir)" \ + "$(DESTDIR)$(olddir)" "$(DESTDIR)$(vendordir)" \ + "$(DESTDIR)$(xmldir)" +dist_examplesDATA_INSTALL = $(INSTALL_DATA) +dist_genericDATA_INSTALL = $(INSTALL_DATA) +dist_oldDATA_INSTALL = $(INSTALL_DATA) +dist_vendorDATA_INSTALL = $(INSTALL_DATA) +dist_xmlDATA_INSTALL = $(INSTALL_DATA) +DATA = $(dist_examples_DATA) $(dist_generic_DATA) $(dist_old_DATA) \ + $(dist_vendor_DATA) $(dist_xml_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +FIND = @FIND@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +KILL = @KILL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +PERLINC = @PERLINC@ +POD2MAN = @POD2MAN@ +POD2MAN_PRESENT_FALSE = @POD2MAN_PRESENT_FALSE@ +POD2MAN_PRESENT_TRUE = @POD2MAN_PRESENT_TRUE@ +POD2TEXT = @POD2TEXT@ +POD2TEXT_PRESENT_FALSE = @POD2TEXT_PRESENT_FALSE@ +POD2TEXT_PRESENT_TRUE = @POD2TEXT_PRESENT_TRUE@ +RM = @RM@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SLEEP = @SLEEP@ +STRIP = @STRIP@ +SU = @SU@ +VERSION = @VERSION@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +cachedir = @cachedir@ +cfgdefdir = @cfgdefdir@ +datadir = @datadir@ +dbhome = @dbhome@ +defrrddir = @defrrddir@ +distxmldir = @distxmldir@ +enable_pkgonly = @enable_pkgonly@ +enable_varperm = @enable_varperm@ +exec_prefix = @exec_prefix@ +exmpdir = @exmpdir@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +logdir = @logdir@ +mandir = @mandir@ +mansec_misc = @mansec_misc@ +mansec_usercmd = @mansec_usercmd@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +perlithreads = @perlithreads@ +perllibdir = @perllibdir@ +perllibdirs = @perllibdirs@ +piddir = @piddir@ +pkgbindir = @pkgbindir@ +pkgdocdir = @pkgdocdir@ +pkghome = @pkghome@ +plugdevdisccfgdir = @plugdevdisccfgdir@ +pluginsdir = @pluginsdir@ +plugtorruscfgdir = @plugtorruscfgdir@ +plugwrapperdir = @plugwrapperdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +reportsdir = @reportsdir@ +sbindir = @sbindir@ +scriptsdir = @scriptsdir@ +seslockdir = @seslockdir@ +sesstordir = @sesstordir@ +sharedstatedir = @sharedstatedir@ +siteconfdir = @siteconfdir@ +sitedir = @sitedir@ +sitexmldir = @sitexmldir@ +supdir = @supdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +tmpldir = @tmpldir@ +tmpluserdir = @tmpluserdir@ +torrus_user = @torrus_user@ +var_group = @var_group@ +var_mode = @var_mode@ +var_user = @var_user@ +varprefix = @varprefix@ +webplaindir = @webplaindir@ +webscriptsdir = @webscriptsdir@ +wrapperdir = @wrapperdir@ +EXTRA_DIST = \ + site-global.xml + +xmldir = $(distxmldir) +dist_xml_DATA = defaults.xml snmp-defs.xml cdef-collector-defs.xml +vendordir = $(distxmldir)/vendor +dist_vendor_DATA = \ + vendor/alteon.xml \ + vendor/alu-timetra.xml \ + vendor/apc.ups.xml \ + vendor/apple.ae.xml \ + vendor/arbor_e.xml \ + vendor/ascend.max.xml \ + vendor/atmel.xml \ + vendor/betternetworks.xml \ + vendor/casa-cmts.xml \ + vendor/cisco.firewall.xml \ + vendor/cisco.generic.xml \ + vendor/cisco.ios.xml \ + vendor/cisco.ios.docsis.xml \ + vendor/cisco.ios.mac-accounting.xml \ + vendor/cisco.sce.xml \ + vendor/cisco.vdsl-line.xml \ + vendor/compaq.cim.xml \ + vendor/empire.systemedge.xml \ + vendor/empire.systemedge.ntregperf.xml \ + vendor/f5.bigip.xml \ + vendor/foundry.xml \ + vendor/ftos.xml \ + vendor/jacarta.xml \ + vendor/junos.xml \ + vendor/hp.hpux.xml \ + vendor/liebert.xml \ + vendor/microsoft.windows.xml \ + vendor/motorola.bsr.xml \ + vendor/netapp.filer.xml \ + vendor/netbotz.xml \ + vendor/netscreen.xml \ + vendor/paradyne.xdsl.xml \ + vendor/symmetricom.xml \ + vendor/ucd.ucd-snmp.xml + +genericdir = $(distxmldir)/generic +dist_generic_DATA = \ + generic/collector-periods.xml \ + generic/monitors.xml \ + generic/rfc1628.ups.xml \ + generic/rfc1697.rdbms.xml \ + generic/rfc2662.adsl-line.xml \ + generic/rfc2670.docsis-if.xml \ + generic/rfc2790.host-resources.xml \ + generic/rfc2863.if-mib.xml + +examplesdir = $(distxmldir)/examples +dist_examples_DATA = \ + examples/apc-ups.xml \ + examples/ascend.max.xml \ + examples/docsis-monitors.xml \ + examples/generic-netsnmp.xml \ + examples/hpux.xml \ + examples/monitors.xml \ + examples/multigraph.xml \ + examples/rainbow-schema.xml \ + examples/servers.data \ + examples/servers.tmpl + +olddir = $(distxmldir)/old +dist_old_DATA = \ + old/cisco.generic.old-0.1.4.xml \ + old/cisco.ios.mac-accounting-0.1.8.xml \ + old/cisco-mac-accounting-example.xml \ + old/rfc1213.xml \ + old/rfc2670.docsis-if.old.0.1.5d-20040224.xml \ + old/rfc2670.docsis-if.old.1.0.4.xml \ + old/rfc2863.if-mib.old-0.1.4.xml \ + old/rfc2863.if-mib.old-0.1.7.xml \ + old/snmp-defs.old-0.1.2.xml + +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu xmlconfig/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu xmlconfig/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: +install-dist_examplesDATA: $(dist_examples_DATA) + @$(NORMAL_INSTALL) + test -z "$(examplesdir)" || $(mkdir_p) "$(DESTDIR)$(examplesdir)" + @list='$(dist_examples_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_examplesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(examplesdir)/$$f'"; \ + $(dist_examplesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(examplesdir)/$$f"; \ + done + +uninstall-dist_examplesDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_examples_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(examplesdir)/$$f'"; \ + rm -f "$(DESTDIR)$(examplesdir)/$$f"; \ + done +install-dist_genericDATA: $(dist_generic_DATA) + @$(NORMAL_INSTALL) + test -z "$(genericdir)" || $(mkdir_p) "$(DESTDIR)$(genericdir)" + @list='$(dist_generic_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_genericDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(genericdir)/$$f'"; \ + $(dist_genericDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(genericdir)/$$f"; \ + done + +uninstall-dist_genericDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_generic_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(genericdir)/$$f'"; \ + rm -f "$(DESTDIR)$(genericdir)/$$f"; \ + done +install-dist_oldDATA: $(dist_old_DATA) + @$(NORMAL_INSTALL) + test -z "$(olddir)" || $(mkdir_p) "$(DESTDIR)$(olddir)" + @list='$(dist_old_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_oldDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(olddir)/$$f'"; \ + $(dist_oldDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(olddir)/$$f"; \ + done + +uninstall-dist_oldDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_old_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(olddir)/$$f'"; \ + rm -f "$(DESTDIR)$(olddir)/$$f"; \ + done +install-dist_vendorDATA: $(dist_vendor_DATA) + @$(NORMAL_INSTALL) + test -z "$(vendordir)" || $(mkdir_p) "$(DESTDIR)$(vendordir)" + @list='$(dist_vendor_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_vendorDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(vendordir)/$$f'"; \ + $(dist_vendorDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(vendordir)/$$f"; \ + done + +uninstall-dist_vendorDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_vendor_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(vendordir)/$$f'"; \ + rm -f "$(DESTDIR)$(vendordir)/$$f"; \ + done +install-dist_xmlDATA: $(dist_xml_DATA) + @$(NORMAL_INSTALL) + test -z "$(xmldir)" || $(mkdir_p) "$(DESTDIR)$(xmldir)" + @list='$(dist_xml_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(dist_xmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(xmldir)/$$f'"; \ + $(dist_xmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(xmldir)/$$f"; \ + done + +uninstall-dist_xmlDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_xml_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(xmldir)/$$f'"; \ + rm -f "$(DESTDIR)$(xmldir)/$$f"; \ + done +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + $(mkdir_p) $(distdir)/examples $(distdir)/generic $(distdir)/old $(distdir)/vendor + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(genericdir)" "$(DESTDIR)$(olddir)" "$(DESTDIR)$(vendordir)" "$(DESTDIR)$(xmldir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local install-dist_examplesDATA \ + install-dist_genericDATA install-dist_oldDATA \ + install-dist_vendorDATA install-dist_xmlDATA + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-dist_examplesDATA uninstall-dist_genericDATA \ + uninstall-dist_oldDATA uninstall-dist_vendorDATA \ + uninstall-dist_xmlDATA uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-dist_examplesDATA \ + install-dist_genericDATA install-dist_oldDATA \ + install-dist_vendorDATA install-dist_xmlDATA install-exec \ + install-exec-am install-info install-info-am install-man \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-dist_examplesDATA uninstall-dist_genericDATA \ + uninstall-dist_oldDATA uninstall-dist_vendorDATA \ + uninstall-dist_xmlDATA uninstall-info-am + + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(sitexmldir) + if test ! -r $(DESTDIR)$(sitexmldir)/site-global.xml; then \ + $(INSTALL_DATA) site-global.xml \ + $(DESTDIR)$(sitexmldir)/site-global.xml; \ + fi +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/torrus/xmlconfig/cdef-collector-defs.xml b/torrus/xmlconfig/cdef-collector-defs.xml new file mode 100644 index 000000000..fe202b6be --- /dev/null +++ b/torrus/xmlconfig/cdef-collector-defs.xml @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2007 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cdef-collector-defs.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- These are the default parameters for CDef collector + + WARNING: This file is overwritten by "make install" +--> + +<configuration> + + +<datasources> + + <template name="cdef-collector-defaults"> + + <param name="ds-type" value="collector" /> + <param name="collector-type" value="cdef" /> + + <param name="cdef-collector-delay" value="0"/> + <param name="cdef-collector-tolerance" value="2"/> + + <!-- Two mandatory parameters define the collector schedule. + The collector runs at moments defined by formula: + time + period - (time mod period) + timeoffset --> + <param name="collector-period" value="300" /> + <param name="collector-timeoffset" value="10" /> + + <param name="storage-type" value="rrd" /> + + <param name="system-id" value="cdef-collector" /> + + <!-- RRD Parameters --> + + <!-- Round-robin arrays to be created, separated by space. + We keep 5-minute details for 1 month, + 30-minute average and maximum details for 6 months, + and 1-day aggregated stats for 2 years. + In 30-minute average one missing sample is allowed. + In daily average one hour of missing samples are allowed. + --> + <param name="rrd-create-rra"> + RRA:AVERAGE:0:1:10080 + RRA:AVERAGE:0.17:6:9120 RRA:MAX:0.17:6:9120 + RRA:AVERAGE:0.042:288:732 RRA:MAX:0.042:288:732 + </param> + + <!-- if no updates are received for 8 minutes, consider the datasource + unknown, i.e. dead --> + <param name="rrd-create-heartbeat" value="500"/> + + <param name="rrd-create-min" value="0"/> + <param name="rrd-create-max" value="U"/> + + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="rrd-create-dstype" value="GAUGE" /> + + <!-- Default schedule for the monitor --> + <param name="monitor-period" value="300" /> + <param name="monitor-timeoffset" value="75" /> + + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/defaults.xml b/torrus/xmlconfig/defaults.xml new file mode 100644 index 000000000..1ffb27bf9 --- /dev/null +++ b/torrus/xmlconfig/defaults.xml @@ -0,0 +1,309 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002-2007 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: defaults.xml,v 1.1 2010-12-27 00:04:05 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + These are the default settings for the datasources and tokensets, + and default view definitions. + + WARNING: This file is overwritten by "make install" + + It is recommended to place all site customizations in site-global.xml, + as it would not be overwritten by the installer. +--> + +<configuration> + +<param-properties> + <!-- Parameters where space is removed from values --> + <prop param="action" prop="remspace" value="1"/> + <prop param="display-rpn-expr" prop="remspace" value="1"/> + <prop param="ds-names" prop="remspace" value="1"/> + <prop param="hrules" prop="remspace" value="1"/> + <prop param="launch-when" prop="remspace" value="1"/> + <prop param="monitor" prop="remspace" value="1"/> + <prop param="nodeid" prop="remspace" value="1"/> + <prop param="print-cf" prop="remspace" value="1"/> + <prop param="rpn-expr" prop="remspace" value="1"/> + <prop param="rrgraph-views" prop="remspace" value="1"/> + <prop param="setenv-dataexpr" prop="remspace" value="1"/> + <prop param="setenv-params" prop="remspace" value="1"/> + <prop param="storage-type" prop="remspace" value="1"/> + <prop param="tokenset-member" prop="remspace" value="1"/> + <prop param="value-map" prop="remspace" value="1"/> + + <!-- Parameters which need to be expanded accorrding + to $defs and %paramrefs% --> + + <prop param="collector-scale" prop="expand" value="1"/> + <prop param="collector-timeoffset-hashstring" + prop="expand" value="1"/> + <prop param="collector-instance-hashstring" + prop="expand" value="1"/> + <prop param="comment" prop="expand" value="1"/> + <prop param="data-dir" prop="expand" value="1"/> + <prop param="data-file" prop="expand" value="1"/> + <prop param="descriptive-nickname" prop="expand" value="1"/> + <prop param="graph-legend" prop="expand" value="1"/> + <prop param="graph-title" prop="expand" value="1"/> + <prop param="lower-limit" prop="expand" value="1"/> + <prop param="monitor-vars" prop="expand" value="1"/> + <prop param="nodeid" prop="expand" value="1"/> + <prop param="normal-level" prop="expand" value="1"/> + <prop param="rpn-expr" prop="expand" value="1"/> + <prop param="rrd-create-max" prop="expand" value="1"/> + <prop param="rrd-create-min" prop="expand" value="1"/> + <prop param="rrd-ds" prop="expand" value="1"/> + <prop param="transform-value" prop="expand" value="1"/> + <prop param="upper-limit" prop="expand" value="1"/> + + <!-- Parameters which are included in search DB --> + <prop param="comment" prop="search" value="1"/> + <prop param="legend" prop="search" value="1"/> + + +</param-properties> + +<datasources> + + <!-- Default views must be defined --> + <param name="default-subtree-view" value="default-dir-html" /> + <param name="default-leaf-view" value="default-rrd-html" /> + <param name="rrgraph-views"> + short,last24h,lastweek,lastmonth,lastyear + </param> + + <!-- Minimum set of parameters if we use + collector-dispersed-timeoffset=yes --> + <param name="collector-timeoffset-hashstring" value="%system-id%" /> + <param name="collector-timeoffset-min" value="0" /> + <param name="collector-timeoffset-max" value="300" /> + <param name="collector-timeoffset-step" value="60" /> + + <param name="collector-instance-hashstring" value="%system-id%" /> + +</datasources> + +<token-sets> + + <param name="default-tset-view" value="default-tset-html" /> + <param name="default-tsetlist-view" value="tset-list-html" /> + +</token-sets> + +<views> + + <!-- Defaults being used by other graphs --> + <view name="default-rrgraph"> + <param name="view-type" value="rrgraph" /> + <param name="expires" value="300" /> + <param name="start" value="-24h" /> + <param name="end" value="now" /> + <param name="width" value="500" /> + <param name="height" value="250" /> + <param name="line-style" value="##SingleGraph" /> + <param name="line-color" value="##SingleGraph" /> + <param name="hw-bndr-style" value="##HWBoundary" /> + <param name="hw-bndr-color" value="##HWBoundary" /> + <param name="hw-fail-color" value="##HWFailure" /> + + <param name="hrules" value="min,norm,max"/> + <param name="hrule-color-min" value="##HruleMin"/> + <param name="hrule-value-min" value="lower-limit"/> + <param name="hrule-color-norm" value="##HruleNormal"/> + <param name="hrule-value-norm" value="normal-level"/> + <param name="hrule-color-max" value="##HruleMax"/> + <param name="hrule-value-max" value="upper-limit"/> + + <param name="decorations" value="busday,evening,night"/> + + # Business day: 8:00 to 17:00 + <param name="dec-order-busday" value="-10"/> + <param name="dec-expr-busday"> + LTIME,86400,%,DUP,28800,GE,EXC,61200,LE,*,INF,UNKN,IF + </param> + <param name="dec-style-busday" value="##BusinessDay"/> + <param name="dec-color-busday" value="##BusinessDay"/> + + # Evening: 17:00 to 22:00 + <param name="dec-order-evening" value="-20"/> + <param name="dec-expr-evening"> + LTIME,86400,%,DUP,61200,GE,EXC,79200,LE,*,INF,UNKN,IF + </param> + <param name="dec-style-evening" value="##Evening"/> + <param name="dec-color-evening" value="##Evening"/> + + # Night: 22:00 to 6:00 + <param name="dec-order-night" value="-30"/> + <param name="dec-expr-night"> + LTIME,86400,%,DUP,79200,GE,EXC,21600,LE,+,INF,UNKN,IF + </param> + <param name="dec-style-night" value="##Night"/> + <param name="dec-color-night" value="##Night"/> + + # GPRINT stuff + <param name="gprint-values" value="current,average,max,min"/> + <param name="gprint-header" + value="Current Average Maximum Minimum"/> + + <param name="gprint-format-current" value="LAST:%8.2lf%s"/> + <param name="gprint-format-average" value="AVERAGE:%8.2lf%s"/> + <param name="gprint-format-max" value="MAX:%8.2lf%s"/> + <param name="gprint-format-min" value="MIN:%8.2lf%s"/> + + <!-- Last day graph, inherits parameters from the above --> + <view name="last24h"> + <param name="start" value="-24hours" /> + <param name="description" value="Last 24 hours graph" /> + </view> + + <!-- Last week graph --> + <view name="lastweek"> + <param name="start" value="-7days" /> + <param name="description" value="Last week graph" /> + </view> + + <!-- Last month graph --> + <view name="lastmonth"> + <param name="start" value="-1month" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="decorations" value=""/> + <param name="description" value="Last month graph" /> + </view> + + <!-- Last year graph --> + <view name="lastyear"> + <param name="start" value="-1year" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="decorations" value=""/> + <param name="description" value="Last year graph" /> + </view> + + <!-- Short overview for multigraph listings --> + <view name="short"> + <param name="width" value="350" /> + <param name="height" value="100" /> + <param name="start" value="-6h" /> + <param name="gprint-values" value="current"/> + <param name="gprint-header" value=""/> + <param name="gprint-format-current" value="LAST:Current\: %7.2lf%s"/> + <param name="description" value="Last 6 hours graph" /> + + <view name="last24h-small"> + <param name="start" value="-24hours" /> + <param name="description" value="Last 24 hours graph" /> + </view> + </view> + </view> + + <!-- This is the HTML page with RRD graphs on it. + Use the specified HTML file as a template with special tags in it --> + <view name="default-rrd-html"> + <param name="view-type" value="html" /> + <param name="expires" value="300" /> + <param name="html-template" value="default-rrd.html" /> + <view name="longterm-rrd-html"> + <param name="longterm" value="1" /> + </view> + </view> + + + <!-- This is the HTML page for tree browsing --> + <view name="default-dir-html"> + <param name="view-type" value="html" /> + <param name="expires" value="3600" /> + <param name="html-template" value="default-dir.html" /> + </view> + + <!-- This shows the leaves of the subtree --> + <view name="expanded-dir-html"> + <param name="view-type" value="html" /> + <param name="expires" value="300" /> + <param name="html-template" value="expanded-dir.html" /> + </view> + + <!-- This shows overview subleaves (previousely InOutBps) --> + <view name="overview-subleaves-html"> + <param name="view-type" value="html" /> + <param name="expires" value="300" /> + <param name="html-template" value="overview-subleaves.html" /> + </view> + + <!-- This all subtrees and leaves recureively --> + <view name="recursive-dir-html"> + <param name="view-type" value="html" /> + <param name="expires" value="3600" /> + <param name="html-template" value="default-recursivedir.html" /> + </view> + + <view name="rrd-print-daily"> + <param name="view-type" value="rrprint" /> + <param name="expires" value="300" /> + <param name="start" value="-24h" /> + <param name="end" value="now" /> + <param name="print-cf" value="MIN,AVERAGE,MAX" /> + </view> + + <view name="rrd-print-last"> + <param name="view-type" value="rrprint" /> + <param name="expires" value="300" /> + <param name="start" value="-1h" /> + <param name="end" value="now" /> + <param name="print-cf" value="LAST" /> + </view> + + <!-- This is the HTML page for tokenset browsing --> + <view name="default-tset-html"> + <param name="view-type" value="html" /> + <param name="expires" value="60" /> + <param name="html-template" value="default-tset.html" /> + </view> + + <view name="tset-list-html"> + <param name="view-type" value="html" /> + <param name="expires" value="60" /> + <param name="html-template" value="tset-list.html" /> + </view> + + <!-- This is the HTML page for displaying the help message --> + <view name="helptext-html"> + <param name="view-type" value="html" /> + <param name="expires" value="3600" /> + <param name="html-template" value="default-helptext.html" /> + </view> + + <view name="adminfo"> + <param name="view-type" value="adminfo" /> + <param name="expires" value="3600" /> + <param name="html-template" value="adminfo.html" /> + </view> + + <view name="search"> + <param name="view-type" value="html" /> + <param name="expires" value="3600" /> + <param name="html-template" value="search.html" /> + </view> + + +</views> + +</configuration> diff --git a/torrus/xmlconfig/examples/apc-ups.xml b/torrus/xmlconfig/examples/apc-ups.xml new file mode 100644 index 000000000..b85b26421 --- /dev/null +++ b/torrus/xmlconfig/examples/apc-ups.xml @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com> + + File: apc-ups.xml + Description: APC UPS battery monitor example for Torrus. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. +--> + +<!-- + This is the example of using the definitions from + "vendor/apc.ups.xml" configuration file. + Currently the tree structure has to be built by hand, the same way as + the example below. In the future, there will be device discovery + support for this vendor. +--> + +<configuration> + +<datasources> + + <subtree name="SNMP"> + + <subtree name="UPS"> + + <param name="snmp-community" value="public" /> + <param name="domain-name" value="example.com" /> + <param name="data-dir" value="/var/snmpcollector" /> + + + <subtree name="ups1"> + <param name="legend"> + Location: Chen's take-away, Duebendorf; + Contact: Chen; + Power consumer: Microwave oven + </param> + <param name="snmp-host" value="ups1" /> + + <param name="snmp-version" value="1" /> + + <apply-template name="apcups-health" /> + + </subtree> + <!-- ups1 --> + + </subtree> + </subtree> +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/examples/ascend.max.xml b/torrus/xmlconfig/examples/ascend.max.xml new file mode 100644 index 000000000..ac70f5645 --- /dev/null +++ b/torrus/xmlconfig/examples/ascend.max.xml @@ -0,0 +1,58 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: ascend.max.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ + Roman Hochuli <roman@hochu.li> + Stanislav Sinyagin <ssinyagin@yahoo.com> + + Ascend MAC Call statistics. + Tested with Ascent MAX 4000 with Software-Release feik.m40 7.0.26 +--> + +<configuration> +<datasources> + <subtree name="SNMP"> + <subtree name="Dialup"> + + <param name="snmp-version" value="1" /> + <param name="snmp-community" value="xxxx" /> + <param name="domain-name" value="" /> + <param name="data-dir" value="/var/snmpcollector" /> + + <subtree name="myhost.mydomain.com"> + <param name="legend"> + Location: Hardstrasse 235; + Contact: GPS Technik AG, Zuercherstrasse 139, CH-8952 Schlieren + </param> + <param name="snmp-host" value="myhost.mydomain.com" /> + + <subtree name="Call_Statistics"> + <apply-template name="ascend-totalcalls" /> + + <leaf name="E1_2_CurrentCalls"> + <param name="ascend-ifidx" value="2" /> + <apply-template name="ascend-e1stats" /> + </leaf> + </subtree> + + </subtree> + + </subtree> + </subtree> +</datasources> +</configuration> diff --git a/torrus/xmlconfig/examples/docsis-monitors.xml b/torrus/xmlconfig/examples/docsis-monitors.xml new file mode 100644 index 000000000..0a5ffd69f --- /dev/null +++ b/torrus/xmlconfig/examples/docsis-monitors.xml @@ -0,0 +1,433 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2005 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: docsis-monitors.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + + Example monitors that may be applied to DOCSIS CMTS monitoring + +--> + + +<configuration> + +<token-sets> + + <token-set name="docs-warnings"> + <param name="comment" value="DOCSIS Warnings" /> + </token-set> + + <token-set name="docs-minor"> + <param name="comment" value="DOCSIS Minor failures" /> + </token-set> + + <token-set name="docs-major"> + <param name="comment" value="DOCSIS Major failures" /> + </token-set> + +</token-sets> + +<monitors> + + <!-- ********************************************************** + Three levels of actions for different severity levels + ********************************************************** --> + <action name="docs-tset-warnings"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="docs-warnings" /> + </action> + + <action name="docs-tset-minor"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="docs-minor" /> + </action> + + <action name="docs-tset-major"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="docs-major" /> + </action> + + + <!-- ========================================================== + == RFC2670 monitors == + ========================================================== --> + + + <!-- ********************************************************** + SNR monitors + ********************************************************** --> + <monitor name="docsis-snr-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr" + value="DUP,0,GT,EXC,DUP,24.5,LT,EXC,22,GE,AND,AND" /> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + Signal/Noise-Ratio lower than 30dB + </param> + </monitor> + + <monitor name="docsis-snr-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr" + value="DUP,0,GT,EXC,DUP,22,LT,EXC,18,GE,AND,AND" /> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + Signal/Noise-Ratio lower than 25dB + </param> + </monitor> + + <monitor name="docsis-snr-3"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr" value="DUP,0,GT,EXC,18,LT,AND" /> + <param name="action" value="docs-tset-major" /> + <param name="expires" value="21600" /> + <param name="comment"> + Signal/Noise-Ratio lower than 18dB + </param> + </monitor> + + + <!-- ********************************************************** + Correctable FEC error rate monitors + ********************************************************** --> + <monitor name="docsis-feccor-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + {Error-Free},{Uncorrectable},+,+, + /,100,*,DUP, + 10,GT,EXC,20,LE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + FEC correctable error rate more than 10% + </param> + </monitor> + + <monitor name="docsis-feccor-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + {Error-Free},{Uncorrectable},+,+, + /,100,*, + 20,GT + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + FEC correctable error rate more than 20% + </param> + </monitor> + + + <!-- ********************************************************** + Uncorrectable FEC error rate monitors + ********************************************************** --> + <monitor name="docsis-fecuncor-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + {Error-Free},{Correctable},+,+, + /,100,*,DUP, + 0.5,GT,EXC,1,LE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + FEC uncorrectable error rate more than 0.5% + </param> + </monitor> + + <monitor name="docsis-fecuncor-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + {Error-Free},{Correctable},+,+, + /,100,*,DUP, + 1,GT,2,EXC,LE,AND + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + FEC uncorrectable error rate more than 1% + </param> + </monitor> + + <monitor name="docsis-fecuncor-3"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + {Error-Free},{Correctable},+,+, + /,100,*, + 2,GT + </param> + <param name="action" value="docs-tset-major" /> + <param name="expires" value="21600" /> + <param name="comment"> + FEC uncorrectable error rate more than 2% + </param> + </monitor> + + + <!-- ********************************************************** + Downstream utilization monitors + ********************************************************** --> + <monitor name="docsis-downutl-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {TotalBytes},/,100,*, + DUP, + 75,GT,EXC,80,LE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + DOCSIS downstream utilization more than 75% + </param> + </monitor> + + <monitor name="docsis-downutl-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {TotalBytes},/,100,*, + DUP, + 80,GT,EXC,85,LE,AND + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + DOCSIS downstream utilization more than 80% + </param> + </monitor> + + <monitor name="docsis-downutl-3"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {TotalBytes},/,100,*, + 85,GT + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + DOCSIS downstream utilization more than 85% + </param> + </monitor> + + + + <!-- ========================================================== + == Cisco-specific monitors == + ========================================================== --> + <!-- ********************************************************** + Upstream utilization monitors + ********************************************************** --> + + <monitor name="docsis-uputil-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + 75,GT,EXC,80,LE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + DOCSIS upstream utilization more than 75% + </param> + </monitor> + + <monitor name="docsis-uputil-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + 80,GT,EXC,85,LE,AND + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + DOCSIS upstream utilization more than 80% + </param> + </monitor> + + <monitor name="docsis-uputil-3"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + 85,GT + </param> + <param name="action" value="docs-tset-major" /> + <param name="expires" value="21600" /> + <param name="comment"> + DOCSIS upstream utilization more than 85% + </param> + </monitor> + + + <!-- ********************************************************** + Upstream free contention slots monitors + ********************************************************** --> + + <monitor name="docsis-upslots-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + 17,LT,EXC,12,GE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + free DOCSIS upstream minislots less than 17% + </param> + </monitor> + + <monitor name="docsis-upslots-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + DUP, + 12,LT,EXC,7,GE,AND + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + free DOCSIS upstream minislots less than 12% + </param> + </monitor> + + <monitor name="docsis-upslots-3"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + 7,LT + </param> + <param name="action" value="docs-tset-major" /> + <param name="expires" value="21600" /> + <param name="comment"> + free DOCSIS upstream minislots less than 7% + </param> + </monitor> + + <!-- ********************************************************** + Modems online monitors + ********************************************************** --> + + <!-- If Modems_Total < 100, then + Active < 10% ===> warning + If Modems_Total >= 100, then + Active < 50% ===> minor + Active < 10% ===> major --> + + <monitor name="docsis-modems-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Modems_Total},/,100,*,10,LT, + {Modems_Total},100,LT,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="1800" /> + <param name="comment"> + Less than 10% of DOCSIS modems online on a low-loaded interface + </param> + </monitor> + + <monitor name="docsis-modems-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Modems_Total},/,100,*, + DUP, + 50,LT,EXC,10,GE,AND, + {Modems_Total},100,GE,AND + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + Less than 50% of DOCSIS modems online + </param> + </monitor> + + <monitor name="docsis-modems-3"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Modems_Total},/,100,*,10,LT, + {Modems_Total},100,GE,AND + </param> + <param name="action" value="docs-tset-major" /> + <param name="expires" value="21600" /> + <param name="comment"> + Less than 10% of DOCSIS modems online + </param> + </monitor> + + <!-- ========================================================== + == IF-MIB monitors for cable interfaces == + ========================================================== --> + + <monitor name="docs-inerrors-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Packets_In},/,100,*,DUP, + 10,GT,EXC,50,LE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="21600" /> + <param name="comment"> + Input packet errors more than 10% + </param> + </monitor> + + <monitor name="docs-inerrors-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Packets_In},/,100,*,DUP, + 50,GT + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + Input packet errors more than 50% + </param> + </monitor> + + <monitor name="docs-outerrors-1"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Packets_Out},/,100,*,DUP, + 10,GT,EXC,50,LE,AND + </param> + <param name="action" value="docs-tset-warnings" /> + <param name="expires" value="21600" /> + <param name="comment"> + Output packet errors more than 10% + </param> + </monitor> + + <monitor name="docs-outerrors-2"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {Packets_Out},/,100,*,DUP, + 50,GT + </param> + <param name="action" value="docs-tset-minor" /> + <param name="expires" value="21600" /> + <param name="comment"> + Output packet errors more than 50% + </param> + </monitor> + +</monitors> + +</configuration> diff --git a/torrus/xmlconfig/examples/generic-netsnmp.xml b/torrus/xmlconfig/examples/generic-netsnmp.xml new file mode 100644 index 000000000..79f514085 --- /dev/null +++ b/torrus/xmlconfig/examples/generic-netsnmp.xml @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + File: generic-netsnmp.xml + Description: System monitor example for Torrus. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + Shawn Ferry <sferry at sevenspace dot com> <lalartu at obscure dot org> + + $Id: generic-netsnmp.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ + @(#) 10/18/03 generic-netsnmp.xml 1.2 (10/18/03 18:33:14) sferry +--> +<!-- + This is the example of using templates from vendor and generic definition + files: + generic/rfc1213.xml, generic/rfc2790.host-resources.xml, + vendor/ucd-snmp.xml + + This file can be used as an example for any host using ucd-snmp + + You are encouraged to look at one of the tree-<name> configurations. + +--> +<configuration> + <datasources> + <!-- + Apply the one-minute-period template, which sets the collector period + to one minute and uses the appropriate RRA values for the period + --> + <!-- The top subtree for for the Generic Tree--> + <subtree name="Generic"> + <apply-template name="snmp-defaults"/> + <!-- + Set the snmp community port and version + All of these settings override any previously + set values and are in effect for everything + inside this subtree + --> + <param name="snmp-community" value="public"/> + <param name="snmp-port" value="191"/> + <param name="snmp-version" value="1"/> + <param name="domain-name" value=""/> + + <!-- Set the data-dir for rrd files created because of this subtree + I use a directory per tree and a directory per host. The directories + must be manually created --> + <param name="data-dir"> + /usr/local/torrus-data/generic/snmp/%system-id% + </param> + + <!-- This subtree wraps up the applied configuration for "SolarisHost" + It is also appropriate for most net/ucd snmp hosts --> + <subtree name="SolarisHost"> + <apply-template name="one-minute-period"/> + + <!-- Text to display while showing this tree --> + <param name="legend"> + Location: System Localtion ; Contact: System Contact + </param> + + <!-- The IP address of the host that is being queried --> + <param name="snmp-host" value="127.0.0.1"/> + <!-- + Apply the template named ucd-snmp + ucd-snmp attempts to capture and graph system memory + blockio and system/processor information(similar to vmstat) + it is actually a wrap up of the following templates + ucd-memory, ucd-blockio, ucd-context_interrupts + --> + <apply-template name="ucd-snmp"/> + + <!-- Apply the template named rfc2790.host-resources + rfc2790.host-resources, wraps up the template + hrsystem, which attempts to graph the number of users + and processes on a system. + --> + <apply-template name="rfc2790.host-resources"/> + + <!-- The Storage Subtree, it is not required that a tree exist + at this level --> + <subtree name="Storage"> + + <!-- the root filesystem --> + <subtree name="root"> + + <!-- the string that is returned for hrStorageDescr --> + <param name="storage-description" value="/"/> + + <!-- The Name of the file system without any special characters + Used to create the datafile --> + <param name="filesystem" value="root"/> + + <!-- Apply the template hrstorage --> + <apply-template name="hrstorage"/> + </subtree> + + <subtree name="tmp"> + <param name="storage-description" value="/tmp"/> + <param name="filesystem" value="tmp"/> + <apply-template name="hrstorage"/> + </subtree> + + <subtree name="var"> + <param name="storage-description" value="/var"/> + <param name="filesystem" value="var"/> + <apply-template name="hrstorage"/> + </subtree> + + <subtree name="opt"> + <param name="storage-description" value="/opt"/> + <param name="filesystem" value="opt"/> + <apply-template name="hrstorage"/> + </subtree> + + </subtree> + + <!-- Interfaces --> + <!-- The NetworkInterfaces Subtree, it is not required that a + tree exist at this level --> + <subtree name="NetworkInterfaces"> + + <!-- The network interface hme0 --> + <subtree name="hme0"> + <!-- The name of the interface as returned by rfc1213_ifDescr --> + <param name="interface-name" value="hme0"/> + + <!-- Apply the template rfc1213-interface --> + <apply-template name="rfc1213-interface"/> + </subtree> + + <subtree name="qfe0"> + <param name="interface-name" value="qfe0"/> + <apply-template name="rfc1213-interface"/> + </subtree> + + <subtree name="qfe1"> + <param name="interface-name" value="qfe1"/> + <apply-template name="rfc1213-interface"/> + </subtree> + </subtree> + </subtree> + </subtree> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/examples/hpux.xml b/torrus/xmlconfig/examples/hpux.xml new file mode 100644 index 000000000..2d91f2d9c --- /dev/null +++ b/torrus/xmlconfig/examples/hpux.xml @@ -0,0 +1,103 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com> + + File: hpux.xml + Description: HP-UX system monitor example for Torrus. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. +--> + +<!-- + This is the example of using the definitions from + "vendor/hp.hpux.xml" configuration file. + Currently the tree structure has to be built by hand, the same way as + the example below. In the future, there will be device discovery + support for this vendor. +--> + +<configuration> + +<datasources> + + <subtree name="SNMP"> + + <subtree name="HP"> + + <param name="snmp-community" value="public" /> + <param name="domain-name" value="example.com" /> + <param name="data-dir" value="/var/snmpcollector" /> + + <subtree name="hp01"> + <param name="legend"> + Location: Rack 01; + Contact: John Doe + </param> + <param name="snmp-host" value="hp01" /> + + <subtree name="stand"> + <param name="filesystem-name" value="/stand" /> + <param name="filesystem" value="stand" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <subtree name="root"> + <param name="filesystem-name" value="/" /> + <param name="filesystem" value="root" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <subtree name="var"> + <param name="filesystem-name" value="/var" /> + <param name="filesystem" value="var" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <subtree name="usr"> + <param name="filesystem-name" value="/usr" /> + <param name="filesystem" value="usr" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <subtree name="tmp"> + <param name="filesystem-name" value="/tmp" /> + <param name="filesystem" value="tmp" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <subtree name="home"> + <param name="filesystem-name" value="/home" /> + <param name="filesystem" value="home" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <subtree name="opt"> + <param name="filesystem-name" value="/opt" /> + <param name="filesystem" value="opt" /> + <apply-template name="hpux-filesystem" /> + </subtree> + + <apply-template name="hpux-cpu" /> + + </subtree> + <!-- hp01 --> + + </subtree> + </subtree> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/examples/monitors.xml b/torrus/xmlconfig/examples/monitors.xml new file mode 100644 index 000000000..a7a42d017 --- /dev/null +++ b/torrus/xmlconfig/examples/monitors.xml @@ -0,0 +1,156 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: monitors.xml,v 1.1 2010-12-27 00:04:29 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + These examples show how monitors can be built in Torrus and used together + with your data. + --> + +<configuration> + +<token-sets> + + <token-set name="jumps"> + <param name="comment" value="Traffic rate jumps" /> + </token-set> + + <token-set name="hw-failures"> + <param name="comment" value="Holt-Winters prediction failures" /> + </token-set> + + <token-set name="devel"> + <param name="comment" + value="Torrus development and testing" /> + </token-set> + +</token-sets> + +<monitors> + + <!-- First define the actions --> + + <!-- This action will put the graphs of alarmed datasources in + a single alarm report page --> + <action name="graph-hw-failures"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="hw-failures" /> + </action> + + <action name="graph-jumps"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="jumps" /> + </action> + + <action name="graph-devel"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="devel" /> + </action> + + <action name="report-file"> + <param name="action-type" value="exec" /> + <param name="command"> + echo `date '+%d-%b-%Y %H:%M:%S'` \ + $TORRUS_MONITOR $TORRUS_EVENT $TORRUS_NODEPATH \ + >> /tmp/torrus-events + </param> + <param name="launch-when" value="set, repeat, clear, forget" /> + </action> + + <action name="snmptrap"> + <param name="action-type" value="exec" /> + <param name="command" value="$TORRUS_HOME/bin/action_snmptrap" /> + <param name="launch-when" value="set, clear" /> + </action> + + <action name="report-email"> + <param name="action-type" value="exec" /> + <param name="command"> + $TORRUS_HOME/bin/action_printemail | mail ssinyagin@yahoo.com + </param> + <param name="launch-when" value="set, clear" /> + </action> + + <monitor name="hw-failures"> + <param name="monitor-type" value="failures" /> + <param name="action" + value="graph-hw-failures, report-file" /> + <param name="expires" value="21600" /> + <param name="comment" + value="Holt-Winters prediction failures" /> + </monitor> + + <monitor name="strict-maximum"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + #max,GT + </param> + <param name="action" value="report-email" /> + <param name="expires" value="3600" /> + <param name="comment" + value="Value is more than specified maximum" /> + </monitor> + + <monitor name="strict-minimum"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + #min,LT + </param> + <param name="action" value="report-email" /> + <param name="expires" value="3600" /> + <param name="comment" + value="Value is less than specified minimum" /> + </monitor> + + <monitor name="high-jumps"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {(LAST-300)},10,*,GT, + {(LAST)},{(LAST-300)},10,/,LT, + OR, + {T@(LAST)},3600,+,NOW,GE, + AND + </param> + <param name="action" value="graph-jumps, report-file" /> + <param name="expires" value="3600" /> + <param name="comment" + value="Value jumped more than 10-fold in 5 minutes" /> + </monitor> + + <monitor name="mon-devel"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr"> + {(LAST-600)},-,ABS,10485760,GT, + {T@(LAST)},3600,+,NOW,GE, + AND + </param> + <param name="action"> + graph-devel, report-file, snmptrap + </param> + <param name="expires" value="900" /> + <param name="comment" + value="Traffic jumps more than 10mbps in 10 minutes" /> + </monitor> + +</monitors> + +</configuration> diff --git a/torrus/xmlconfig/examples/multigraph.xml b/torrus/xmlconfig/examples/multigraph.xml new file mode 100644 index 000000000..d9356b4a4 --- /dev/null +++ b/torrus/xmlconfig/examples/multigraph.xml @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: multigraph.xml,v 1.1 2010-12-27 00:04:29 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + This example shows how multiple datasources may be displayed in + one graph. See also the template definitions for "BpsInOut" + in "snmp-defs.xml", "vendor/cisco.ios.xml". + --> + +<configuration> + +<datasources> + + <subtree name="SampleMulti"> + <leaf name="sample1"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + <param name="foobarpath" + value="/SNMP/Routers/213.230.38.4/FastEthernet0_0" /> + + <!-- parameter name tail is formed by the DS name --> + + <param name="ds-expr-in" value="{%foobarpath%/locIfInBitsSec}" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="AREA" /> + <param name="line-color-in" value="#00FF00" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{%foobarpath%/locIfOutBitsSec}" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="LINE2" /> + <param name="line-color-out" value="#0000FF" /> + <param name="line-order-out" value="2" /> + + </leaf> + </subtree> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/examples/rainbow-schema.xml b/torrus/xmlconfig/examples/rainbow-schema.xml new file mode 100644 index 000000000..0685b3228 --- /dev/null +++ b/torrus/xmlconfig/examples/rainbow-schema.xml @@ -0,0 +1,164 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (C) 2003 Shawn Ferry + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + +$Id: rainbow-schema.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ +@(#) 10/18/03 schema.xml 1.3 (10/18/03 18:44:31) sferry + +--> +<!-- + (Not very much practical) example of using styling/rainbow-schema.pl +--> + +<include filename="generic/rfc1213.xml"/> + +<configuration> + <datasources> + <!-- rfc1313-interface must be applied at the per-interface level --> + <!-- + rfc1213-interface-rainbow Template + --> + <template name="rfc1213-interface-rainbow"> + <param name="data-file" + value="%system-id%_rfc1213-%interface-name%.rrd"/> + <leaf name="InOutBytes"> + <param name="ignore-upper-limit" value="no"/> + <param name="graph-upper-limit" value="1000"/> + <param name="comment" value="Input and Output bits per second graphs"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" + value="in,out,one,two,three,four,five,six,seven,eight,nine,ten"/> + <!-- IN --> + <param name="ds-expr-in" value="{ifInOctets}"/> + <param name="graph-legend-in" value="Bytes per second in"/> + <param name="line-style-in" value="AREA"/> + <param name="line-color-in" value="##BpsOut"/> + <param name="line-order-in" value="1"/> + <!-- OUT --> + <param name="ds-expr-out" value="{ifOutOctets}"/> + <param name="graph-legend-out" value="Bytes per second out"/> + <param name="line-style-out" value="LINE2"/> + <param name="line-color-out" value="##in"/> + <param name="line-order-out" value="2"/> + + + <!-- IN --> + <param name="ds-expr-one" value="{ifInOctets},1.5,*"/> + <param name="graph-legend-one" value="one"/> + <param name="line-style-one" value="AREA"/> + <param name="line-color-one" value="##one"/> + <param name="line-order-one" value="3"/> + <!-- OUT --> + <param name="ds-expr-two" value="{ifOutOctets},2,*"/> + <param name="graph-legend-two" value="two"/> + <param name="line-style-two" value="LINE2"/> + <param name="line-color-two" value="##two"/> + <param name="line-order-two" value="4"/> + + <!-- IN --> + <param name="ds-expr-three" value="{ifInOctets},2.5,*"/> + <param name="graph-legend-three" value="three"/> + <param name="line-style-three" value="STACK"/> + <param name="line-color-three" value="##three"/> + <param name="line-order-three" value="5"/> + <!-- OUT --> + <param name="ds-expr-four" value="{ifOutOctets},2.5,*"/> + <param name="graph-legend-four" value="four"/> + <param name="line-style-four" value="LINE2"/> + <param name="line-color-four" value="##four"/> + <param name="line-order-four" value="6"/> + + <!-- IN --> + <param name="ds-expr-five" value="{ifInOctets},3,*"/> + <param name="graph-legend-five" value="five"/> + <param name="line-style-five" value="STACK"/> + <param name="line-color-five" value="##five"/> + <param name="line-order-five" value="7"/> + <!-- OUT --> + <param name="ds-expr-six" value="{ifOutOctets},3,*"/> + <param name="graph-legend-six" value="six"/> + <param name="line-style-six" value="LINE2"/> + <param name="line-color-six" value="##six"/> + <param name="line-order-six" value="8"/> + + <!-- IN --> + <param name="ds-expr-seven" value="{ifInOctets},3.5,*"/> + <param name="graph-legend-seven" value="seven"/> + <param name="line-style-seven" value="STACK"/> + <param name="line-color-seven" value="##seven"/> + <param name="line-order-seven" value="9"/> + <!-- OUT --> + <param name="ds-expr-eight" value="{ifOutOctets},3.5,*"/> + <param name="graph-legend-eight" value="eight"/> + <param name="line-style-eight" value="LINE2"/> + <param name="line-color-eight" value="##eight"/> + <param name="line-order-eight" value="10"/> + + + <!-- IN --> + <param name="ds-expr-nine" value="{ifInOctets},4,*"/> + <param name="graph-legend-nine" value="nine"/> + <param name="line-style-nine" value="STACK"/> + <param name="line-color-nine" value="##nine"/> + <param name="line-order-nine" value="11"/> + <!-- OUT --> + <param name="ds-expr-ten" value="{ifOutOctets},4,*"/> + <param name="graph-legend-ten" value="ten"/> + <param name="line-style-ten" value="LINE2"/> + <param name="line-color-ten" value="##ten"/> + <param name="line-order-ten" value="12"/> + + </leaf> + <leaf name="ifOutErrors"> + <param name="snmp-object" value="$rfc1213_ifOutErrors.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifOutErrors"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Output error counter for the interface"/> + <param name="graph-legend" value="Errors out"/> + </leaf> + <leaf name="ifInErrors"> + <param name="snmp-object" value="$rfc1213_ifInErrors.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifInErrors"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Input error counter for the interface"/> + <param name="graph-legend" value="Errors in"/> + </leaf> + <leaf name="ifInOctets"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_ifInOctets.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifInOctets"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of input Bytes per second + </param> + <param name="graph-legend" value="Bytes in"/> + </leaf> + <leaf name="ifOutOctets"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_ifOutOctets.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifOutOctets"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of output Bytes per second + </param> + <param name="graph-legend" value="Bytes out"/> + </leaf> + </template> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/examples/servers.data b/torrus/xmlconfig/examples/servers.data new file mode 100644 index 000000000..28775dc28 --- /dev/null +++ b/torrus/xmlconfig/examples/servers.data @@ -0,0 +1,69 @@ +[%# + Example of using tpage for Torrus config generation. + This is an example only. See User Guide for more details. + Author: Christian Schnidrig + Generate the XML configuration with + tpage --define data=servers.data servers.tmpl >servers.xml +%] +[% + servers = [ + { + name => 'torrus' + type => 'Linux', + location => 'Binz' + description => 'Torrus (Front-end)' + community => 'blabla', + ram => 3000000000 + numCpu => 2, + disks => [ + {name => '/', nickName => 'Root'} + {name => '/var/snmpcollector/0', nickName => 'Collector_0'} + {name => '/var/snmpcollector/1', nickName => 'Collector_1'} + {name => '/var/snmpcollector/2', nickName => 'Collector_2'} + {name => '/var/snmpcollector/3', nickName => 'Collector_3'} + {name => '/var/snmpcollector/4', nickName => 'Collector_4'} + ], + nics => [ + {name => 'eth0', nickName => 'nic', speed => 100000000} + {name => 'eth1', nickName => 'local', speed => 1000000000} + ] + } + { + name => 'torrus2' + type => 'Linux', + location => 'Binz' + description => 'Torrus (Collector)' + community => 'blabla', + ram => 3000000000 + numCpu => 2, + disks => [ + {name => '/', nickName => 'Root'} + {name => '/var/snmpcollector/5', nickName => 'Collector_5'} + {name => '/var/snmpcollector/6', nickName => 'Collector_6'} + {name => '/var/snmpcollector/7', nickName => 'Collector_7'} + {name => '/var/snmpcollector/8', nickName => 'Collector_8'} + {name => '/var/snmpcollector/9', nickName => 'Collector_9'} + ], + nics => [ + {name => 'eth0', nickName => 'nic', speed => 100000000} + {name => 'eth1', nickName => 'local', speed => 1000000000} + ] + } + { + name => 'someSolarisMachine', + type => 'Solaris', + location => 'Binz', + description => 'Tacacs Server', + community => 'blabla', + ram => 224000000, + numCpu => 1, + disks => [ + {name => '/', nickName => 'Root'} + {name => '/log', nickName => 'Log'} + ], + nics => [ + {name => 'le0', nickName => 'nic', speed => 100000000} + ] + } + ] +%] diff --git a/torrus/xmlconfig/examples/servers.tmpl b/torrus/xmlconfig/examples/servers.tmpl new file mode 100644 index 000000000..47b26e555 --- /dev/null +++ b/torrus/xmlconfig/examples/servers.tmpl @@ -0,0 +1,82 @@ +<?xml version="1.0"?> +<!-- + Example of using tpage for Torrus config generation. + This is an example only. See User Guide for more details. + Author: Christian Schnidrig +--> + +[% PROCESS $data %] + +<configuration> +<datasources> + + <subtree name="SNMP"> + <subtree name="Servers"> + [% FOREACH server = servers %] + <!-- ************************************************************* --> + <!-- [% server.name %] --> + <subtree name="[% server.type %]"> + <subtree name="[% server.name %]"> + + <alias>/ByName/[% server.name %]/</alias> + + <param name="snmp-community" value="[% server.community %]" /> + <param name="comment" value="[% server.description %]" /> + <param name="snmp-host" value="[% server.name %]" /> + <param name="legend"> + Description: [% server.description %] + Location: [% server.location %] + </param> + + <apply-template name="physicalRam" /> + <leaf name="PhysicalRAM"> + <param name="lower-limit" value="0" /> + <param name="upper-limit" value="[% server.ram %]" /> + </leaf> + + <param name="numCpu" value="[% server.numCpu %]" /> + [% IF server.type == 'Linux'%] + <apply-template name="cpu-Linux" /> + [% ELSE %] + <apply-template name="cpu-Solaris" /> + [% END %] + <apply-template name="load" /> + <apply-template name="virtualMemory" /> + + <apply-template name="swap" /> + + <apply-template name="sysIO" /> + [% SET precedence = 200 %] + [% FOREACH disk = server.disks %] + <leaf name="Disk_[% disk.nickName %]"> + <param name="comment" value="Disk [% disk.name %]" /> + <param name="data-file"> + %system-id%_[%disk.nickName%].rrd + </param> + <param name="storage-name" value="[% disk.name %]" /> + [% SET precedence = precedence + 10 %] + <param name="precedence" value="[% precedence %]" /> + <apply-template name="disk" /> + </leaf> + [% END %] + [% FOREACH nic = server.nics %] + <subtree name="[% nic.nickName %]"> + <param name="interface-name" value="[% nic.name %]" /> + <param name="interface-nick" value="[% nic.nickName %]" /> + <param name="speed" value="[% nic.speed %]" /> + <param name="comment" value="Network Traffic [% nic.name %]"/> + <apply-template name="interface-counters" /> + [% SET precedence = precedence + 10 %] + <param name="precedence" value="[% precedence %]" /> + </subtree> + [% END %] + <apply-template name="hrSystemUptime" /> + </subtree> + </subtree> + [% END %] + </subtree> + </subtree> + +</datasources> +</configuration> + diff --git a/torrus/xmlconfig/generic/collector-periods.xml b/torrus/xmlconfig/generic/collector-periods.xml new file mode 100644 index 000000000..550575a2b --- /dev/null +++ b/torrus/xmlconfig/generic/collector-periods.xml @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + +$Id: collector-periods.xml,v 1.1 2010-12-27 00:04:30 ivan Exp $ +@(#) 10/18/03 collector-periods.xml 1.8 (10/16/03 23:44:25) sferry + +--> + +<!-- + Template(s) to override the default periods and RRA definitions. +--> + +<configuration> + <datasources> + <!-- + Two mandatory parameters define the collector schedule. + The collector runs at moments defined by formula: + time + period - (time mod period) + timeoffset + + Each period requires RRAs to be defined for that period + RRAs use the following syntax RRA:CF:xff:steps:rows + as the calculation of setps and rows is period dependent + --> + + <!-- ONE MINUTE PERIOD --> + <template name="one-minute-period"> + <param name="collector-period" value="60"/> + <param name="collector-timeoffset" value="10"/> + <!-- + Round-robin arrays to be created, separated by space. + RRA:CF:xff:steps:rows + We keep: (step = 60 ) + 1-minute avg details for 1 week, + 30-minute ave/min/max details for 6 weeks, + 1-day ave/min/max for 2 years + --> + <param name="rrd-create-rra"> + RRA:AVERAGE:0:1:10080 + RRA:LAST:0:1:1 + RRA:AVERAGE:0.17:30:2688 RRA:MIN:0.17:30:2688 RRA:MAX:0.17:30:2688 + RRA:AVERAGE:0.042:1440:732 + RRA:MIN:0.042:1440:732 RRA:MAX:0.042:1440:732 + </param> + <param name="rrd-create-heartbeat" value="300"/> + + <!-- Optional Holt-Winters season length. + Default is one-day (1440 1-minute intervals) --> + <param name="rrd-create-hw-season" value="1440" /> + + <!-- Mandatory length of the Holt-Winters archives. + Same length as main 1-minutes RRA --> + <param name="rrd-create-hw-rralen" value="10080" /> + </template> + + + + <!-- FIVE MINUTE PERIOD --> + <template name="five-minute-period"> + <param name="collector-period" value="300"/> + <param name="collector-timeoffset" value="20"/> + <!-- Round-robin arrays to be created, separated by space. + RRA:CF:xff:steps:rows + We keep: (step = 300 ) + 5-minute avg for 2 weeks, + 30-minute ave/min/max details for 6 weeks, + 1-day ave/min/max for 2 years + --> + <param name="rrd-create-rra"> + RRA:AVERAGE:0:1:4032 + RRA:AVERAGE:0.17:6:2016 RRA:MAX:0.17:6:2016 RRA:MIN:0.17:6:2016 + RRA:AVERAGE:0.042:288:732 RRA:MAX:0.042:288:732 RRA:MIN:0.042:288:732 + </param> + <param name="rrd-create-heartbeat" value="900"/> + </template> + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/generic/monitors.xml b/torrus/xmlconfig/generic/monitors.xml new file mode 100644 index 000000000..57a40c333 --- /dev/null +++ b/torrus/xmlconfig/generic/monitors.xml @@ -0,0 +1,97 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + +$Id $ + +--> +<configuration> + <monitors> + + <!-- Actions --> + <action name="graph-hw-failures"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="hw-failures" /> + </action> + + <action name="graph-Violations"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="Violations" /> + </action> + + <!-- Monitors --> + <monitor name="hw-failures"> + <param name="monitor-type" value="failures" /> + <param name="action" value="graph-hw-failures" /> + <param name="expires" value="3600" /> + </monitor> + + <monitor name="fail_eq"> + <param name="monitor-type" value="expression"/> + <param name="rpn-expr" value="#fail,EQ"/> + <param name="action" value="graph-Violations"/> + <param name="expires" value="86400"/> + </monitor> + + <monitor name="fail_lt"> + <param name="monitor-type" value="expression"/> + <param name="rpn-expr" value="#fail,LT"/> + <param name="action" value="graph-Violations"/> + <param name="expires" value="86400"/> + </monitor> + + <monitor name="fail_le"> + <param name="monitor-type" value="expression"/> + <param name="rpn-expr" value="#fail,LE"/> + <param name="action" value="graph-Violations"/> + <param name="expires" value="86400"/> + </monitor> + + <monitor name="fail_gt"> + <param name="monitor-type" value="expression"/> + <param name="rpn-expr" value="#fail,GT"/> + <param name="action" value="graph-Violations"/> + <param name="expires" value="86400"/> + </monitor> + + <monitor name="fail_ge"> + <param name="monitor-type" value="expression"/> + <param name="rpn-expr" value="#fail,GE"/> + <param name="action" value="graph-Violations"/> + <param name="expires" value="86400"/> + </monitor> + + </monitors> + + <!-- Tokensets --> + <token-sets> + <param name="default-tset-view" value="default-tset-html" /> + <param name="default-tsetlist-view" value="tset-list-html" /> + + <token-set name="hw-failures"> + <param name="comment" value="HW Prediction Violations"/> + </token-set> + + <token-set name="Violations"> + <param name="comment" value="Monitor Violations"/> + </token-set> + + </token-sets> + +</configuration> diff --git a/torrus/xmlconfig/generic/rfc1628.ups.xml b/torrus/xmlconfig/generic/rfc1628.ups.xml new file mode 100644 index 000000000..1888967de --- /dev/null +++ b/torrus/xmlconfig/generic/rfc1628.ups.xml @@ -0,0 +1,370 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2008 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc1628.ups.xml,v 1.1 2010-12-27 00:04:30 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> + +<configuration> + +<definitions> + <!-- UPS-MIB --> + + <!-- Battery group --> + <def name="upsBatteryStatus" value="1.3.6.1.2.1.33.1.2.1.0"/> + <def name="upsSecondsOnBattery" value="1.3.6.1.2.1.33.1.2.2.0"/> + <def name="upsEstimatedMinutesRemaining" value="1.3.6.1.2.1.33.1.2.3.0"/> + <def name="upsEstimatedChargeRemaining" value="1.3.6.1.2.1.33.1.2.4.0"/> + <def name="upsBatteryVoltage" value="1.3.6.1.2.1.33.1.2.5.0"/> + <def name="upsBatteryCurrent" value="1.3.6.1.2.1.33.1.2.6.0"/> + + <!-- Input group --> + <def name="upsInputLineBads" value="1.3.6.1.2.1.33.1.3.1.0"/> + <def name="upsInputFrequency" value="1.3.6.1.2.1.33.1.3.3.1.2"/> + <def name="upsInputVoltage" value="1.3.6.1.2.1.33.1.3.3.1.3"/> + <def name="upsInputCurrent" value="1.3.6.1.2.1.33.1.3.3.1.4"/> + <def name="upsInputTruePower" value="1.3.6.1.2.1.33.1.3.3.1.5"/> + + <!-- Output group --> + <def name="upsOutputFrequency" value="1.3.6.1.2.1.33.1.4.2.0"/> + <def name="upsOutputVoltage" value="1.3.6.1.2.1.33.1.4.4.1.2"/> + <def name="upsOutputCurrent" value="1.3.6.1.2.1.33.1.4.4.1.3"/> + <def name="upsOutputPower" value="1.3.6.1.2.1.33.1.4.4.1.4"/> + <def name="upsOutputPercentLoad" value="1.3.6.1.2.1.33.1.4.4.1.5"/> + + <!-- Bypass group --> + <def name="upsBypassFrequency" value="1.3.6.1.2.1.33.1.5.1.0"/> + <def name="upsBypassVoltage" value="1.3.6.1.2.1.33.1.5.3.1.2"/> + +</definitions> + +<datasources> + + <template name="battery-subtree"> + <param name="data-file" value="%system-id%_ups_battery.rrd"/> + <param name="comment" value="Battery Information"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Status"> + <!-- values: 1 unknown, 2 normal, 3 low, 4 depleted --> + <param name="comment" value="Capacity remaining in batteries"/> + <param name="graph-legend" value="status"/> + <param name="graph-title" + value="Status: 1 unknown, 2 normal, 3 low, 4 depleted"/> + <param name="precedence" value="990"/> + <param name="rrd-ds" value="BatteryStatus"/> + <param name="snmp-object" value="$upsBatteryStatus"/> + </leaf> + + <leaf name="Seconds_On_Batttery"> + <param name="comment" value="Seconds unit is on battery"/> + <param name="graph-legend" value="Seconds on battery"/> + <param name="precedence" value="980"/> + <param name="rrd-ds" value="SecondsOnBattery"/> + <param name="snmp-object" value="$upsSecondsOnBattery"/> + <param name="vertical-label" value="seconds"/> + </leaf> + + <leaf name="Minutes_Remaining"> + <param name="comment" value="Minutes remaining before depletion"/> + <param name="graph-legend" value="Minutes left before depletion"/> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="970"/> + <param name="rrd-ds" value="EstMinRemaining"/> + <param name="snmp-object" value="$upsEstimatedMinutesRemaining"/> + <param name="vertical-label" value="minutes"/> + </leaf> + + <leaf name="Charge_Remaining"> + <param name="comment" value="Battery charge remaining"/> + <param name="graph-legend" value="Battery charge remaining"/> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="960"/> + <param name="rrd-ds" value="EstChgRemaining"/> + <param name="snmp-object" value="$upsEstimatedChargeRemaining"/> + <param name="upper-limit" value="100" /> + <param name="vertical-label" value="percent"/> + </leaf> + + <leaf name="Battery_Voltage"> + <param name="hidden" value="yes"/> + <param name="comment" value="Magnitude of battery voltage"/> + <param name="graph-legend" value="Battery Voltage"/> + <param name="precedence" value="951"/> + <param name="rrd-ds" value="BatteryVoltage"/> + <param name="snmp-object" value="$upsBatteryVoltage"/> + <param name="vertical-label" value="0.1 Volt DC"/> + </leaf> + + <leaf name="Voltage"> + <param name="comment" value="Magnitude of battery voltage"/> + <param name="graph-legend" value="Battery Voltage"/> + <param name="precedence" value="950"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Battery_Voltage},0.1,*"/> + <param name="vertical-label" value="Volt DC"/> + </leaf> + + <leaf name="Battery_Current"> + <param name="hidden" value="yes"/> + <param name="comment" value="Present battery current"/> + <param name="graph-legend" value="Battery current"/> + <param name="precedence" value="940"/> + <param name="rrd-ds" value="BatteryCurrent"/> + <param name="snmp-object" value="$upsBatteryCurrent"/> + <param name="vertical-label" value="0.1 Amp DC"/> + </leaf> + + <leaf name="Current"> + <param name="comment" value="Present battery current"/> + <param name="graph-legend" value="Battery current"/> + <param name="precedence" value="930"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Battery_Current},0.1,*"/> + <param name="vertical-label" value="Amp DC"/> + </leaf> + </template> + + <template name="ups-input-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="freq,volt,curr,true"/> + <!-- Frequency --> + <param name="overview-subleave-name-freq" value="Frequency"/> + <param name="overview-shortcut-text-freq" + value="All Frequency"/> + <param name="overview-shortcut-title-freq" + value="Show input frequency for all phases on one page"/> + <param name="overview-page-title-freq" + value="Input Frequency"/> + <!-- Voltage --> + <param name="overview-subleave-name-volt" value="Voltage"/> + <param name="overview-shortcut-text-volt" + value="All Voltage"/> + <param name="overview-shortcut-title-volt" + value="Show input voltage for all phases on one page"/> + <param name="overview-page-title-volt" + value="Input Voltage"/> + <!-- Current --> + <param name="overview-subleave-name-curr" value="Current"/> + <param name="overview-shortcut-text-curr" + value="All Current"/> + <param name="overview-shortcut-title-curr" + value="Show input current for all phases on one page"/> + <param name="overview-page-title-curr" + value="Input Current"/> + <!-- TruePower --> + <param name="overview-subleave-name-true" value="True_Power"/> + <param name="overview-shortcut-text-true" + value="All True Power"/> + <param name="overview-shortcut-title-true" + value="Show input true power for all phases on one page"/> + <param name="overview-page-title-true" + value="Input True Power"/> + </template> + + <template name="ups-input-leaf"> + <param name="data-file" value="%system-id%_input_%ups-input-idx%.rrd"/> + <param name="comment" value="Phase %ups-input-idx% input"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Input_Frequency"> + <param name="hidden" value="yes"/> + <param name="comment" value="Present input frequency"/> + <param name="graph-legend" value="Input frequency"/> + <param name="precedence" value="991"/> + <param name="rrd-ds" value="inputFrequency"/> + <param name="snmp-object" value="$upsInputFrequency.%ups-input-idx%"/> + <param name="vertical-label" value="0.1 Hertz"/> + </leaf> + + <leaf name="Frequency"> + <param name="comment" value="Present input frequency"/> + <param name="graph-legend" value="Input frequency"/> + <param name="precedence" value="990"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Input_Frequency},0.1,*"/> + <param name="vertical-label" value="Hertz"/> + </leaf> + + <leaf name="Voltage"> + <param name="comment" value="Magnitude of present input voltage"/> + <param name="graph-legend" value="Input voltage"/> + <param name="precedence" value="980"/> + <param name="rrd-ds" value="inputVoltage"/> + <param name="snmp-object" value="$upsInputVoltage.%ups-input-idx%"/> + <param name="vertical-label" value="RMS Volts"/> + </leaf> + + <leaf name="Input_Current"> + <param name="hidden" value="yes"/> + <param name="comment" value="Magnitude of present input current"/> + <param name="graph-legend" value="Input current"/> + <param name="precedence" value="971"/> + <param name="rrd-ds" value="inputCurrent"/> + <param name="snmp-object" value="$upsInputCurrent.%ups-input-idx%"/> + <param name="vertical-label" value="0.1 RMS Amp"/> + </leaf> + + <leaf name="Current"> + <param name="comment" value="Magnitude of present input current"/> + <param name="graph-legend" value="Input current"/> + <param name="precedence" value="970"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Input_Current},0.1,*"/> + <param name="vertical-label" value="RMS Amp"/> + </leaf> + + <leaf name="True_Power"> + <param name="comment" value="Magnitude of present input true power"/> + <param name="graph-legend" value="Input true power"/> + <param name="precedence" value="960"/> + <param name="rrd-ds" value="inputTruePower"/> + <param name="snmp-object" value="$upsInputTruePower.%ups-input-idx%"/> + <param name="vertical-label" value="Watts"/> + </leaf> + </template> + + + <template name="ups-output-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="volt,curr,pwr,load"/> + <!-- Voltage --> + <param name="overview-subleave-name-volt" value="Voltage"/> + <param name="overview-shortcut-text-volt" + value="All Voltage"/> + <param name="overview-shortcut-title-volt" + value="Show output voltage for all phases on one page"/> + <param name="overview-page-title-volt" + value="Output Voltage"/> + <!-- Current --> + <param name="overview-subleave-name-curr" value="Current"/> + <param name="overview-shortcut-text-curr" + value="All Current"/> + <param name="overview-shortcut-title-curr" + value="Show output current for all phases on one page"/> + <param name="overview-page-title-curr" + value="Output Current"/> + <!-- Power --> + <param name="overview-subleave-name-pwr" value="Power"/> + <param name="overview-shortcut-text-pwr" + value="All True Power"/> + <param name="overview-shortcut-title-pwr" + value="Show output true power for all phases on one page"/> + <param name="overview-page-title-pwr" + value="Output True Power"/> + <!-- Load --> + <param name="overview-subleave-name-load" value="Load"/> + <param name="overview-shortcut-text-load" + value="All Percentage Load"/> + <param name="overview-shortcut-title-load" + value="Show output load for all phases on one page"/> + <param name="overview-page-title-load" + value="Output Load"/> + </template> + + <template name="ups-output-leaf"> + <param name="data-file" value="%system-id%_output_%ups-output-idx%.rrd"/> + <param name="comment" value="Phase %ups-output-idx% output"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Voltage"> + <param name="comment" value="Present output voltage"/> + <param name="graph-legend" value="Output Voltage"/> + <param name="precedence" value="990"/> + <param name="rrd-ds" value="outputVoltage"/> + <param name="snmp-object" value="$upsOutputVoltage.%ups-output-idx%"/> + <param name="vertical-label" value="RMS Volts"/> + </leaf> + + <leaf name="Output_Current"> + <param name="hidden" value="yes"/> + <param name="comment" value="Present output current"/> + <param name="graph-legend" value="Output Current"/> + <param name="precedence" value="981"/> + <param name="rrd-ds" value="outputCurrent"/> + <param name="snmp-object" value="$upsOutputCurrent.%ups-output-idx%"/> + <param name="vertical-label" value="0.1 RMS Amp"/> + </leaf> + + <leaf name="Current"> + <param name="comment" value="Present output voltage"/> + <param name="graph-legend" value="Output Current"/> + <param name="precedence" value="980"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Output_Current},0.1,*"/> + <param name="vertical-label" value="RMS Amp"/> + </leaf> + + <leaf name="Power"> + <param name="comment" value="Present output true power"/> + <param name="graph-legend" value="Output True Power"/> + <param name="precedence" value="970"/> + <param name="rrd-ds" value="outputTruePower"/> + <param name="snmp-object" value="$upsOutputPower.%ups-output-idx%"/> + <param name="vertical-label" value="Watts"/> + </leaf> + + <leaf name="Load"> + <param name="comment" value="Present capacity used"/> + <param name="graph-legend" value="Capacity load"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="precedence" value="960"/> + <param name="rrd-ds" value="outputLoad"/> + <param name="snmp-object" value="$upsOutputPercentLoad.%ups-output-idx%"/> + <param name="upper-limit" value="100"/> + <param name="vertical-label" value="Percent"/> + </leaf> + </template> + + <template name="ups-bypass-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="volt"/> + <!-- Voltage --> + <param name="overview-subleave-name-volt" value="Voltage"/> + <param name="overview-shortcut-text-volt" + value="All Voltage"/> + <param name="overview-shortcut-title-volt" + value="Show bypass voltage for all phases on one page"/> + <param name="overview-page-title-volt" + value="Bypass Voltage"/> + </template> + + <template name="ups-bypass-leaf"> + <param name="data-file" value="%system-id%_bypass%ups-bypass-idx%.rrd"/> + <param name="comment" value="Phase %ups-bypass-idx% bypass"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Voltage"> + <param name="comment" value="Present bypass voltage"/> + <param name="graph-legend" value="Output Voltage"/> + <param name="precedence" value="990"/> + <param name="rrd-ds" value="bypassVoltage"/> + <param name="snmp-object" value="$upsBypassVoltage.%ups-bypass-idx%"/> + <param name="vertical-label" value="RMS Volts"/> + </leaf> + </template> + +</datasources> +</configuration> diff --git a/torrus/xmlconfig/generic/rfc1697.rdbms.xml b/torrus/xmlconfig/generic/rfc1697.rdbms.xml new file mode 100644 index 000000000..b5708a7f2 --- /dev/null +++ b/torrus/xmlconfig/generic/rfc1697.rdbms.xml @@ -0,0 +1,211 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + + Authors: Shawn Ferry + + $Id: rfc1697.rdbms.xml,v 1.1 2010-12-27 00:04:29 ivan Exp $ +--> +<configuration> + <definitions> + <!-- rdbmsDbTable --> + <def name="rdbmsDbName" value="1.3.6.1.2.1.39.1.1.1.4"/> + + <!-- rdbmsDbInfoTable --> + <def name="rdbmsDbInfoSizeAllocated" value="1.3.6.1.2.1.39.1.2.1.4"/> + <def name="rdbmsDbInfoSizeUsed" value="1.3.6.1.2.1.39.1.2.1.5"/> + + <!-- rdbmsDbSrvInfoTable --> + <def name="rdbmsSrvInfoFinishedTransactions" + value="1.3.6.1.2.1.39.1.6.1.2"/> + <def name="rdbmsSrvInfoDiskReads" value="1.3.6.1.2.1.39.1.6.1.3"/> + <def name="rdbmsSrvInfoLogicalReads" value="1.3.6.1.2.1.39.1.6.1.4"/> + <def name="rdbmsSrvInfoDiskWrites" value="1.3.6.1.2.1.39.1.6.1.5"/> + <def name="rdbmsSrvInfoLogicalWrites" value="1.3.6.1.2.1.39.1.6.1.6"/> + <def name="rdbmsSrvInfoPageReads" value="1.3.6.1.2.1.39.1.6.1.7"/> + <def name="rdbmsSrvInfoPageWrites" value="1.3.6.1.2.1.39.1.6.1.8"/> + <def name="rdbmsSrvInfoRequestsHandled" value="1.3.6.1.2.1.39.1.6.1.10"/> + + <!-- Network Services applTable --> + <def name="applInboundAssociations" value="1.3.6.1.2.1.27.1.1.8"/> + + <def name="DB_IDX" + value="M($rdbmsDbName,%dbName%)"/> + </definitions> + + <datasources> + + <template name="rdbms-dbtable"> + <subtree name="DB_Stats"> + <param name="precedence" value="1000"/> + <param name="data-file" + value="%system-id%_%vendor%_%dbName%_RDBMS.rrd"/> + <param name="rrd-hwpredict" value="disabled" /> + <leaf name="DB_Allocated"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="collector-scale" value="%dbSizeUnits%,*"/> + <param name="snmp-object" value="$rdbmsDbInfoSizeAllocated.$DB_IDX"/> + <param name="rrd-ds" value="dbAllocated"/> + <param name="comment" value="Space Allocated to this Database"/> + <param name="graph-legend" value="Allocated Space"/> + <param name="vertical-label" value="Bytes"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Allocated Space"/> + </leaf> + <leaf name="DB_Used"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="collector-scale" value="%dbSizeUnits%,*"/> + <param name="snmp-object" value="$rdbmsDbInfoSizeAllocated.$DB_IDX"/> + <param name="rrd-ds" value="dbUsed"/> + <param name="comment" value="Space Allocated to this Database"/> + <param name="graph-legend" value="Used Space"/> + <param name="vertical-label" value="Bytes"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Used Space"/> + </leaf> + <leaf name="DB_Finished_Transactions"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" + value="$rdbmsSrvInfoFinishedTransactions.$DB_IDX"/> + <param name="rrd-ds" value="FinishedTrans"/> + <param name="comment" value="Finished Transactions (COMMIT/ABORT)"/> + <param name="graph-legend" value="Transactions/s"/> + <param name="vertical-label" value="Transactions"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Finished Transactions"/> + </leaf> + <leaf name="DB_Disk_Reads"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" value="$rdbmsSrvInfoDiskReads.$DB_IDX"/> + <param name="rrd-ds" value="DiskReads"/> + <param name="comment" value="Disk Reads/s"/> + <param name="graph-legend" value="Disk Reads"/> + <param name="vertical-label" value="Disk Reads/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Disk Reads/s"/> + </leaf> + <leaf name="DB_Logical_Reads"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" value="$rdbmsSrvInfoLogicalReads.$DB_IDX"/> + <param name="rrd-ds" value="LogicalReads"/> + <param name="comment" value="Logical Reads/s"/> + <param name="graph-legend" value="Logical Reads"/> + <param name="vertical-label" value="Logical Reads/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Logical Reads/s"/> + </leaf> + <leaf name="DB_Disk_Writes"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" value="$rdbmsSrvInfoDiskWrites.$DB_IDX"/> + <param name="rrd-ds" value="DiskWrites"/> + <param name="comment" value="Disk Writes/s"/> + <param name="graph-legend" value="Writes"/> + <param name="vertical-label" value="Writes/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Disk Writes/s"/> + </leaf> + <leaf name="DB_Logical_Writes"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" + value="$rdbmsSrvInfoLogicalWrites.$DB_IDX"/> + <param name="rrd-ds" value="LogicalWrites"/> + <param name="comment" value="Logical Writes/s"/> + <param name="graph-legend" value="Logical Writes"/> + <param name="vertical-label" value="Logical Writes/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Logical Writes/s"/> + </leaf> + <leaf name="DB_Page_Writes"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" value="$rdbmsSrvInfoPageWrites.$DB_IDX"/> + <param name="rrd-ds" value="PageWrites"/> + <param name="comment" value="Page Writes/s"/> + <param name="graph-legend" value="Page Writes"/> + <param name="vertical-label" value="Page Writes/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Page Writes/s"/> + </leaf> + <leaf name="DB_Page_Reads"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" value="$rdbmsSrvInfoPageReads.$DB_IDX"/> + <param name="rrd-ds" value="PageReads"/> + <param name="comment" value="Page Reads/s"/> + <param name="graph-legend" value="Page Reads"/> + <param name="vertical-label" value="Page Reads/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Page Reads/s"/> + </leaf> + <leaf name="DB_Request_Rate"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object" + value="$rdbmsSrvInfoRequestsHandled.$DB_IDX"/> + <param name="rrd-ds" value="RequestsHandled"/> + <param name="comment" value="Requests Handled/s"/> + <param name="graph-legend" value="Requests Handled"/> + <param name="vertical-label" value="Requests Handled/s"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Requests Handled/s"/> + </leaf> + <leaf name="DB_Inbound_Associations"> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="no"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="snmp-object" value="$applInboundAssociations.$DB_IDX"/> + <param name="rrd-ds" value="InboundAssociations"/> + <param name="comment" value="Inbound Associations"/> + <param name="graph-legend" value="Inbound Associations"/> + <param name="vertical-label" value="Inbound Associations"/> + <param name="descriptive-nickname" + value="%system-id%:%snmp-host% %dbName% Inbound Associations"/> + </leaf> + </subtree> + </template> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/generic/rfc2662.adsl-line.xml b/torrus/xmlconfig/generic/rfc2662.adsl-line.xml new file mode 100644 index 000000000..1c1ac1317 --- /dev/null +++ b/torrus/xmlconfig/generic/rfc2662.adsl-line.xml @@ -0,0 +1,247 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Gord Philpott <gphilpot@mnsi.net> + Copyright (C) 2003 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2662.adsl-line.xml,v 1.1 2010-12-27 00:04:29 ivan Exp $ +--> + + +<!-- + RFC 2662 (ADSL-LINE-MIB) + Definitions of Managed Objects for the ADSL Lines + + Tested with: + Paradyne Hotwire ATM ADSL Line Card; + Model: 8365-B1-000; S/W Release: 02.03.54 +--> + + +<configuration> + +<definitions> + <!-- ADSL-LINE-MIB --> + <def name="adslAtucCurrSnrMgn" value="1.3.6.1.2.1.10.94.1.1.2.1.4" /> + <def name="adslAtucCurrAtn" value="1.3.6.1.2.1.10.94.1.1.2.1.5" /> + <def name="adslAtucCurrAttainableRate" value="1.3.6.1.2.1.10.94.1.1.2.1.8" /> + <def name="adslAtucChanCurrTxRate" value="1.3.6.1.2.1.10.94.1.1.4.1.2" /> + + <def name="adslAturCurrSnrMgn" value="1.3.6.1.2.1.10.94.1.1.3.1.4" /> + <def name="adslAturCurrAtn" value="1.3.6.1.2.1.10.94.1.1.3.1.5" /> + <def name="adslAturCurrAttainableRate" value="1.3.6.1.2.1.10.94.1.1.3.1.8" /> + <def name="adslAturChanCurrTxRate" value="1.3.6.1.2.1.10.94.1.1.5.1.2" /> +</definitions> + +<datasources> + + <template name="adsl-line-interface"> + + <param name="rrd-hwpredict" value="disabled" /> + + <!-- ******* Start: ATUC and ATUR SNR Margin ******* --> + <leaf name="Atuc_SnrMgn"> + <param name="comment" value="ATUC SNR Margin" /> + <param name="snmp-object" value="$adslAtucCurrSnrMgn.%ifindex-map%" /> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="AtucSnrMgn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Atur_SnrMgn"> + <param name="comment" value="ATUR SNR Margin" /> + <param name="snmp-object" value="$adslAturCurrSnrMgn.%ifindex-map%" /> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="AturSnrMgn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="SNR_Margin"> <!-- Multiple line graph --> + <param name="comment" value="ATUC and ATUR SNR Margin" /> + <param name="precedence" value="100" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="atuc,atur" /> + + <param name="ds-expr-atuc" value="{Atuc_SnrMgn}" /> + <param name="graph-legend-atuc" value="ATUC SNR Margin" /> + <param name="line-style-atuc" value="##nearend" /> + <param name="line-color-atuc" value="##nearend" /> + <param name="line-order-atuc" value="1" /> + + <param name="ds-expr-atur" value="{Atur_SnrMgn}" /> + <param name="graph-legend-atur" value="ATUR SNR Margin" /> + <param name="line-style-atur" value="##farend" /> + <param name="line-color-atur" value="##farend" /> + <param name="line-order-atur" value="2" /> + + <param name="vertical-label" value="dB" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + <!-- ******* End: ATUC and ATUR SNR Margin ******* --> + + <!-- ******* Start: ATUC and ATUR Attenuation ******* --> + <leaf name="Atuc_Atn"> + <param name="comment" value="ATUC Attenuation" /> + <param name="snmp-object" value="$adslAtucCurrAtn.%ifindex-map%" /> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="AtucAtn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Atur_Atn"> + <param name="comment" value="ATUR Attenuation" /> + <param name="snmp-object" value="$adslAturCurrAtn.%ifindex-map%" /> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="AturAtn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Attenuation"> <!-- Multiple line graph --> + <param name="comment" value="ATUC and ATUR Attenuation" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="atuc,atur" /> + + <param name="ds-expr-atuc" value="{Atuc_Atn}" /> + <param name="graph-legend-atuc" value="ATUC SNR Margin" /> + <param name="line-style-atuc" value="##nearend" /> + <param name="line-color-atuc" value="##nearend" /> + <param name="line-order-atuc" value="1" /> + + <param name="ds-expr-atur" value="{Atur_Atn}" /> + <param name="graph-legend-atur" value="ATUR SNR Margin" /> + <param name="line-style-atur" value="##farend" /> + <param name="line-color-atur" value="##farend" /> + <param name="line-order-atur" value="2" /> + + <param name="vertical-label" value="dB" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + <!-- ******* End: ATUC and ATUR SNR Margin ******* --> + + + <!-- ******* Start: ATUC Attainable Rates ******* --> + <leaf name="Atuc_AttainableRate"> + <param name="comment" value="ATUC Attainable Rate" /> + <param name="snmp-object" + value="$adslAtucCurrAttainableRate.%ifindex-map%" /> + <param name="rrd-ds" value="AtucAttainableRate" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="graph-legend" value="ATUC Attainable Rate" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Atuc_CurrTxRate"> + <param name="comment" value="ATUC Current TX Rate" /> + <param name="snmp-object" + value="$adslAtucChanCurrTxRate.%ifindex-map%" /> + <param name="rrd-ds" value="AtucCurrTxRate" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="graph-legend" value="ATUC Curr TX Rate" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="ATUC_TX_Rates"> <!-- Multiple line graph --> + <param name="comment" value="ATUC TX Rates" /> + <param name="precedence" value="90" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="attain,curr" /> + + <param name="ds-expr-attain" value="{Atuc_AttainableRate}" /> + <param name="graph-legend-attain" value="ATUC Attainable Rate" /> + <param name="line-style-attain" value="##maxvalue" /> + <param name="line-color-attain" value="##maxvalue" /> + <param name="line-order-attain" value="1" /> + + <param name="ds-expr-curr" value="{Atuc_CurrTxRate}" /> + <param name="graph-legend-curr" value="ATUC Curr TX Rate" /> + <param name="line-style-curr" value="##currvalue" /> + <param name="line-color-curr" value="##currvalue" /> + <param name="line-order-curr" value="2" /> + + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + <!-- ******* End: ATUC TX Rates ******* --> + + <!-- ******* Start: ATUR TX Rates ******* --> + <leaf name="Atur_AttainableRate"> + <param name="comment" value="ATUR Attainable Rate" /> + <param name="snmp-object" + value="$adslAturCurrAttainableRate.%ifindex-map%" /> + <param name="rrd-ds" value="AturAttainableRate" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="graph-legend" value="ATUR Attainable Rate" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Atur_CurrTxRate"> + <param name="comment" value="ATUR Current TX Rate" /> + <param name="snmp-object" + value="$adslAturChanCurrTxRate.%ifindex-map%" /> + <param name="rrd-ds" value="AturCurrTxRate" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_adsl-stats.rrd" /> + <param name="graph-legend" value="ATUR Current TX Rate" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="ATUR_TX_Rates"> <!-- Multiple line graph --> + <param name="comment" value="ATUR TX Rates" /> + <param name="precedence" value="70" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="attain,curr" /> + + <param name="ds-expr-attain" value="{Atur_AttainableRate}" /> + <param name="graph-legend-attain" value="ATUR Attainable Rate" /> + <param name="line-style-attain" value="##maxvalue" /> + <param name="line-color-attain" value="##maxvalue" /> + <param name="line-order-attain" value="1" /> + + <param name="ds-expr-curr" value="{Atur_CurrTxRate}" /> + <param name="graph-legend-curr" value="ATUR Curr TX Rate" /> + <param name="line-style-curr" value="##currvalue" /> + <param name="line-color-curr" value="##currvalue" /> + <param name="line-order-curr" value="2" /> + + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + <!-- ******* End: ATUR TX Rates ******* --> + + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/generic/rfc2670.docsis-if.xml b/torrus/xmlconfig/generic/rfc2670.docsis-if.xml new file mode 100644 index 000000000..7756ca641 --- /dev/null +++ b/torrus/xmlconfig/generic/rfc2670.docsis-if.xml @@ -0,0 +1,347 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2670.docsis-if.xml,v 1.1 2010-12-27 00:04:30 ivan Exp $ + Roman Hochuli <roman@hochu.li> + Stanislav Sinyagin <ssinyagin@yahoo.com> + + SEE ALSO: xmlconfig/examples/docsis-monitors.xml + +--> + +<configuration> + +<definitions> + <!-- DOCS-IF-MIB::docsIfSignalQualityTable --> + <def name="docsIfSigQUnerroreds" value="1.3.6.1.2.1.10.127.1.1.4.1.2"/> + <def name="docsIfSigQCorrecteds" value="1.3.6.1.2.1.10.127.1.1.4.1.3"/> + <def name="docsIfSigQUncorrectables" value="1.3.6.1.2.1.10.127.1.1.4.1.4"/> + <def name="docsIfSigQSignalNoise" value="1.3.6.1.2.1.10.127.1.1.4.1.5"/> + + <!-- DOCS-IF-MIB::docsIfUpstreamChannelTable --> + <def name="docsIfUpChannelFrequency" value="1.3.6.1.2.1.10.127.1.1.2.1.2"/> + + <!-- DOCS-IF-MIB::docsIfCmtsDownChannelCounterTable --> + <def name="docsIfCmtsDownChnlCtrExtTotalBytes" + value="1.3.6.1.2.1.10.127.1.3.10.1.4"/> + <def name="docsIfCmtsDownChnlCtrExtUsedBytes" + value="1.3.6.1.2.1.10.127.1.3.10.1.5"/> +</definitions> + +<datasources> + + <template name="docsis-subtree-common"> + <!-- nodeid-docsif is overwritten by devdiscover at the + interface level. This definition is here for backward compatibility + with older discovery results or for systems which do not use + devdiscover --> + <param name="nodeid-docsif" + value="docs//%nodeid-device%//%interface-nick%//"/> + </template> + + + <template name="docsis-upstream-subtree"> + <apply-template name="docsis-subtree-common"/> + <param name="precedence" value="-500" /> + <param name="comment" value="DOCSIS upstream channel statistics" /> + <param name="data-file"> + %system-id%_%interface-nick%_docsis_upstream.rrd + </param> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="snr,fec,freq"/> + + <param name="overview-subleave-name-snr" value="SNR"/> + <param name="overview-direct-link-snr" value="yes"/> + <param name="overview-direct-link-view-snr" value="expanded-dir-html"/> + <param name="overview-shortcut-text-snr" + value="All SNR"/> + <param name="overview-shortcut-title-snr" + value="Show signal quality graphs for all upstreams in one page"/> + <param name="overview-page-title-snr" + value="SNR Graphs"/> + + <param name="overview-subleave-name-fec" value="FEC_Summary"/> + <param name="overview-direct-link-fec" value="yes"/> + <param name="overview-direct-link-view-fec" value="expanded-dir-html"/> + <param name="overview-shortcut-text-fec" + value="All FEC"/> + <param name="overview-shortcut-title-fec" + value="Show FEC statistics for all upstreams in one page"/> + <param name="overview-page-title-fec" + value="FEC Graphs"/> + + <param name="overview-subleave-name-freq" value="Frequency"/> + <param name="overview-direct-link-freq" value="yes"/> + <param name="overview-direct-link-view-freq" value="expanded-dir-html"/> + <param name="overview-shortcut-text-freq" + value="All Frequency"/> + <param name="overview-shortcut-title-freq" + value="Show all upstream frequenciesin one page"/> + <param name="overview-page-title-freq" + value="Upstream frequency Graphs"/> + + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <template name="docsis-signal-quality-codewords"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="vertical-label" value="Codewords/s" /> + <param name="graph-lower-limit" value="0" /> + </template> + + <template name="docsis-upstream-stats"> + <leaf name="SNR"> + <param name="snmp-object" value="$docsIfSigQSignalNoise.%ifindex-map%"/> + + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-ds" value="SNR" /> + <param name="collector-scale" value="10,/" /> + + <param name="comment" value="Signal/Noise Ratio" /> + <param name="graph-legend" value="Signal/Noise Ratio" /> + <param name="vertical-label" value="dB" /> + + <param name="normal-level" value="25" /> + <param name="lower-limit" value="18" /> + <param name="graph-lower-limit" value="10" /> + <param name="graph-upper-limit" value="30" /> + + <param name="precedence" value="1000" /> + + <!-- This monitor may be redefined by + DocsisUpSNRMonitor selector action --> + <param name="monitor" value="docsis-snr-lower-20db" /> + + <param name="nodeid" value="%nodeid-docsif%//snr"/> + </leaf> + + + <leaf name="FEC_Summary"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="corr,uncorr" /> + <param name="nodeid" value="%nodeid-docsif%//fec"/> + + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + + <param name="precedence" value="950" /> + <param name="comment" + value="Reed-Solomon forward error correction (FEC) summary" /> + <param name="vertical-label" value="Percent" /> + + <param name="ds-expr-corr"> + {Correctable},{Error-Free},{Correctable},{Uncorrectable},+,+,/,100,* + </param> + <param name="graph-legend-corr" value="Correctable Codewords" /> + <param name="line-style-corr" value="##SingleGraph" /> + <param name="line-color-corr" value="##green" /> + <param name="line-order-corr" value="1" /> + + <param name="ds-expr-uncorr"> + {Uncorrectable},{Error-Free},{Correctable},{Uncorrectable},+,+,/,100,* + </param> + <param name="graph-legend-uncorr" value="Uncorrectable Codewords" /> + <param name="line-style-uncorr" value="##SingleGraph" /> + <param name="line-color-uncorr" value="##red" /> + <param name="line-order-uncorr" value="2" /> + </leaf> + + <leaf name="Error-Free"> + <apply-template name="docsis-signal-quality-codewords"/> + <param name="snmp-object" value="$docsIfSigQUnerroreds.%ifindex-map%"/> + <param name="rrd-ds" value="Unerroreds" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="FEC codewords received on this channel without error"/> + <param name="graph-legend" value="Error-free Codewords" /> + <param name="precedence" value="900" /> + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + </leaf> + + <leaf name="Correctable"> + <apply-template name="docsis-signal-quality-codewords"/> + <param name="snmp-object" value="$docsIfSigQCorrecteds.%ifindex-map%"/> + <param name="rrd-ds" value="Correcteds" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="FEC codewords received on this channel correctable errors"/> + <param name="graph-legend" value="Correctable Codewords" /> + <param name="precedence" value="800" /> + <param name="monitor-action-target" value="FEC_Summary"/> + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + </leaf> + + <leaf name="Uncorrectable"> + <apply-template name="docsis-signal-quality-codewords"/> + <param name="snmp-object" + value="$docsIfSigQUncorrectables.%ifindex-map%"/> + <param name="rrd-ds" value="Uncorrectables" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="FEC codewords received on this channel uncorrectable errors"/> + <param name="graph-legend" value="Uncorrectable Codewords" /> + <param name="precedence" value="700" /> + <param name="monitor-action-target" value="FEC_Summary"/> + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + </leaf> + + <leaf name="Frequency"> + <param name="snmp-object" + value="$docsIfUpChannelFrequency.%ifindex-map%"/> + <param name="rrd-ds" value="Frequency" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Hz" /> + <param name="comment" + value="Upstream frequency"/> + <param name="graph-legend" value="Frequency" /> + <param name="precedence" value="600" /> + <param name="nodeid" value="%nodeid-docsif%//frequency"/> + </leaf> + </template> + + + + <template name="docsis-downstream-subtree"> + <apply-template name="docsis-subtree-common"/> + <param name="precedence" value="-500" /> + <param name="comment" value="DOCSIS downstream statistics" /> + <param name="data-file"> + %system-id%_%interface-nick%_docsis_downstream.rrd + </param> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="util"/> + <param name="overview-subleave-name-util" value="Utilization"/> + <param name="overview-direct-link-util" value="yes"/> + <param name="overview-direct-link-view-util" value="expanded-dir-html"/> + <param name="overview-shortcut-text-util" + value="All Utilization"/> + <param name="overview-shortcut-title-util" + value="Show utilization graphs for all downstreams in one page"/> + <param name="overview-page-title-util" + value="Downstream Utilization Graphs"/> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + + <template name="docsis-downstream-util"> + <leaf name="Utilization"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="util" /> + <param name="nodeid" value="%nodeid-docsif%//util"/> + + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + + <param name="precedence" value="950" /> + <param name="comment" + value="Downstream channel utilization" /> + <param name="vertical-label" value="Percent" /> + + <param name="ds-expr-util"> + {UsedBytes},{TotalBytes},/,100,* + </param> + <param name="graph-legend-util" value="Utilization" /> + <param name="line-style-util" value="##resourceusage" /> + <param name="line-color-util" value="##resourceusage" /> + <param name="line-order-util" value="1" /> + </leaf> + + <leaf name="TotalBytes"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="Bytes/s" /> + <param name="graph-lower-limit" value="0" /> + <param name="snmp-object" + value="$docsIfCmtsDownChnlCtrExtTotalBytes.%ifindex-map%"/> + <param name="rrd-ds" value="TotalBytes" /> + <param name="hidden" value="yes"/> + <param name="comment"> + The total number of bytes in the Payload portion + </param> + <param name="graph-legend" value="Total Bytes" /> + <param name="precedence" value="800" /> + </leaf> + + <leaf name="UsedBytes"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="Bytes/s" /> + <param name="graph-lower-limit" value="0" /> + <param name="snmp-object" + value="$docsIfCmtsDownChnlCtrExtUsedBytes.%ifindex-map%"/> + <param name="rrd-ds" value="UsedBytes" /> + <param name="hidden" value="yes"/> + <param name="comment"> + The total number of DOCSIS data bytes transported by this downstream + channel + </param> + <param name="graph-legend" value="Used Bytes" /> + <param name="precedence" value="800" /> + <param name="monitor-action-target" value="Utilization"/> + </leaf> + </template> + +</datasources> + +<monitors> + + <monitor name="docsis-snr-lower-20db"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr" value="DUP,0,GT,EXC,20,LT,AND" /> + <param name="action" value="docsis-snr-lower-20" /> + <param name="expires" value="3600" /> + <param name="comment"> + Signal/Noise-Ratio was lower than 20dB + </param> + </monitor> + + <action name="docsis-snr-lower-20"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="docsis-snr-lower-20" /> + </action> + +</monitors> + +<token-sets> + <token-set name="docsis-snr-lower-20"> + <param name="comment" value="S/N Ratio less than 20dB" /> + </token-set> +</token-sets> + +</configuration> diff --git a/torrus/xmlconfig/generic/rfc2790.host-resources.xml b/torrus/xmlconfig/generic/rfc2790.host-resources.xml new file mode 100644 index 000000000..ed54013be --- /dev/null +++ b/torrus/xmlconfig/generic/rfc2790.host-resources.xml @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2003 Shawn Ferry, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + + Authors: Shawn Ferry, Stanislav Sinyagin + Vendor: HOST-RESOURCES-MIB + + $Id: rfc2790.host-resources.xml,v 1.1 2010-12-27 00:04:31 ivan Exp $ + @(#) 10/18/03 rfc2790.host-resources.xml 1.10 (10/18/03 19:24:09) sferry +--> +<!-- + + NOTE: Graphing of storage data is not working as expected. + +--> +<!-- + Generic MIB definitions and templates for: + + The templates defined in this file should work with any + snmp implementation supporting: + + HOST-RESOURCES-MIB (RFC 2790) + --> +<configuration> + <definitions> + <!-- HOST-RESOURCES-MIB --> + <def name="hrSystemUptime" value="1.3.6.1.2.1.25.1.1.0"/> + <def name="hrSystemNumUsers" value="1.3.6.1.2.1.25.1.5.0"/> + <def name="hrSystemProcesses" value="1.3.6.1.2.1.25.1.6.0"/> + <def name="hrSystemMaxProcesses" value="1.3.6.1.2.1.25.1.7.0"/> + <def name="hrMemorySize" value="1.3.6.1.2.1.25.2.2.0"/> + <!-- HOST-RESOURCES-MIB hrStorageTable --> + <def name="hrStorageDescr" value="1.3.6.1.2.1.25.2.3.1.3"/> + <!-- The size in bytes of each allocated unit --> + <def name="hrStorageAllocationUnits" value="1.3.6.1.2.1.25.2.3.1.4"/> + <!-- Size in Allocation units --> + <def name="hrStorageSize" value="1.3.6.1.2.1.25.2.3.1.5"/> + <!-- Size in Allocation units --> + <def name="hrStorageUsed" value="1.3.6.1.2.1.25.2.3.1.6"/> + <def name="hrStorageAllocationFailures" value="1.3.6.1.2.1.25.2.3.1.7"/> + <def name="hrStorage_IDX" + value="M($hrStorageDescr,%storage-description%)"/> + </definitions> + + <datasources> + + <template name="hr-system-performance-subtree"> + <param name="comment" value="System, CPU and memory statistics" /> + <param name="devdiscover-nodetype" + value="RFC2790_HOST_RESOURCES::sysPerf" /> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <template name="hr-system-uptime"> + <leaf name="hrSystemUptime"> + <param name="data-file" value="%system-id%_hrSysUptime.rrd"/> + <param name="leaf-type" value="rrd-def"/> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$hrSystemUptime"/> + <param name="rrd-ds" value="hrSystemUptime"/> + <param name="rrd-cf" value="LAST"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" + value="System Uptime in Ticks (1/100th Second)"/> + <param name="graph-legend" value="Uptime in Ticks"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-rra" value="RRA:LAST:0:1:10080"/> + </leaf> + <leaf name="Uptime"> + <param name="vertical-label" value="Days"/> + <param name="comment" value="Uptime"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="Days"/> + <!-- Days --> + <param name="ds-expr-Days"> + {hrSystemUptime},8640000,/ + </param> + <param name="graph-legend-Days" value="Days"/> + <param name="line-style-Days" value="AREA"/> + <param name="line-color-Days" value="##green"/> + <param name="line-order-Days" value="3"/> + </leaf> + </template> + + <template name="hr-system-num-users"> + <leaf name="Users"> + <param name="data-file" value="%system-id%_hrSystem.rrd"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$hrSystemNumUsers"/> + <param name="rrd-ds" value="hrSystemNumUsers"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Number of Users on the System"/> + <param name="vertical-label" value="Count"/> + <param name="graph-legend" value="Users"/> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <template name="hr-system-processes"> + <leaf name="Processes"> + <param name="data-file" value="%system-id%_hrSystem.rrd"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$hrSystemProcesses"/> + <param name="rrd-ds" value="hrSystemProcesses"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Number of Processes"/> + <param name="graph-legend" value="Processes"/> + <param name="vertical-label" value="Count"/> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <template name="hr-storage-subtree"> + <param name="comment" value="Storage Devices Usage" /> + <param name="devdiscover-nodetype" + value="RFC2790_HOST_RESOURCES::storageUsed" /> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%storage-nick%" /> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <template name="hr-storage-usage"> + <param name="data-file" value="%system-id%_%storage-nick%_usage.rrd"/> + <param name="comment" value="Storage space used"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$hrStorageUsed.$hrStorage_IDX"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="rrd-ds" value="hrStorageUsed"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="graph-legend" value="Space Used"/> + <param name="vertical-label" value="Bytes"/> + <param name="graph-lower-limit" value="0" /> + </template> + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/generic/rfc2863.if-mib.xml b/torrus/xmlconfig/generic/rfc2863.if-mib.xml new file mode 100644 index 000000000..faa8dfeb9 --- /dev/null +++ b/torrus/xmlconfig/generic/rfc2863.if-mib.xml @@ -0,0 +1,538 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2863.if-mib.xml,v 1.1 2010-12-27 00:04:30 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + RFC2863 IF-MIB definitions +--> + +<configuration> + +<param-properties> + <!-- Parameters which are included in search DB --> + <prop param="interface-name" prop="search" value="1"/> + <prop param="interface-macaddr" prop="search" value="1"/> + <prop param="interface-macaddr" prop="search" value="1"/> + <prop param="interface-nick" prop="search" value="1"/> + +</param-properties> + + +<definitions> + <!-- IF-MIB:ifTable --> + <def name="ifDescr" value="1.3.6.1.2.1.2.2.1.2" /> + <def name="ifSpeed" value="1.3.6.1.2.1.2.2.1.5" /> + <def name="ifPhysAddress" value="1.3.6.1.2.1.2.2.1.6" /> + <def name="ifInOctets" value="1.3.6.1.2.1.2.2.1.10" /> + <def name="ifInUcastPkts" value="1.3.6.1.2.1.2.2.1.11" /> + <def name="ifInDiscards" value="1.3.6.1.2.1.2.2.1.13" /> + <def name="ifInErrors" value="1.3.6.1.2.1.2.2.1.14" /> + <def name="ifOutOctets" value="1.3.6.1.2.1.2.2.1.16" /> + <def name="ifOutUcastPkts" value="1.3.6.1.2.1.2.2.1.17" /> + <def name="ifOutDiscards" value="1.3.6.1.2.1.2.2.1.19" /> + <def name="ifOutErrors" value="1.3.6.1.2.1.2.2.1.20" /> + + <!-- IF-MIB:ifXTable --> + <def name="ifName" value="1.3.6.1.2.1.31.1.1.1.1" /> + <def name="ifHCInOctets" value="1.3.6.1.2.1.31.1.1.1.6" /> + <def name="ifHCInUcastPkts" value="1.3.6.1.2.1.31.1.1.1.7" /> + <def name="ifHCOutOctets" value="1.3.6.1.2.1.31.1.1.1.10" /> + <def name="ifHCOutUcastPkts" value="1.3.6.1.2.1.31.1.1.1.11" /> + + <!-- RFC1213-MIB:ipAddrTable --> + <def name="ipAdEntIfIndex" value="1.3.6.1.2.1.4.20.1.2" /> + + <!-- Interface indices --> + <def name="IFIDX_DESCR" value="M($ifDescr, %interface-name%)" /> + <def name="IFIDX_MAC" value="M($ifPhysAddress, %interface-macaddr%)" /> + <def name="IFIDX_IP" value="V(ipAdEntIfIndex.%interface-ipaddr%)" /> + <def name="IFIDX_IFINDEX" value="%interface-index%" /> + +</definitions> + +<datasources> + + <!-- Some parameters need to be at host level --> + <template name="rfc2863-ifmib-hostlevel"> + <param name="ifindex-map" value="M(%ifindex-table%, %interface-name%)"/> + <param name="ifindex-table" value="$ifDescr" /> + + <!-- nodeid-interface is overwritten by devdiscover at the + interface level. This definition is here for backward compatibility + with older discovery results or for systems which do not use + devdiscover --> + <param name="nodeid-interface" + value="if//%nodeid-device%//%interface-nick%//"/> + + </template> + + <!-- Parameters for interfaces parent subtree --> + <template name="rfc2863-ifmib-subtree"> + <param name="node-display-name" value="Interfaces"/> + <param name="comment" value="Interface traffic and error counters"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="traffic,errors"/> + + <param name="overview-subleave-name-traffic" value="InOut_bps"/> + <param name="overview-shortcut-text-traffic" + value="All traffic"/> + <param name="overview-shortcut-title-traffic" + value="Show traffic for all interfaces on one page"/> + <param name="overview-page-title-traffic" + value="Input/Output Graphs"/> + + <param name="overview-subleave-name-errors" + value="Discards_In,Discards_Out,Errors_In,Errors_Out"/> + <param name="overview-shortcut-text-errors" + value="All errors"/> + <param name="overview-shortcut-title-errors" + value="Show all interface errors on one page"/> + <param name="overview-page-title-errors" + value="Interface errors"/> + + <param name="overview-subleave-name-bandwidth" + value="Bandwidth_Usage"/> + <param name="overview-shortcut-text-bandwidth" + value="All bandwidth"/> + <param name="overview-shortcut-title-bandwidth" + value="Show all bandwidth usage on one page"/> + <param name="overview-page-title-bandwidth" + value="Bandwidth usage"/> + + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="data-file" value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="graph-title" value="%descriptive-nickname%" /> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="help-text"> + The default view shows the device's network interfaces for which + the traffic statistics are available. Expanded view can be seen by + clicking the [%em('Show InOut_bps for all interfaces')%] shortcut. + It would show input/output graphs for all interfaces on a single page. + </param> + </template> + + <template name="iftable-octets"> + <leaf name="Bytes_In"> + <param name="snmp-object" value="$ifInOctets.%ifindex-map%" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="ext-dstype" value="COUNTER32" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="990" /> + <param name="monitor-action-target" value="InOut_bps"/> + <param name="nodeid" value="%nodeid-interface%//inbytes"/> + </leaf> + + <leaf name="Bytes_Out"> + <param name="snmp-object" value="$ifOutOctets.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="ext-dstype" value="COUNTER32" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="980" /> + <param name="monitor-action-target" value="InOut_bps"/> + <param name="nodeid" value="%nodeid-interface%//outbytes"/> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="nodeid" value="%nodeid-interface%//inoutbit"/> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bytes_In},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bytes_Out},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + <!-- Some interface instances (e.g. serial subinterfaces in Coisco routers) + don't have UcastPkts and Errors counters --> + + <template name="iftable-ucast-packets"> + <leaf name="Packets_In"> + <param name="snmp-object" value="$ifInUcastPkts.%ifindex-map%" /> + <param name="rrd-ds" value="ifInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="890" /> + <param name="nodeid" value="%nodeid-interface%//inpackets"/> + </leaf> + + <leaf name="Packets_Out"> + <param name="snmp-object" value="$ifOutUcastPkts.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="880" /> + <param name="nodeid" value="%nodeid-interface%//outpackets"/> + </leaf> + </template> + + <template name="iftable-discards-in"> + <leaf name="Discards_In"> + <param name="snmp-object" value="$ifInDiscards.%ifindex-map%" /> + <param name="rrd-ds" value="ifInDiscards" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Input discards for the interface" /> + <param name="graph-legend" value="Discards in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="790" /> + <param name="nodeid" value="%nodeid-interface%//indrops"/> + <param name="help-text"> + Input discards may occur when the packets arrive from the interface + media, and the router is not able to process them. This can possibly + occur because of performance problems. + </param> + </leaf> + </template> + + <template name="iftable-discards-out"> + <leaf name="Discards_Out"> + <param name="snmp-object" value="$ifOutDiscards.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutDiscards" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Output discards for the interface" /> + <param name="graph-legend" value="Discards out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="780" /> + <param name="nodeid" value="%nodeid-interface%//outdrops"/> + <param name="help-text"> + Output discards may occur when the router has prepared packets for + transmission, but the interface is not able to send them. This + may happen because of not enough available bandwidth on + the output interface. + </param> + </leaf> + </template> + + <template name="iftable-errors-in"> + <leaf name="Errors_In"> + <param name="snmp-object" value="$ifInErrors.%ifindex-map%" /> + <param name="rrd-ds" value="ifInErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Input errors for the interface" /> + <param name="graph-legend" value="Errors in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="690" /> + <param name="nodeid" value="%nodeid-interface%//inerr"/> + <param name="help-text"> + Input errors usually mean that the interface receives broken packets + from the media. This migh be caused by problems with the physical + condition of the transmission media, or elecrical interference. + </param> + </leaf> + </template> + + <template name="iftable-errors-out"> + <leaf name="Errors_Out"> + <param name="snmp-object" value="$ifOutErrors.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Output errors for the interface" /> + <param name="graph-legend" value="Errors out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="680" /> + <param name="nodeid" value="%nodeid-interface%//outerr"/> + <param name="help-text"> + Output errors occur when the interface is not able to send packets + to the media for some reasons. + </param> + </leaf> + </template> + + + <template name="ifxtable-hcoctets"> + <leaf name="Bytes_In"> + <param name="snmp-object" value="$ifHCInOctets.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="ext-dstype" value="COUNTER64" /> + <param name="rrd-create-max" value="1e15"/> + <param name="ext-counter-max" value="1e15"/> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="990" /> + <param name="monitor-action-target" value="InOut_bps"/> + <param name="nodeid" value="%nodeid-interface%//inbytes"/> + </leaf> + + <leaf name="Bytes_Out"> + <param name="snmp-object" value="$ifHCOutOctets.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="ext-dstype" value="COUNTER64" /> + <param name="rrd-create-max" value="1e15"/> + <param name="ext-counter-max" value="1e15"/> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="980" /> + <param name="monitor-action-target" value="InOut_bps"/> + <param name="nodeid" value="%nodeid-interface%//outbytes"/> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="nodeid" value="%nodeid-interface%//inoutbit"/> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bytes_In},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bytes_Out},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + <template name="ifxtable-hcucast-packets"> + <leaf name="Packets_In"> + <param name="snmp-object" value="$ifHCInUcastPkts.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="890" /> + <param name="nodeid" value="%nodeid-interface%//inpackets"/> + </leaf> + + <leaf name="Packets_Out"> + <param name="snmp-object" value="$ifHCOutUcastPkts.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="880" /> + <param name="nodeid" value="%nodeid-interface%//outpackets"/> + </leaf> + </template> + + + <!-- Bandwidth usage in percentage of megabits + 100 * (bytes * 8 / 1e6) / limit = bytes / (limit * 1250) --> + <template name="interface-bandwidth-usage"> + <leaf name="Bandwidth_Usage"> + <param name="comment" value="Bandwidth usage graphs" /> + <param name="vertical-label" value="percent" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="100" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="998" /> + <param name="nodeid" value="%nodeid-interface%//bw"/> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" + value="{Bytes_In},%bandwidth-limit-in%,1250.0,*,/" /> + <param name="graph-legend-in" + value="Input use of %bandwidth-limit-in% Mbps" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" + value="{Bytes_Out},%bandwidth-limit-out%,1250.0,*,/" /> + <param name="graph-legend-out" + value="Output use of %bandwidth-limit-out% Mbps" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + + + <!-- ******************************************************************** + + Templates for read-only access to RRD files + + ************************************************************************--> + + <template name="read-iftable-octets"> + <leaf name="Bytes_In"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="990" /> + <param name="monitor-action-target" value="InOut_bps"/> + </leaf> + + <leaf name="Bytes_Out"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="980" /> + <param name="monitor-action-target" value="InOut_bps"/> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bytes_In},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bytes_Out},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + + <template name="read-ifxtable-hcoctets"> + <leaf name="Bytes_In"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="InOut_bps"/> + </leaf> + + <leaf name="Bytes_Out"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="InOut_bps"/> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bytes_In},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bytes_Out},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/old/cisco-mac-accounting-example.xml b/torrus/xmlconfig/old/cisco-mac-accounting-example.xml new file mode 100644 index 000000000..d62cc9948 --- /dev/null +++ b/torrus/xmlconfig/old/cisco-mac-accounting-example.xml @@ -0,0 +1,84 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco-mac-accounting-example.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + This file gives an example how to monitor the MAC accounting + on Cisco routers. It may be useful for per-BGP peer statistics + on an Ethernet media. + + This file relies on the definitions and templates from + "vendor/cisco.ios.mac-accounting.xml". + --> + +<configuration> +<datasources> + + + <subtree name="SNMP"> + + <param name="snmp-community" value="blahblah" /> + <param name="domain-name" value="xyz.net" /> + <param name="data-dir" value="/var/snmpcollector" /> + + <subtree name="MAC_Accounting"> + <param name="comment" value="MAC accounting test router" /> + <param name="collector-period" value="180" /> + <param name="collector-timeoffset" value="13" /> + + + <subtree name="test1"> + <param name="snmp-host" value="rtrZHT001" /> + <param name="interface-name" value="FastEthernet6/1" /> + <param name="interface-nick" value="Fe6_1" /> + <param name="mac" value="0.3.49.144.200.28" /> + <param name="mac-nick" value="testOne" /> + <param name="comment" value="MAC accounting Test: 0.3.49.144.200.28" /> + <apply-template name="cisco-mac-accounting" /> + </subtree> + + <subtree name="test2"> + <param name="snmp-host" value="rtrZHT001" /> + <param name="interface-name" value="FastEthernet6/1" /> + <param name="interface-nick" value="Fe6_1" /> + <param name="mac" value="0.2.74.137.72.112" /> + <param name="mac-nick" value="testTwo" /> + <param name="comment" value="MAC accounting Test: 0.2.74.137.72.112" /> + <apply-template name="cisco-mac-accounting" /> + </subtree> + + <subtree name="test3"> + <param name="snmp-host" value="rtrZHT001" /> + <param name="interface-name" value="FastEthernet6/6" /> + <param name="interface-nick" value="Fe6_1" /> + <param name="mac" value="0.9.182.41.169.3" /> + <param name="mac-nick" value="testThree" /> + <param name="comment" value="MAC accounting Test: 0.9.182.41.169.3" /> + <apply-template name="cisco-mac-accounting" /> + </subtree> + + </subtree> + + </subtree> +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml b/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml new file mode 100644 index 000000000..4b0c82491 --- /dev/null +++ b/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml @@ -0,0 +1,109 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.generic.old-0.1.4.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- Common Cisco definitions --> + +<configuration> + +<definitions> + + <!-- CISCO-PROCESS-MIB:cpmCPUTotalTable --> + <def name="cpmCPUTotal5minRev" value="1.3.6.1.4.1.9.9.109.1.1.1.1.8" /> + + <!-- CISCO-MEMORY-POOL-MIB:ciscoMemoryPoolTable --> + <def name="ciscoMemoryPoolUsed" value="1.3.6.1.4.1.9.9.48.1.1.1.5" /> + <def name="ciscoMemoryPoolFree" value="1.3.6.1.4.1.9.9.48.1.1.1.6" /> + + <!-- CISCO-ENVMON-MIB:ciscoEnvMonTemperatureStatusTable --> + <def name="ciscoEnvMonTemperatureStatusIndex" + value="1.3.6.1.4.1.9.9.13.1.3.1.1" /> + <def name="ciscoEnvMonTemperatureStatusDescr" + value="1.3.6.1.4.1.9.9.13.1.3.1.2" /> + <def name="ciscoEnvMonTemperatureStatusValue" + value="1.3.6.1.4.1.9.9.13.1.3.1.3" /> + <def name="ciscoEnvMonTemperatureStatusState" + value="1.3.6.1.4.1.9.9.13.1.3.1.6" /> + +</definitions> + +<datasources> + + <template name="cisco-mempool"> + <subtree name="Memory_Usage"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" value="%system-id%_mempool.rrd" /> + <param name="comment" value="Memory usage statistics" /> + <param name="precedence" value="-100" /> + + <leaf name="Processor_Memory_Used"> + <param name="snmp-object" value="$ciscoMemoryPoolUsed.1"/> + <param name="rrd-ds" value="ciscoMemoryPoolUsed" /> + <param name="comment"> + Number of bytes from the Processor memory pool + that are currently in use + </param> + <param name="graph-legend" value="Memory used" /> + </leaf> + + <leaf name="Processor_Memory_Free"> + <param name="snmp-object" value="$ciscoMemoryPoolFree.1"/> + <param name="rrd-ds" value="ciscoMemoryPoolFree" /> + <param name="comment"> + Number of bytes from the Processor memory pool + that are currently free + </param> + <param name="graph-legend" value="Memory free" /> + </leaf> + </subtree> + </template> + + <template name="cisco-cpu"> + <leaf name="CPU_Total_5min"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" value="%system-id%_cpu.rrd" /> + <param name="precedence" value="-200" /> + <param name="snmp-object" value="$cpmCPUTotal5minRev.1"/> + <param name="rrd-ds" value="cpmCPUTotal5minRev" /> + <param name="comment"> + The overall CPU busy percentage in the last 5 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + </leaf> + </template> + + <!-- template to be applied inside the sensor leaf. + Two parameters must be defined: sensor-index and sensor-description --> + <template name="cisco-temperature-sensor"> + <param name="comment" value="%sensor-description%"/> + <param name="rrd-ds" value="sensor_%sensor-index%"/> + <param name="snmp-object" + value="$ciscoEnvMonTemperatureStatusValue.%sensor-index%"/> + <param name="graph-legend" value="%sensor-description%"/> + <param name="graph-lower-limit" value="10"/> + <param name="graph-upper-limit" value="80"/> + <param name="vertical-label" value="degrees Celsius"/> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/old/cisco.ios.mac-accounting-0.1.8.xml b/torrus/xmlconfig/old/cisco.ios.mac-accounting-0.1.8.xml new file mode 100644 index 000000000..a58aa1a10 --- /dev/null +++ b/torrus/xmlconfig/old/cisco.ios.mac-accounting-0.1.8.xml @@ -0,0 +1,113 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.ios.mac-accounting-0.1.8.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + This file defines the template for MAC accounting + on Cisco routers. It may be useful for per-BGP peer statistics + on an Ethernet media. + + See also "examples/cisco-mac-accounting.xml" for a working example. + --> + +<configuration> + +<definitions> + + <!-- CISCO-IP-STAT-MIB:cipMacTable --> + <def name="cipMacSwitchedBytes" value="1.3.6.1.4.1.9.9.84.1.2.1.1.4" /> + +</definitions> + + +<datasources> + + <!-- Template for MAC accounting --> + <template name="cisco-mac-accounting"> + + <param name="snmp-object"> + $cipMacSwitchedBytes.%ifindex-map%.%direction%.%mac% + </param> + + <param name="data-file"> + %system-id%_%interface-nick%_%mac-nick%.rrd" + </param> + + <param name="rrd-ds" value="%mac-nick%_%direction%" /> + + <param name="rrd-create-dstype" value="COUNTER" /> + + <leaf name="InOctets"> + <param name="comment" value="Input bytes per second" /> + <param name="direction" value="1" /> + <param name="hidden" value="yes" /> + <param name="graph-legend" value="Bytes in" /> + </leaf> + + <leaf name="OutOctets"> + <param name="comment" value="Output bytes per second" /> + <param name="direction" value="2" /> + <param name="hidden" value="yes" /> + <param name="graph-legend" value="Bytes out" /> + </leaf> + + <leaf name="InBps"> + <param name="comment" value="Input bits per second" /> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{InOctets},8,*" /> + <param name="graph-legend" value="Bits in" /> + </leaf> + + <leaf name="OutBps"> + <param name="comment" value="Output bits per second" /> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{OutOctets},8,*" /> + <param name="graph-legend" value="Bits out" /> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{InOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="AREA" /> + <param name="line-color-in" value="#00FF00" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{OutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="LINE2" /> + <param name="line-color-out" value="#0000FF" /> + <param name="line-order-out" value="2" /> + </leaf> + + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/old/rfc1213.xml b/torrus/xmlconfig/old/rfc1213.xml new file mode 100644 index 000000000..a04d8a03d --- /dev/null +++ b/torrus/xmlconfig/old/rfc1213.xml @@ -0,0 +1,224 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (C) 2003 Shawn Ferry + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + +Author: Shawn Ferry +Vendor: RFC1213-MIB + +$Id: rfc1213.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ +@(#) 10/18/03 rfc1213.xml 1.8 (10/18/03 19:24:09) sferry + +--> +<!-- +Generic definitions and templates for: + + The templates defined in this file should work with any + snmp implementation supporting: + + RFC1213-MIB + +(ssinyagin) Please note that RFC1213 is obsoleted or superceded by: +RFC3418 (SNMPv2-MIB) +RFC2863 (IF-MIB) +RFC2011 (IP-MIB) + +--> +<configuration> + <definitions> + <!-- RFC1213-MIB --> + <def name="rfc1213_sysUpTime" value="1.3.6.1.2.1.1.3.0"/> + <!-- RFC1213-MIB interfaces Table --> + <def name="rfc1213_ifDescr" value="1.3.6.1.2.1.2.2.1.2"/> + <def name="rfc1213_ifPhysAddress" value="1.3.6.1.2.1.2.2.1.6"/> + <def name="rfc1213_ifInOctets" value="1.3.6.1.2.1.2.2.1.10"/> + <def name="rfc1213_ifInUcastPkts" value="1.3.6.1.2.1.2.2.1.11"/> + <def name="rfc1213_ifInErrors" value="1.3.6.1.2.1.2.2.1.14"/> + <def name="rfc1213_ifOutOctets" value="1.3.6.1.2.1.2.2.1.16"/> + <def name="rfc1213_ifOutUcastPkts" value="1.3.6.1.2.1.2.2.1.17"/> + <def name="rfc1213_ifOutErrors" value="1.3.6.1.2.1.2.2.1.20"/> + <def name="rfc1213_IFIDX" value="M($rfc1213_ifDescr, %interface-name%)"/> + <!-- ICMP --> + <def name="rfc1213_icmpInMsgs" value="1.3.6.1.2.1.5.1.0"/> + <def name="rfc1213_icmpOutMsgs" value="1.3.6.1.2.1.5.14.0"/> + <!-- SNMP --> + <def name="rfc1213_snmpInPkts" value="1.3.6.1.2.1.11.1.0"/> + <def name="rfc1213_snmpOutPkts" value="1.3.6.1.2.1.11.2.0"/> + <def name="rfc1213_snmpOutTraps" value="1.3.6.1.2.1.11.29.0"/> + </definitions> + <datasources> + <!-- + rfc1213 wrap up template + --> + <template name="rfc1213"> + <apply-template name="rfc1213-icmp"/> + <apply-template name="rfc1213-snmp"/> + </template> + <!-- rfc1313-interface must be applied at the per-interface level --> + <!-- + rfc1213_interface Template + --> + <template name="rfc1213-interface"> + <param name="data-file" value="%system-id%_rfc1213-%interface-name%.rrd"/> + <leaf name="InOutBytes"> + <param name="comment" value="Input and Output bits per second graphs"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="in,out"/> + <!-- IN --> + <param name="ds-expr-in" value="{ifInOctets}"/> + <param name="graph-legend-in" value="Bytes per second in"/> + <param name="line-style-in" value="AREA"/> + <param name="line-color-in" value="##in"/> + <param name="line-order-in" value="1"/> + <!-- OUT --> + <param name="ds-expr-out" value="{ifOutOctets}"/> + <param name="graph-legend-out" value="Bytes per second out"/> + <param name="line-style-out" value="LINE2"/> + <param name="line-color-out" value="##out"/> + <param name="line-order-out" value="2"/> + </leaf> + <leaf name="ifOutErrors"> + <param name="snmp-object" value="$rfc1213_ifOutErrors.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifOutErrors"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Output error counter for the interface"/> + <param name="graph-legend" value="Errors out"/> + </leaf> + <leaf name="ifInErrors"> + <param name="snmp-object" value="$rfc1213_ifInErrors.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifInErrors"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Input error counter for the interface"/> + <param name="graph-legend" value="Errors in"/> + </leaf> + <leaf name="ifInOctets"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_ifInOctets.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifInOctets"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of input Bytes per second + </param> + <param name="graph-legend" value="Bytes in"/> + </leaf> + <leaf name="ifOutOctets"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_ifOutOctets.$rfc1213_IFIDX"/> + <param name="rrd-ds" value="rfc1213_ifOutOctets"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of output Bytes per second + </param> + <param name="graph-legend" value="Bytes out"/> + </leaf> + </template> + <!-- ICMP Template --> + <template name="rfc1213-icmp"> + <subtree name="ICMP"> + <param name="data-file" value="%system-id%_rfc1213-ICMP.rrd"/> + <leaf name="InOutICMP"> + <param name="comment" value="Input and Output ICMP Messages"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="in,out"/> + <!-- IN --> + <param name="ds-expr-in" value="{icmpInMsgs}"/> + <param name="graph-legend-in" value="Bytes per second in"/> + <param name="line-style-in" value="AREA"/> + <param name="line-color-in" value="##in"/> + <param name="line-order-in" value="1"/> + <!-- OUT --> + <param name="ds-expr-out" value="{icmpOutMsgs}"/> + <param name="graph-legend-out" value="Bytes per second out"/> + <param name="line-style-out" value="LINE2"/> + <param name="line-color-out" value="##out"/> + <param name="line-order-out" value="2"/> + </leaf> + <leaf name="icmpInMsgs"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_icmpInMsgs"/> + <param name="rrd-ds" value="rfc1213_icmpIMsgs"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of Incomming ICMP messages + </param> + <param name="graph-legend" value="ICMP In"/> + </leaf> + <leaf name="icmpOutMsgs"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_icmpOutMsgs"/> + <param name="rrd-ds" value="rfc1213_icmpOMsgs"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + "1-minute average of Outgoing ICMP messages" + </param> + <param name="graph-legend" value="ICMP Out"/> + </leaf> + </subtree> + </template> + <!-- SNMP Template --> + <template name="rfc1213-snmp"> + <subtree name="SNMP"> + <param name="data-file" value="%system-id%_rfc1213-SNMP.rrd"/> + <leaf name="InOutSNMP"> + <param name="comment" value="Input and Output SNMP Packets"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="in,out"/> + <!-- IN --> + <param name="ds-expr-in" value="{snmpInPkts}"/> + <param name="graph-legend-in" value="Packets per second in"/> + <param name="line-style-in" value="AREA"/> + <param name="line-color-in" value="##in"/> + <param name="line-order-in" value="1"/> + <!-- OUT --> + <param name="ds-expr-out" value="{snmpOutPkts}"/> + <param name="graph-legend-out" value="Packets per second out"/> + <param name="line-style-out" value="LINE2"/> + <param name="line-color-out" value="##out"/> + <param name="line-order-out" value="2"/> + </leaf> + <leaf name="snmpOutTraps"> + <param name="snmp-object" value="$rfc1213_snmpOutTraps"/> + <param name="rrd-ds" value="rfc1213_snmpOTraps"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="SNMP Traps Sent"/> + <param name="graph-legend" value="SNMP Traps "/> + </leaf> + <leaf name="snmpInPkts"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_snmpInPkts"/> + <param name="rrd-ds" value="rfc1213_snmpIPkts"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of Incomming SNMP Packets + </param> + <param name="graph-legend" value="SNMP In"/> + </leaf> + <leaf name="snmpOutPkts"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$rfc1213_snmpOutPkts"/> + <param name="rrd-ds" value="rfc1213_snmpOPkts"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + 1-minute average of Outgoing SNMP Packets + </param> + <param name="graph-legend" value="SNMP Out"/> + </leaf> + </subtree> + </template> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/old/rfc2670.docsis-if.old.0.1.5d-20040224.xml b/torrus/xmlconfig/old/rfc2670.docsis-if.old.0.1.5d-20040224.xml new file mode 100644 index 000000000..ea62beea5 --- /dev/null +++ b/torrus/xmlconfig/old/rfc2670.docsis-if.old.0.1.5d-20040224.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2670.docsis-if.old.0.1.5d-20040224.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ + Roman Hochuli <roman@hochu.li> + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<configuration> + + <definitions> + <!-- DOCS-IF-MIB:docsIfSigQSignalNoise --> + <def name="docsIfSigQSignalNoise" value="1.3.6.1.2.1.10.127.1.1.4.1.5" /> + </definitions> + + <datasources> + + <template name="docsis-upstream-snr"> + <param name="snmp-object" value="$docsIfSigQSignalNoise.%ifindex-map%"/> + + <param name="data-file"> + %system-id%_%interface-nick%_docsIfSigQSignalNoise.rrd + </param> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-ds" value="SNR" /> + <param name="collector-scale" value="10,/" /> + + <param name="graph-legend" value="Signal/Noise-Ratio" /> + <param name="vertical-label" value="dB" /> + + <param name="normal-level" value="25" /> + <param name="lower-limit" value="18" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="35" /> + + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + + <param name="monitor" value="docsis-snr-lower-20db" /> + <param name="tokenset-member" value="docsis-snr" /> + </template> + + </datasources> + + <monitors> + + <monitor name="docsis-snr-lower-20db"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr" value="20,LT" /> + <param name="action" value="docsis-snr-lower-20" /> + <param name="expires" value="3600" /> + <param name="comment"> + Signal/Noise-Ratio was lower than 20dB + </param> + </monitor> + + <action name="docsis-snr-lower-20"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="docsis-snr-lower-20" /> + </action> + + </monitors> + + <token-sets> + <token-set name="docsis-snr"> + <param name="comment" value="S/N Ratio for all interfaces" /> + </token-set> + + <token-set name="docsis-snr-lower-20"> + <param name="comment" value="S/N Ratio less than 20dB" /> + </token-set> + </token-sets> + +</configuration> diff --git a/torrus/xmlconfig/old/rfc2670.docsis-if.old.1.0.4.xml b/torrus/xmlconfig/old/rfc2670.docsis-if.old.1.0.4.xml new file mode 100644 index 000000000..f2a47d816 --- /dev/null +++ b/torrus/xmlconfig/old/rfc2670.docsis-if.old.1.0.4.xml @@ -0,0 +1,303 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2670.docsis-if.old.1.0.4.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ + Roman Hochuli <roman@hochu.li> + Stanislav Sinyagin <ssinyagin@yahoo.com> + + SEE ALSO: xmlconfig/examples/docsis-monitors.xml + +--> + +<configuration> + +<definitions> + <!-- DOCS-IF-MIB::docsIfSignalQualityTable --> + <def name="docsIfSigQUnerroreds" value="1.3.6.1.2.1.10.127.1.1.4.1.2"/> + <def name="docsIfSigQCorrecteds" value="1.3.6.1.2.1.10.127.1.1.4.1.3"/> + <def name="docsIfSigQUncorrectables" value="1.3.6.1.2.1.10.127.1.1.4.1.4"/> + <def name="docsIfSigQSignalNoise" value="1.3.6.1.2.1.10.127.1.1.4.1.5"/> + + <!-- DOCS-IF-MIB::docsIfCmtsDownChannelCounterTable --> + <def name="docsIfCmtsDownChnlCtrExtTotalBytes" + value="1.3.6.1.2.1.10.127.1.3.10.1.4"/> + <def name="docsIfCmtsDownChnlCtrExtUsedBytes" + value="1.3.6.1.2.1.10.127.1.3.10.1.5"/> +</definitions> + +<datasources> + + <template name="docsis-upstream-subtree"> + <param name="precedence" value="-500" /> + <param name="comment" value="DOCSIS upstream channel statistics" /> + <param name="data-file"> + %system-id%_%interface-nick%_docsis_upstream.rrd + </param> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="snr,fec"/> + + <param name="overview-subleave-name-snr" value="SNR"/> + <param name="overview-direct-link-snr" value="yes"/> + <param name="overview-direct-link-view-snr" value="expanded-dir-html"/> + <param name="overview-shortcut-text-snr" + value="All SNR"/> + <param name="overview-shortcut-title-snr" + value="Show signal quality graphs for all upstreams in one page"/> + <param name="overview-page-title-snr" + value="SNR Graphs"/> + + <param name="overview-subleave-name-fec" value="FEC_Summary"/> + <param name="overview-direct-link-fec" value="yes"/> + <param name="overview-direct-link-view-fec" value="expanded-dir-html"/> + <param name="overview-shortcut-text-fec" + value="All FEC"/> + <param name="overview-shortcut-title-fec" + value="Show FEC statistics for all upstreams in one page"/> + <param name="overview-page-title-fec" + value="FEC Graphs"/> + + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <template name="docsis-signal-quality-codewords"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="vertical-label" value="Codewords/s" /> + <param name="graph-lower-limit" value="0" /> + </template> + + <template name="docsis-upstream-signal-quality"> + <leaf name="SNR"> + <param name="snmp-object" value="$docsIfSigQSignalNoise.%ifindex-map%"/> + + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-ds" value="SNR" /> + <param name="collector-scale" value="10,/" /> + + <param name="comment" value="Signal/Noise Ratio" /> + <param name="graph-legend" value="Signal/Noise Ratio" /> + <param name="vertical-label" value="dB" /> + + <param name="normal-level" value="25" /> + <param name="lower-limit" value="18" /> + <param name="graph-lower-limit" value="10" /> + <param name="graph-upper-limit" value="30" /> + + <param name="precedence" value="1000" /> + + <!-- This monitor may be redefined by + DocsisUpSNRMonitor selector action --> + <param name="monitor" value="docsis-snr-lower-20db" /> + </leaf> + + <leaf name="FEC_Summary"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="corr,uncorr" /> + + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + + <param name="precedence" value="950" /> + <param name="comment" + value="Reed-Solomon forward error correction (FEC) summary" /> + <param name="vertical-label" value="Percent" /> + + <param name="ds-expr-corr"> + {Correctable},{Error-Free},{Correctable},{Uncorrectable},+,+,/,100,* + </param> + <param name="graph-legend-corr" value="Correctable Codewords" /> + <param name="line-style-corr" value="##SingleGraph" /> + <param name="line-color-corr" value="##green" /> + <param name="line-order-corr" value="1" /> + + <param name="ds-expr-uncorr"> + {Uncorrectable},{Error-Free},{Correctable},{Uncorrectable},+,+,/,100,* + </param> + <param name="graph-legend-uncorr" value="Uncorrectable Codewords" /> + <param name="line-style-uncorr" value="##SingleGraph" /> + <param name="line-color-uncorr" value="##red" /> + <param name="line-order-uncorr" value="2" /> + </leaf> + + <leaf name="Error-Free"> + <apply-template name="docsis-signal-quality-codewords"/> + <param name="snmp-object" value="$docsIfSigQUnerroreds.%ifindex-map%"/> + <param name="rrd-ds" value="Unerroreds" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="FEC codewords received on this channel without error"/> + <param name="graph-legend" value="Error-free Codewords" /> + <param name="precedence" value="900" /> + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + </leaf> + + <leaf name="Correctable"> + <apply-template name="docsis-signal-quality-codewords"/> + <param name="snmp-object" value="$docsIfSigQCorrecteds.%ifindex-map%"/> + <param name="rrd-ds" value="Correcteds" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="FEC codewords received on this channel correctable errors"/> + <param name="graph-legend" value="Correctable Codewords" /> + <param name="precedence" value="800" /> + <param name="monitor-action-target" value="FEC_Summary"/> + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + </leaf> + + <leaf name="Uncorrectable"> + <apply-template name="docsis-signal-quality-codewords"/> + <param name="snmp-object" + value="$docsIfSigQUncorrectables.%ifindex-map%"/> + <param name="rrd-ds" value="Uncorrectables" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="FEC codewords received on this channel uncorrectable errors"/> + <param name="graph-legend" value="Uncorrectable Codewords" /> + <param name="precedence" value="700" /> + <param name="monitor-action-target" value="FEC_Summary"/> + <param name="graph-lower-limit" value="0.01" /> + <param name="graph-upper-limit" value="100" /> + <param name="graph-logarithmic" value="yes" /> + <param name="graph-rigid-boundaries" value="yes" /> + </leaf> + </template> + + + + <template name="docsis-downstream-subtree"> + <param name="precedence" value="-500" /> + <param name="comment" value="DOCSIS downstream statistics" /> + <param name="data-file"> + %system-id%_%interface-nick%_docsis_downstream.rrd + </param> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="util"/> + <param name="overview-subleave-name-util" value="Utilization"/> + <param name="overview-direct-link-util" value="yes"/> + <param name="overview-direct-link-view-util" value="expanded-dir-html"/> + <param name="overview-shortcut-text-util" + value="All Utilization"/> + <param name="overview-shortcut-title-util" + value="Show utilization graphs for all downstreams in one page"/> + <param name="overview-page-title-util" + value="Downstream Utilization Graphs"/> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + + <template name="docsis-downstream-util"> + <leaf name="Utilization"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="util" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + + <param name="precedence" value="950" /> + <param name="comment" + value="Downstream channel utilization" /> + <param name="vertical-label" value="Percent" /> + + <param name="ds-expr-util"> + {UsedBytes},{TotalBytes},/,100,* + </param> + <param name="graph-legend-util" value="Utilization" /> + <param name="line-style-util" value="##resourceusage" /> + <param name="line-color-util" value="##resourceusage" /> + <param name="line-order-util" value="1" /> + </leaf> + + <leaf name="TotalBytes"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="Bytes/s" /> + <param name="graph-lower-limit" value="0" /> + <param name="snmp-object" + value="$docsIfCmtsDownChnlCtrExtTotalBytes.%ifindex-map%"/> + <param name="rrd-ds" value="TotalBytes" /> + <param name="hidden" value="yes"/> + <param name="comment"> + The total number of bytes in the Payload portion + </param> + <param name="graph-legend" value="Total Bytes" /> + <param name="precedence" value="800" /> + </leaf> + + <leaf name="UsedBytes"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="Bytes/s" /> + <param name="graph-lower-limit" value="0" /> + <param name="snmp-object" + value="$docsIfCmtsDownChnlCtrExtUsedBytes.%ifindex-map%"/> + <param name="rrd-ds" value="UsedBytes" /> + <param name="hidden" value="yes"/> + <param name="comment"> + The total number of DOCSIS data bytes transported by this downstream + channel + </param> + <param name="graph-legend" value="Used Bytes" /> + <param name="precedence" value="800" /> + <param name="monitor-action-target" value="Utilization"/> + </leaf> + </template> + +</datasources> + +<monitors> + + <monitor name="docsis-snr-lower-20db"> + <param name="monitor-type" value="expression" /> + <param name="rpn-expr" value="DUP,0,GT,EXC,20,LT,AND" /> + <param name="action" value="docsis-snr-lower-20" /> + <param name="expires" value="3600" /> + <param name="comment"> + Signal/Noise-Ratio was lower than 20dB + </param> + </monitor> + + <action name="docsis-snr-lower-20"> + <param name="action-type" value="tset" /> + <param name="tset-name" value="docsis-snr-lower-20" /> + </action> + +</monitors> + +<token-sets> + <token-set name="docsis-snr-lower-20"> + <param name="comment" value="S/N Ratio less than 20dB" /> + </token-set> +</token-sets> + +</configuration> diff --git a/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.4.xml b/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.4.xml new file mode 100644 index 000000000..831fd6a86 --- /dev/null +++ b/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.4.xml @@ -0,0 +1,394 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2863.if-mib.old-0.1.4.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + RFC2863 IF-MIB definitions +--> + +<configuration> + +<definitions> + <!-- IF-MIB:ifTable --> + <def name="ifDescr" value="1.3.6.1.2.1.2.2.1.2" /> + <def name="ifSpeed" value="1.3.6.1.2.1.2.2.1.5" /> + <def name="ifPhysAddress" value="1.3.6.1.2.1.2.2.1.6" /> + <def name="ifInOctets" value="1.3.6.1.2.1.2.2.1.10" /> + <def name="ifInUcastPkts" value="1.3.6.1.2.1.2.2.1.11" /> + <def name="ifInDiscards" value="1.3.6.1.2.1.2.2.1.13" /> + <def name="ifInErrors" value="1.3.6.1.2.1.2.2.1.14" /> + <def name="ifOutOctets" value="1.3.6.1.2.1.2.2.1.16" /> + <def name="ifOutUcastPkts" value="1.3.6.1.2.1.2.2.1.17" /> + <def name="ifOutDiscards" value="1.3.6.1.2.1.2.2.1.19" /> + <def name="ifOutErrors" value="1.3.6.1.2.1.2.2.1.20" /> + + <!-- IF-MIB:ifXTable --> + <def name="ifName" value="1.3.6.1.2.1.31.1.1.1.1" /> + <def name="ifHCInOctets" value="1.3.6.1.2.1.31.1.1.1.6" /> + <def name="ifHCInUcastPkts" value="1.3.6.1.2.1.31.1.1.1.7" /> + <def name="ifHCOutOctets" value="1.3.6.1.2.1.31.1.1.1.10" /> + <def name="ifHCOutUcastPkts" value="1.3.6.1.2.1.31.1.1.1.11" /> + + <!-- RFC1213-MIB:ipAddrTable --> + <def name="ipAdEntIfIndex" value="1.3.6.1.2.1.4.20.1.2" /> + + <!-- Interface indices --> + <def name="IFIDX_DESCR" value="M($ifDescr, %interface-name%)" /> + <def name="IFIDX_MAC" value="M($ifPhysAddress, %interface-mac%)" /> + <def name="IFIDX_IP" value="V(ipAdEntIfIndex.%interface-ipaddr%)" /> + + <!-- Default Interface index lookup --> + <def name="IFIDX" value="M(%ifindex-table%, %interface-name%)" /> +</definitions> + +<datasources> + + <!-- Parameters for interfaces parent subtree --> + <template name="rfc2863-ifmib-subtree"> + <param name="has-overview-subleaves" value="yes"/> + <param name="overview-subleave-name" value="InOutBps"/> + <param name="overview-shortcut-text" + value="Show InOutBps for all interfaces"/> + <param name="overview-shortcut-title" + value="Show all interfaces traffic in one page"/> + <param name="overview-page-title" + value="Input/Output Graphs"/> + </template> + + <template name="iftable-octets"> + <leaf name="ifInOctets"> + <param name="snmp-object" value="$ifInOctets.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_octets.rrd" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutOctets"> + <param name="snmp-object" value="$ifOutOctets.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_octets.rrd" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + <!-- Some interface instances (e.g. serial subinterfaces in Coisco routers) + don't have UcastPkts and Errors counters --> + + <template name="iftable-ucast-packets"> + <leaf name="ifInUcastPkts"> + <param name="snmp-object" value="$ifInUcastPkts.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_packets.rrd" /> + <param name="rrd-ds" value="ifInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutUcastPkts"> + <param name="snmp-object" value="$ifOutUcastPkts.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_packets.rrd" /> + <param name="rrd-ds" value="ifOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <template name="iftable-discards"> + <leaf name="ifInDiscards"> + <param name="snmp-object" value="$ifInDiscards.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_discards.rrd" /> + <param name="rrd-ds" value="ifInDiscards" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input discards for the interface" /> + <param name="graph-legend" value="Discards in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutDiscards"> + <param name="snmp-object" value="$ifOutDiscards.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_discards.rrd" /> + <param name="rrd-ds" value="ifOutDiscards" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output discards for the interface" /> + <param name="graph-legend" value="Discards out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <template name="iftable-errors"> + <leaf name="ifInErrors"> + <param name="snmp-object" value="$ifInErrors.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_errors.rrd" /> + <param name="rrd-ds" value="ifInErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input errors for the interface" /> + <param name="graph-legend" value="Errors in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutErrors"> + <param name="snmp-object" value="$ifOutErrors.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_errors.rrd" /> + <param name="rrd-ds" value="ifOutErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output errors for the interface" /> + <param name="graph-legend" value="Errors out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + + <template name="ifxtable-hcoctets"> + <leaf name="ifHCInOctets"> + <param name="snmp-object" value="$ifHCInOctets.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_hcoctets.rrd" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutOctets"> + <param name="snmp-object" value="$ifHCOutOctets.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_hcoctets.rrd" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifHCInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifHCOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + <template name="ifxtable-hcucast-packets"> + <leaf name="ifHCInUcastPkts"> + <param name="snmp-object" value="$ifHCInUcastPkts.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_hcpackets.rrd" /> + <param name="rrd-ds" value="ifHCInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutUcastPkts"> + <param name="snmp-object" value="$ifHCOutUcastPkts.$IFIDX" /> + <param name="data-file" + value="%system-id%_%interface-nick%_hcpackets.rrd" /> + <param name="rrd-ds" value="ifHCOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <!-- ******************************************************************** + + Templates for read-only access to RRD files + + ************************************************************************--> + + <template name="read-iftable-octets"> + <leaf name="ifInOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_octets.rrd" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_octets.rrd" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + + <template name="read-ifxtable-hcoctets"> + <leaf name="ifHCInOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_hcoctets.rrd" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_hcoctets.rrd" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifHCInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifHCOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.7.xml b/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.7.xml new file mode 100644 index 000000000..66e80805a --- /dev/null +++ b/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.7.xml @@ -0,0 +1,400 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: rfc2863.if-mib.old-0.1.7.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + RFC2863 IF-MIB definitions +--> + +<configuration> + +<definitions> + <!-- IF-MIB:ifTable --> + <def name="ifDescr" value="1.3.6.1.2.1.2.2.1.2" /> + <def name="ifSpeed" value="1.3.6.1.2.1.2.2.1.5" /> + <def name="ifPhysAddress" value="1.3.6.1.2.1.2.2.1.6" /> + <def name="ifInOctets" value="1.3.6.1.2.1.2.2.1.10" /> + <def name="ifInUcastPkts" value="1.3.6.1.2.1.2.2.1.11" /> + <def name="ifInDiscards" value="1.3.6.1.2.1.2.2.1.13" /> + <def name="ifInErrors" value="1.3.6.1.2.1.2.2.1.14" /> + <def name="ifOutOctets" value="1.3.6.1.2.1.2.2.1.16" /> + <def name="ifOutUcastPkts" value="1.3.6.1.2.1.2.2.1.17" /> + <def name="ifOutDiscards" value="1.3.6.1.2.1.2.2.1.19" /> + <def name="ifOutErrors" value="1.3.6.1.2.1.2.2.1.20" /> + + <!-- IF-MIB:ifXTable --> + <def name="ifName" value="1.3.6.1.2.1.31.1.1.1.1" /> + <def name="ifHCInOctets" value="1.3.6.1.2.1.31.1.1.1.6" /> + <def name="ifHCInUcastPkts" value="1.3.6.1.2.1.31.1.1.1.7" /> + <def name="ifHCOutOctets" value="1.3.6.1.2.1.31.1.1.1.10" /> + <def name="ifHCOutUcastPkts" value="1.3.6.1.2.1.31.1.1.1.11" /> + + <!-- RFC1213-MIB:ipAddrTable --> + <def name="ipAdEntIfIndex" value="1.3.6.1.2.1.4.20.1.2" /> + + <!-- Interface indices --> + <def name="IFIDX_DESCR" value="M($ifDescr, %interface-name%)" /> + <def name="IFIDX_MAC" value="M($ifPhysAddress, %interface-macaddr%)" /> + <def name="IFIDX_IP" value="V(ipAdEntIfIndex.%interface-ipaddr%)" /> + <def name="IFIDX_IFINDEX" value="%interface-index%" /> + +</definitions> + +<datasources> + + <!-- Some parameters need to be at host level --> + <template name="rfc2863-ifmib-hostlevel"> + <param name="ifindex-map" value="M(%ifindex-table%, %interface-name%)"/> + </template> + + <!-- Parameters for interfaces parent subtree --> + <template name="rfc2863-ifmib-subtree"> + <param name="comment" value="Interface traffic and error counters"/> + <param name="has-overview-subleaves" value="yes"/> + <param name="overview-subleave-name" value="InOutBps"/> + <param name="overview-shortcut-text" + value="Show InOutBps for all interfaces"/> + <param name="overview-shortcut-title" + value="Show all interfaces traffic in one page"/> + <param name="overview-page-title" + value="Input/Output Graphs"/> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="data-file" value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="graph-title" value="%descriptive-nickname%" /> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + </template> + + <template name="iftable-octets"> + <leaf name="ifInOctets"> + <param name="snmp-object" value="$ifInOctets.%ifindex-map%" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutOctets"> + <param name="snmp-object" value="$ifOutOctets.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + <!-- Some interface instances (e.g. serial subinterfaces in Coisco routers) + don't have UcastPkts and Errors counters --> + + <template name="iftable-ucast-packets"> + <leaf name="ifInUcastPkts"> + <param name="snmp-object" value="$ifInUcastPkts.%ifindex-map%" /> + <param name="rrd-ds" value="ifInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutUcastPkts"> + <param name="snmp-object" value="$ifOutUcastPkts.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <template name="iftable-discards-in"> + <leaf name="ifInDiscards"> + <param name="snmp-object" value="$ifInDiscards.%ifindex-map%" /> + <param name="rrd-ds" value="ifInDiscards" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Input discards for the interface" /> + <param name="graph-legend" value="Discards in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <iftrue var="RFC2863_IF_MIB::errors-monitor"> + <param name="monitor" value="RFC2863_IF_MIB-errors" /> + </iftrue> + </leaf> + </template> + + <template name="iftable-discards-out"> + <leaf name="ifOutDiscards"> + <param name="snmp-object" value="$ifOutDiscards.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutDiscards" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Output discards for the interface" /> + <param name="graph-legend" value="Discards out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <iftrue var="RFC2863_IF_MIB::errors-monitor"> + <param name="monitor" value="RFC2863_IF_MIB-errors" /> + </iftrue> + </leaf> + </template> + + <template name="iftable-errors-in"> + <leaf name="ifInErrors"> + <param name="snmp-object" value="$ifInErrors.%ifindex-map%" /> + <param name="rrd-ds" value="ifInErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Input errors for the interface" /> + <param name="graph-legend" value="Errors in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <iftrue var="RFC2863_IF_MIB::errors-monitor"> + <param name="monitor" value="RFC2863_IF_MIB-errors" /> + </iftrue> + </leaf> + </template> + + <template name="iftable-errors-out"> + <leaf name="ifOutErrors"> + <param name="snmp-object" value="$ifOutErrors.%ifindex-map%" /> + <param name="rrd-ds" value="ifOutErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" value="Output errors for the interface" /> + <param name="graph-legend" value="Errors out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <iftrue var="RFC2863_IF_MIB::errors-monitor"> + <param name="monitor" value="RFC2863_IF_MIB-errors" /> + </iftrue> + </leaf> + </template> + + + <template name="ifxtable-hcoctets"> + <leaf name="ifHCInOctets"> + <param name="snmp-object" value="$ifHCInOctets.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutOctets"> + <param name="snmp-object" value="$ifHCOutOctets.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifHCInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifHCOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + <template name="ifxtable-hcucast-packets"> + <leaf name="ifHCInUcastPkts"> + <param name="snmp-object" value="$ifHCInUcastPkts.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutUcastPkts"> + <param name="snmp-object" value="$ifHCOutUcastPkts.%ifindex-map%" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="ifHCOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-create-max" value="1e15"/> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </template> + + <!-- ******************************************************************** + + Templates for read-only access to RRD files + + ************************************************************************--> + + <template name="read-iftable-octets"> + <leaf name="ifInOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + + + <template name="read-ifxtable-hcoctets"> + <leaf name="ifHCInOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutOctets"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_if-mib.rrd" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifHCInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifHCOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/old/snmp-defs.old-0.1.2.xml b/torrus/xmlconfig/old/snmp-defs.old-0.1.2.xml new file mode 100644 index 000000000..a77b31116 --- /dev/null +++ b/torrus/xmlconfig/old/snmp-defs.old-0.1.2.xml @@ -0,0 +1,285 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: snmp-defs.old-0.1.2.xml,v 1.1 2010-12-27 00:04:28 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- These are the basic definitions for the SNMP collector + + WARNING: This file is overwritten by "make install" +--> + +<configuration> + +<definitions> + <!-- IF-MIB:ifTable --> + <def name="ifDescr" value="1.3.6.1.2.1.2.2.1.2" /> + <def name="ifPhysAddress" value="1.3.6.1.2.1.2.2.1.6" /> + <def name="ifInOctets" value="1.3.6.1.2.1.2.2.1.10" /> + <def name="ifInUcastPkts" value="1.3.6.1.2.1.2.2.1.11" /> + <def name="ifInErrors" value="1.3.6.1.2.1.2.2.1.14" /> + <def name="ifOutOctets" value="1.3.6.1.2.1.2.2.1.16" /> + <def name="ifOutUcastPkts" value="1.3.6.1.2.1.2.2.1.17" /> + <def name="ifOutErrors" value="1.3.6.1.2.1.2.2.1.20" /> + + <!-- IF-MIB:ifXTable --> + <def name="ifName" value="1.3.6.1.2.1.31.1.1.1.1" /> + <def name="ifHCInOctets" value="1.3.6.1.2.1.31.1.1.1.6" /> + <def name="ifHCInUcastPkts" value="1.3.6.1.2.1.31.1.1.1.7" /> + <def name="ifHCOutOctets" value="1.3.6.1.2.1.31.1.1.1.10" /> + <def name="ifHCOutUcastPkts" value="1.3.6.1.2.1.31.1.1.1.11" /> + + <!-- RFC1213-MIB:ipAddrTable --> + <def name="ipAdEntIfIndex" value="1.3.6.1.2.1.4.20.1.2" /> + + <!-- Interface indices --> + <def name="IFIDX_DESCR" value="M($ifDescr, %interface-name%)" /> + <def name="IFIDX_MAC" value="M($ifPhysAddress, %interface-mac%)" /> + <def name="IFIDX_IP" value="V(ipAdEntIfIndex.%interface-ipaddr%)" /> + + <!-- Default Interface index lookup --> + <def name="IFIDX" value="M(%ifindex-table%, %interface-name%)" /> + +</definitions> + +<datasources> + + <template name="interface-counters"> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + + <leaf name="ifInOctets"> + <param name="snmp-object" value="$ifInOctets.$IFIDX" /> + <param name="rrd-ds" value="ifInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifInUcastPkts"> + <param name="snmp-object" value="$ifInUcastPkts.$IFIDX" /> + <param name="rrd-ds" value="ifInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutOctets"> + <param name="snmp-object" value="$ifOutOctets.$IFIDX" /> + <param name="rrd-ds" value="ifOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifOutUcastPkts"> + <param name="snmp-object" value="$ifOutUcastPkts.$IFIDX" /> + <param name="rrd-ds" value="ifOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + </template> + + <template name="hc-interface-counters"> + + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{ifHCInOctets},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{ifHCOutOctets},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + + <leaf name="ifHCInOctets"> + <param name="snmp-object" value="$ifHCInOctets.$IFIDX" /> + <param name="rrd-ds" value="ifHCInOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input byte counter for the interface" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCInUcastPkts"> + <param name="snmp-object" value="$ifHCInUcastPkts.$IFIDX" /> + <param name="rrd-ds" value="ifHCInUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Input packet counter for the interface" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutOctets"> + <param name="snmp-object" value="$ifHCOutOctets.$IFIDX" /> + <param name="rrd-ds" value="ifHCOutOctets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output byte counter for the interface" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="ifHCOutUcastPkts"> + <param name="snmp-object" value="$ifHCOutUcastPkts.$IFIDX" /> + <param name="rrd-ds" value="ifHCOutUcastPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment" value="Output packet counter for the interface" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + </template> + + <subtree name="SNMP"> + <param name="ds-type" value="collector" /> + <param name="collector-type" value="snmp" /> + + <!-- Two mandatory parameters define the collector schedule. + The collector runs at moments defined by formula: + time + period - (time mod period) + timeoffset --> + <param name="collector-period" value="300" /> + <param name="collector-timeoffset" value="10" /> + + <param name="storage-type" value="rrd" /> + + <param name="comment" value="Data collected via SNMP" /> + + <!-- SNMP Parameters --> + + <!-- Optional SNMP version. Default is 2c. + Valid values are: 1, 2c. + Version 3 will be supported in the future. --> + <param name="snmp-version" value="2c" /> + + <!-- Optional port. Deefault is 161 --> + <param name="snmp-port" value="161" /> + + <!-- Mandatory community name --> + <param name="snmp-community" value="public" /> + + <!-- Mandatory session timeout and no. of retries --> + <param name="snmp-timeout" value="10" /> + <param name="snmp-retries" value="2" /> + + <!-- Optional domain name. Appended to a hostname which + has no dots in it --> + <param name="domain-name" value="must.redefine.domain.net" /> + + <!-- Where the interface index is looked up --> + <param name="ifindex-table" value="$ifDescr" /> + + <!-- RRD Parameters --> + + <!-- Directory path where RRD files will be stored --> + <param name="data-dir" value="/var/snmpcollector" /> + + <!-- Round-robin arrays to be created, separated by space. + In this example, we keep 5-minute details for 2 weeks, + 30-minute average and maximum details for 6 weeks, + and 1-day aggregated stats for 2 years --> + <param name="rrd-create-rra"> + RRA:AVERAGE:0.5:1:4032 + RRA:AVERAGE:0.5:6:2016 RRA:MAX:0.5:6:2016 + RRA:AVERAGE:0.5:288:732 RRA:MAX:0.5:288:732 + </param> + + <!-- if no updates are received for 30 minutes, consider the datasource + unknown, i.e. dead --> + <param name="rrd-create-heartbeat" value="500"/> + + <param name="rrd-create-min" value="0"/> + <param name="rrd-create-max" value="U"/> + + <param name="rrd-hwpredict" value="disabled" /> + + <!-- Optional Holt-Winters algorithm parameters + Default values are: + alpha=0.1, beta=0.0035, gamma=0.1, + window_length=9, failure_threshold=6 --> + <param name="rrd-create-hw-alpha" value="0.1" /> + <param name="rrd-create-hw-beta" value="0.0035" /> + <param name="rrd-create-hw-gamma" value="0.1" /> + <param name="rrd-create-hw-winlen" value="9" /> + <param name="rrd-create-hw-failth" value="6" /> + + <!-- Optional Holt-Winters season length. + Default is one-day (288 5-minute intervals) --> + <param name="rrd-create-hw-season" value="288" /> + + <!-- Mandatory length of the Holt-Winters archives. + Recommended same length as main 5-minutes RRA --> + <param name="rrd-create-hw-rralen" value="4032" /> + + <param name="data-file" value="%system-id%_%interface-nick%.rrd" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + + <!-- In other files, define the subtree of /SNMP for your routers --> + + </subtree> +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/site-global.xml b/torrus/xmlconfig/site-global.xml new file mode 100644 index 000000000..ad15ce2ad --- /dev/null +++ b/torrus/xmlconfig/site-global.xml @@ -0,0 +1,25 @@ +<?xml version="1.0"?> + +<!-- + Global configuration parameters, applied to every tree. + This file is not overwritten by "make install" + Uncomment what is needed and add new parameters here +--> + +<configuration> + +<datasources> + + <!-- Disperse the collector timeoffsets. Useful in large installations + and/or network devices with plenty interaces --> + <!-- param name="collector-dispersed-timeoffset" value="yes" --> + + <!-- This would replace the 6-hour small graphs with 24-hour ones --> + <!-- param name="rrgraph-views"> + last24h-small,last24h,lastweek,lastmonth,lastyear + </param --> + + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/snmp-defs.xml b/torrus/xmlconfig/snmp-defs.xml new file mode 100644 index 000000000..d55b45f0f --- /dev/null +++ b/torrus/xmlconfig/snmp-defs.xml @@ -0,0 +1,167 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: snmp-defs.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- These are the basic definitions for the SNMP collector + + WARNING: This file is overwritten by "make install" +--> + +<configuration> + +<param-properties> + <!-- Parameters which need to be expanded accorrding + to $defs and %paramrefs% --> + + <prop param="ifindex-table" prop="expand" value="1"/> + <prop param="snmp-host" prop="expand" value="1"/> + <prop param="snmp-object" prop="expand" value="1"/> + + <!-- Parameters which are included in search DB --> + <prop param="snmp-host" prop="search" value="1"/> + +</param-properties> + + +<datasources> + + <template name="snmp-defaults"> + <param name="ds-type" value="collector" /> + <param name="collector-type" value="snmp" /> + + <!-- Two mandatory parameters define the collector schedule. + The collector runs at moments defined by formula: + time + period - (time mod period) + timeoffset --> + <param name="collector-period" value="300" /> + <param name="collector-timeoffset" value="10" /> + + <param name="storage-type" value="rrd" /> + + <!-- Unique host identifier, normally same as hostname --> + <param name="system-id" value="%snmp-host%" /> + + <!-- Host-specific part of nodeid --> + <param name="nodeid-device" value="%system-id%" /> + + <!-- Host-level nodeid --> + <param name="nodeid" value="device//%nodeid-device%" /> + + <!-- SNMP Parameters --> + + <!-- + The following parameters must be defined elsewhere: + + snmp-host + + snmp-version + Valid values are: 1, 2c. + Version 3 will be supported in the future. + + snmp-port: UDP port to use (usually 161) + + snmp-community + + domain-name: will be appended to hostname if it contains no dots + + data-dir + data-file + --> + + <!-- Mandatory transport protocol --> + <param name="snmp-ipversion" value="4" /> + <param name="snmp-transport" value="udp" /> + + <!-- Mandatory session timeout and no. of retries --> + <param name="snmp-timeout" value="10" /> + <param name="snmp-retries" value="2" /> + + <!-- Number of SNMP OIDs per one UDP packet --> + <param name="snmp-oids-per-pdu" value="40" /> + + <!-- RRD Parameters --> + + <!-- Round-robin arrays to be created, separated by space. + By default we keep 5-minute details for 2 weeks, + 30-minute average and maximum details for 6 weeks, + and 1-day aggregated stats for 2 years. + In 30-minute average one missing sample is allowed. + In daily average one hour of missing samples are allowed. + --> + <param name="rrd-create-rra"> + RRA:AVERAGE:0:1:4032 + RRA:AVERAGE:0.17:6:2016 RRA:MAX:0.17:6:2016 + RRA:AVERAGE:0.042:288:732 RRA:MAX:0.042:288:732 + </param> + + <!-- if no updates are received for 8 minutes, consider the datasource + unknown, i.e. dead --> + <param name="rrd-create-heartbeat" value="500"/> + + <param name="rrd-create-min" value="0"/> + <param name="rrd-create-max" value="U"/> + + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + + <!-- Default schedule for the monitor --> + <param name="monitor-period" value="300" /> + <param name="monitor-timeoffset" value="75" /> + + <param name="searchable" value="yes" /> + </template> + + <!-- Optional Holt-Winters algorithm parameters + Default values are: + alpha=0.1, beta=0.0035, gamma=0.1, + window_length=9, failure_threshold=6 --> + + <template name="holt-winters-defaults"> + <param name="rrd-hwpredict" value="enabled" /> + + <param name="rrd-create-hw-alpha" value="0.1" /> + <param name="rrd-create-hw-beta" value="0.0035" /> + <param name="rrd-create-hw-gamma" value="0.1" /> + <param name="rrd-create-hw-winlen" value="9" /> + <param name="rrd-create-hw-failth" value="6" /> + + <!-- Optional Holt-Winters season length. + Default is one-day (288 5-minute intervals) --> + <param name="rrd-create-hw-season" value="288" /> + + <!-- Mandatory length of the Holt-Winters archives. + Recommended same length as main 5-minutes RRA --> + <param name="rrd-create-hw-rralen" value="4032" /> + </template> + + <!-- Template for read-only access to RRD files --> + + <template name="viewonly-defaults"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="system-id" value="%snmp-host%" /> + </template> + + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/alteon.xml b/torrus/xmlconfig/vendor/alteon.xml new file mode 100644 index 000000000..cf490ed2a --- /dev/null +++ b/torrus/xmlconfig/vendor/alteon.xml @@ -0,0 +1,695 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2006 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: alteon.xml,v 1.1 2010-12-27 00:04:11 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + + ALTEON leafs: + alteon-cpu + alteon-maint + alteon-maint-subtree + alteon-mem + alteon-packets + alteon-sensor + alteon-vserver + alteon-vserver-subtree + NOTE: Module tested against: ACEdirector(3) (snmpV1) +--> + +<!-- Alteon specific definitions --> +<configuration> + +<definitions> + <!-- ALTEON-PRIVATE-MIBS --> + <def name="hwSensor1Temp" value="1.3.6.1.4.1.1872.2.1.1.6.0"/> + <def name="hwSensor2Temp" value="1.3.6.1.4.1.1872.2.1.1.7.0"/> + <def name="hwSensor3Temp" value="1.3.6.1.4.1.1872.2.1.1.8.0"/> + <def name="hwSensor4Temp" value="1.3.6.1.4.1.1872.2.1.1.9.0"/> + <!-- Maintenance Statistics Table --> + <def name="slbStatPortMaintCurBindings" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.2"/> + <def name="slbStatPortMaintBindingFails" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.3"/> + <def name="slbStatPortMaintNonTcpFrames" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.4"/> + <def name="slbStatPortMaintTcpFragments" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.5"/> + <def name="slbStatPortMaintUdpDatagrams" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.6"/> + <def name="slbStatPortMaintIncorrectVIPs" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.7"/> + <def name="slbStatPortMaintIncorrectVports" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.8"/> + <def name="slbStatPortMaintRealServerNoAvails" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.9"/> + <def name="slbStatPortMaintFilteredDeniedFrames" + value="1.3.6.1.4.1.1872.2.1.8.2.1.1.10"/> + + <!-- Virtual Server Table --> + <def name="slbStatVServerCurrSessions" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.2"/> + <def name="slbStatVServerTotalSessions" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.2"/> + <def name="slbStatVServerHighestSessions" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.4"/> + <def name="slbStatVServerHCOctetsLow32" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.6"/> + <def name="slbStatVServerHCOctetsHigh32" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.7"/> + <!-- not used yet --> + <def name="slbStatVServerHeaderHits" value="1.3.6.1.4.1.1872.2.1.8.2.7.1.8"/> + <def name="slbStatVServerHeaderMisses" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.9"/> + <def name="slbStatVServerHeaderTotalSessions" + value="1.3.6.1.4.1.1872.2.1.8.2.7.1.10"/> + <!-- // --> + <def name="memStatsAllocs" value="1.3.6.1.4.1.1872.2.1.8.12.1.0"/> + <def name="memStatsFrees" value="1.3.6.1.4.1.1872.2.1.8.12.2.0"/> + <def name="memStatsAllocFails" value="1.3.6.1.4.1.1872.2.1.8.12.3.0"/> + <def name="memStatsBytesCurr" value="1.3.6.1.4.1.1872.2.1.8.12.4.0"/> + <def name="memStatsBytesHiwat" value="1.3.6.1.4.1.1872.2.1.8.12.5.0"/> + <def name="memStatsPoolBytes" value="1.3.6.1.4.1.1872.2.1.8.12.6.0"/> + <def name="memStatsLargest" value="1.3.6.1.4.1.1872.2.1.8.12.7.0"/> + <def name="pktStatsAllocs" value="1.3.6.1.4.1.1872.2.1.8.13.1.0"/> + <def name="pktStatsFrees" value="1.3.6.1.4.1.1872.2.1.8.13.2.0"/> + <def name="pktStatsAllocFails" value="1.3.6.1.4.1.1872.2.1.8.13.3.0"/> + <def name="pktStatsMediums" value="1.3.6.1.4.1.1872.2.1.8.13.4.0"/> + <def name="pktStatsJumbos" value="1.3.6.1.4.1.1872.2.1.8.13.5.0"/> + <def name="pktStatsSmalls" value="1.3.6.1.4.1.1872.2.1.8.13.6.0"/> + <def name="mpCpuAStatsUtil1Second" value="1.3.6.1.4.1.1872.2.1.8.16.1.0"/> + <def name="mpCpuBStatsUtil1Second" value="1.3.6.1.4.1.1872.2.1.8.16.2.0"/> + <def name="mpCpuAStatsUtil4Seconds" value="1.3.6.1.4.1.1872.2.1.8.16.3.0"/> + <def name="mpCpuBStatsUtil4Seconds" value="1.3.6.1.4.1.1872.2.1.8.16.4.0"/> + <def name="mpCpuAStatsUtil64Seconds" value="1.3.6.1.4.1.1872.2.1.8.16.5.0"/> + <def name="mpCpuBStatsUtil64Seconds" value="1.3.6.1.4.1.1872.2.1.8.16.6.0"/> + +</definitions> + + +<datasources> + <!-- CPU Statistics --> + <template name="alteon-cpu"> + <subtree name="CPU_Usage"> + <param name="comment"> + Alteon MP CPU statistics + </param> + <param name="data-file" value="%system-id%_SLB_cpu.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="Percentage"/> + + <leaf name="CPU_A_1Sec"> + <param name="precedence" value="301"/> + <param name="comment" value="Util of MP CPU A over 1 second"/> + <param name="graph-legend" value="Utilization"/> + <param name="rrd-ds" value="CpuAUtil1Sec"/> + <param name="snmp-object" value="$mpCpuAStatsUtil1Second"/> + </leaf> + + <leaf name="CPU_B_1Sec"> + <param name="precedence" value="300"/> + <param name="comment" value="Util of MP CPU B over 1 second"/> + <param name="graph-legend" value="Utilization"/> + <param name="rrd-ds" value="CpuBUtil1Sec"/> + <param name="snmp-object" value="$mpCpuBStatsUtil1Second"/> + </leaf> + + <leaf name="CPU_A_4Secs"> + <param name="precedence" value="201"/> + <param name="comment" value="Util of MP CPU A over 4 seconds"/> + <param name="graph-legend" value="Utilization"/> + <param name="rrd-ds" value="CpuAUtil4Sec"/> + <param name="snmp-object" value="$mpCpuAStatsUtil4Seconds"/> + </leaf> + + <leaf name="CPU_B_4Secs"> + <param name="precedence" value="200"/> + <param name="comment" value="Util of MP CPU B over 4 seconds"/> + <param name="graph-legend" value="Utilization"/> + <param name="rrd-ds" value="CpuBUtil4Sec"/> + <param name="snmp-object" value="$mpCpuBStatsUtil4Seconds"/> + </leaf> + + <leaf name="CPU_A_64Secs"> + <param name="precedence" value="101"/> + <param name="comment" value="Util of MP CPU A over 64 seconds"/> + <param name="graph-legend" value="Utilization"/> + <param name="rrd-ds" value="CpuAUtil64Sec"/> + <param name="snmp-object" value="$mpCpuAStatsUtil64Seconds"/> + </leaf> + + <leaf name="CPU_B_64Secs"> + <param name="precedence" value="100"/> + <param name="comment" value="Util of MP CPU B over 64 seconds"/> + <param name="graph-legend" value="Utilization"/> + <param name="rrd-ds" value="CpuBUtil64Sec"/> + <param name="snmp-object" value="$mpCpuBStatsUtil64Seconds"/> + </leaf> + + <leaf name="Summary_1_Sec"> + <param name="precedence" value="999"/> + <param name="comment" value="Util for 1 second"/> + <param name="title" value="Percentage : 1 Second"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="CPU_A,CPU_B"/> + <param name="graph-lower-limit" value="0"/> + <!-- CPU A: 1 Second --> + <param name="ds-expr-CPU_A" value="{CPU_A_1Sec}"/> + <param name="graph-legend-CPU_A" value="CPU A"/> + <param name="line-style-CPU_A" value="LINE2"/> + <param name="line-color-CPU_A" value="##one"/> + <param name="line-order-CPU_A" value="1"/> + <!-- CPU B: 1 Second --> + <param name="ds-expr-CPU_B" value="{CPU_B_1Sec}"/> + <param name="graph-legend-CPU_B" value="CPU B"/> + <param name="line-style-CPU_B" value="LINE2"/> + <param name="line-color-CPU_B" value="##two"/> + <param name="line-order-CPU_B" value="2"/> + </leaf> + + <leaf name="Summary_4_Secs"> + <param name="precedence" value="998"/> + <param name="comment" value="Util for 4 seconds"/> + <param name="title" value="Percentage : 4 Seconds"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="CPU_A,CPU_B"/> + <param name="graph-lower-limit" value="0"/> + <!-- CPU A: 4 Seconds --> + <param name="ds-expr-CPU_A" value="{CPU_A_4Secs}"/> + <param name="graph-legend-CPU_A" value="CPU A"/> + <param name="line-style-CPU_A" value="LINE2"/> + <param name="line-color-CPU_A" value="##one"/> + <param name="line-order-CPU_A" value="1"/> + <!-- CPU B: 4 Seconds --> + <param name="ds-expr-CPU_B" value="{CPU_B_4Secs}"/> + <param name="graph-legend-CPU_B" value="CPU B"/> + <param name="line-style-CPU_B" value="LINE2"/> + <param name="line-color-CPU_B" value="##two"/> + <param name="line-order-CPU_B" value="2"/> + </leaf> + + <leaf name="Summary_64_Secs"> + <param name="precedence" value="997"/> + <param name="comment" value="Util for 64 seconds"/> + <param name="title" value="Percentage : 64 Seconds"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="CPU_A,CPU_B"/> + <param name="graph-lower-limit" value="0"/> + <!-- CPU A: 64 Seconds --> + <param name="ds-expr-CPU_A" value="{CPU_A_64Secs}"/> + <param name="graph-legend-CPU_A" value="CPU A"/> + <param name="line-style-CPU_A" value="LINE2"/> + <param name="line-color-CPU_A" value="##one"/> + <param name="line-order-CPU_A" value="1"/> + <!-- CPU B: 64 Seconds --> + <param name="ds-expr-CPU_B" value="{CPU_B_64Secs}"/> + <param name="graph-legend-CPU_B" value="CPU B"/> + <param name="line-style-CPU_B" value="LINE2"/> + <param name="line-color-CPU_B" value="##two"/> + <param name="line-order-CPU_B" value="2"/> + </leaf> + </subtree> + </template> + + <!-- Memory Statistics --> + <template name="alteon-mem"> + <subtree name="Memory_Usage"> + <param name="comment"> + Memory Statistics Group + </param> + <param name="data-file" value="%system-id%_SLB_mem.rrd"/> + + <leaf name="Memory_Alloc"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="999"/> + <param name="comment" + value="Total number of memory allocations"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="memStatsAllocs"/> + <param name="snmp-object" value="$memStatsAllocs"/> + </leaf> + + <leaf name="Memory_Free"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="998"/> + <param name="comment" + value="Total number of memory frees"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="memStatsFrees"/> + <param name="snmp-object" value="$memStatsFrees"/> + </leaf> + + <leaf name="Memory_Alloc_Fails"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="997"/> + <param name="comment" + value="Total number of memory allocations failed"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="memStatsAllocFails"/> + <param name="snmp-object" value="$memStatsAllocFails"/> + </leaf> + + <leaf name="Memory_Bytes_Curr"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="precedence" value="899"/> + <param name="comment" + value="Outstanding memory in bytes have been allocated"/> + <param name="vertical-label" value="Bytes"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="memStatsBytesCurr"/> + <param name="snmp-object" value="$memStatsBytesCurr"/> + </leaf> + + <leaf name="Memory_Bytes_High_Water_Mark"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="precedence" value="898"/> + <param name="comment" + value="Bytes allocated witch high water mark"/> + <param name="vertical-label" value="Bytes"/> + <param name="graph-legend" value="Bytes"/> + <param name="rrd-ds" value="memStatsBytesHiwat"/> + <param name="snmp-object" value="$memStatsBytesHiwat"/> + </leaf> + + <leaf name="Memory_Bytes_Total"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="precedence" value="897"/> + <param name="comment" + value="Total bytes in the memory pool"/> + <param name="vertical-label" value="Bytes"/> + <param name="graph-legend" value="Bytes"/> + <param name="rrd-ds" value="memStatsPoolBytes"/> + <param name="snmp-object" value="$memStatsPoolBytes"/> + </leaf> + + <leaf name="Memory_Bytes_Largest_Alloc"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="precedence" value="896"/> + <param name="comment" + value="Largest block has been allocated"/> + <param name="vertical-label" value="Bytes"/> + <param name="graph-legend" value="Bytes"/> + <param name="rrd-ds" value="memStatsLargest"/> + <param name="snmp-object" value="$memStatsLargest"/> + </leaf> + </subtree> + </template> + + <!-- Packet Statistics --> + <template name="alteon-packets"> + <subtree name="Packet_Stats"> + <param name="comment"> + Packet Statistics Group + </param> + <param name="data-file" value="%system-id%_SLB_pkts.rrd"/> + + <leaf name="Packets_Alloc"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="999"/> + <param name="comment" + value="Total packets which have been allocated"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="pktStatsAllocs"/> + <param name="snmp-object" value="$pktStatsAllocs"/> + </leaf> + + <leaf name="Packets_Freed"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="998"/> + <param name="comment" + value="Total packets which have been freed"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="pktStatsFrees"/> + <param name="snmp-object" value="$pktStatsFrees"/> + </leaf> + + <leaf name="Packets_Alloc_Fails"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="997"/> + <param name="comment" + value="Total packet allocations failed"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="pktStatsAllocFails"/> + <param name="snmp-object" value="$pktStatsAllocFails"/> + </leaf> + <!-- Packet Size information --> + <leaf name="Packets_Size_Small"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="803"/> + <param name="comment" + value="Number of small size packets have been allocated"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="pktStatsSmalls"/> + <param name="snmp-object" value="$pktStatsSmalls"/> + </leaf> + + <leaf name="Packets_Size_Medium"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="802"/> + <param name="comment" + value="Number of medium size packets have been allocated"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="pktStatsMediums"/> + <param name="snmp-object" value="$pktStatsMediums"/> + </leaf> + + <leaf name="Packets_Size_Jumbo"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="801"/> + <param name="comment" + value="Number of jumbo size packets have been allocated"/> + <param name="vertical-label" value="Total"/> + <param name="graph-legend" value="Number"/> + <param name="rrd-ds" value="pktStatsJumbos"/> + <param name="snmp-object" value="$pktStatsJumbos"/> + </leaf> + </subtree> + </template> + + <!-- Temperature Sensors --> + <template name="alteon-sensor"> + <subtree name="Temperature"> + <param name="comment"> + Alteon Temperature Sensors + </param> + <param name="data-file" value="%system-id%_SLB_sensor.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="degrees Celsius"/> + + <leaf name="All_Temperatures"> + <param name="precedence" value="1000"/> + <param name="comment" value="Display all 4 temperatures"/> + <param name="title" value="Temperature"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="CPU_A,CPU_B,Temp3,Temp4"/> + <param name="graph-lower-limit" value="0"/> + <!-- Temperature Sensor 1 --> + <param name="ds-expr-CPU_A" value="{CPU_A}"/> + <param name="graph-legend-CPU_A" value="Hw Sensor 1: rear left"/> + <param name="line-style-CPU_A" value="LINE2"/> + <param name="line-color-CPU_A" value="##one"/> + <param name="line-order-CPU_A" value="1"/> + <!-- Temperature Sensor 2 --> + <param name="ds-expr-CPU_B" value="{CPU_B}"/> + <param name="graph-legend-CPU_B" value="Hw Sensor 2: rear middle"/> + <param name="line-style-CPU_B" value="LINE2"/> + <param name="line-color-CPU_B" value="##two"/> + <param name="line-order-CPU_B" value="2"/> + <!-- Temperature Sensor 3 --> + <param name="ds-expr-Temp3" value="{Temp3}"/> + <param name="graph-legend-Temp3" value="Hw Sensor 3: front middle"/> + <param name="line-style-Temp3" value="LINE2"/> + <param name="line-color-Temp3" value="##three"/> + <param name="line-order-Temp3" value="3"/> + <!-- Temperature Sensor 4 --> + <param name="ds-expr-Temp4" value="{Temp4}"/> + <param name="graph-legend-Temp4" value="Hw Sensor 4: front right"/> + <param name="line-style-Temp4" value="LINE2"/> + <param name="line-color-Temp4" value="##four"/> + <param name="line-order-Temp4" value="4"/> + </leaf> + + <leaf name="CPU_A"> + <param name="comment" value="Temp of Sensor 1: rear left"/> + <param name="graph-legend" value="degrees Celcius"/> + <param name="rrd-ds" value="hwSensor1Temp"/> + <param name="snmp-object" value="$hwSensor1Temp"/> + </leaf> + + <leaf name="CPU_B"> + <param name="comment" value="Temp of Sensor 2: rear middle"/> + <param name="graph-legend" value="degrees Celcius"/> + <param name="rrd-ds" value="hwSensor2Temp"/> + <param name="snmp-object" value="$hwSensor2Temp"/> + </leaf> + + <leaf name="Temp3"> + <param name="comment" value="Temp of Sensor 3: front middle"/> + <param name="graph-legend" value="degrees Celcius"/> + <param name="rrd-ds" value="hwSensor3Temp"/> + <param name="snmp-object" value="$hwSensor3Temp"/> + </leaf> + + <leaf name="Temp4"> + <param name="comment" value="Temp of Sensor 4: front right"/> + <param name="graph-legend" value="degrees Celcius"/> + <param name="rrd-ds" value="hwSensor4Temp"/> + <param name="snmp-object" value="$hwSensor4Temp"/> + </leaf> + </subtree> + </template> + + <!-- SLB Virtual Servers Statistics Table --> + <template name="alteon-vserver-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="currSess,totalSess"/> + <!-- Concurrent Sessions --> + <param name="overview-subleave-name-currSess" value="Current_Sessions"/> + <param name="overview-shortcut-text-currSess" + value="Concurrent Sessions"/> + <param name="overview-shortcut-title-currSess" + value="Show concurrent session summary for all VServers"/> + <param name="overview-page-title-currSess" + value="Concurrent VServer connection overview"/> + <!-- Total Sessions --> + <param name="overview-subleave-name-totalSess" value="Total_Sessions"/> + <param name="overview-shortcut-text-totalSess" + value="Total Sessions"/> + <param name="overview-shortcut-title-totalSess" + value="Show total session summary for all VServers"/> + <param name="overview-page-title-totalSess" + value="Total VServer connection overview"/> + </template> + + <template name="alteon-vserver"> + <param name="data-file" value="%system-id%_SLB_vserver.rrd"/> + <param name="rrd-create-dstype" value="COUNTER"/> + + <leaf name="Current_Sessions"> + <param name="precedence" value="999"/> + <param name="comment" value="Number of concurrent sessions"/> + <param name="graph-legend" value="Concurrent number"/> + <param name="vertical-label" value="concurrent"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" + value="CurrSessions_%alteon-vserver-index%"/> + <param name="snmp-object" + value="$slbStatVServerCurrSessions.%alteon-vserver-index%"/> + </leaf> + + <leaf name="Total_Sessions"> + <param name="precedence" value="998"/> + <param name="comment" value="Number of total sessions"/> + <param name="graph-legend" value="total number"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="TotalSessions_%alteon-vserver-index%"/> + <param name="snmp-object" + value="$slbStatVServerTotalSessions.%alteon-vserver-index%"/> + </leaf> + + <leaf name="Highest_Sessions"> + <param name="precedence" value="997"/> + <param name="comment" value="Highest sessions handled"/> + <param name="graph-legend" value="highest session count"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="HighestSessions_%alteon-vserver-index%"/> + <param name="snmp-object" + value="$slbStatVServerHighestSessions.%alteon-vserver-index%"/> + </leaf> + + <leaf name="Octets_rcvd_xmit_Low32"> + <param name="precedence" value="996"/> + <param name="comment" value="Lower 32bit value of rcvd/xmit"/> + <param name="graph-legend" value="rcvd/xmit"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="HCOctetsLow32_%alteon-vserver-index%"/> + <param name="snmp-object" + value="$slbStatVServerHCOctetsLow32.%alteon-vserver-index%"/> + </leaf> + + <leaf name="Octets_rcvd_xmit_High32"> + <param name="precedence" value="995"/> + <param name="comment" value="Higher 32bit value of rcvd/xmit"/> + <param name="graph-legend" value="rcvd/xmit"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="HCOctetsHigh32_%alteon-vserver-index%"/> + <param name="snmp-object" + value="$slbStatVServerHCOctetsHigh32.%alteon-vserver-index%"/> + </leaf> + </template> + + <!-- SLB Port Maintenance Statistics Table --> + <template name="alteon-maint-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="currBind,failSess,filterDeny"/> + <!-- Current Bindings --> + <param name="overview-subleave-name-currBind" value="Current_Bindings"/> + <param name="overview-shortcut-text-currBind" + value="Current Bindings"/> + <param name="overview-shortcut-title-currBind" + value="Show current number of bindings per port"/> + <param name="overview-page-title-currBind" + value="Current number of bindings overview"/> + <!-- Failed Bindings --> + <param name="overview-subleave-name-failSess" value="Failed_Bindings"/> + <param name="overview-shortcut-text-failSess" + value="Failed Bindings"/> + <param name="overview-shortcut-title-failSess" + value="Show total number of binding failures"/> + <param name="overview-page-title-failSess" + value="Total number of binding failures"/> + <!-- Filtered Denied Frames --> + <param name="overview-subleave-name-filterDeny" + value="Filtered_Denied_Frames"/> + <param name="overview-shortcut-text-filterDeny" + value="Frames denied"/> + <param name="overview-shortcut-title-filterDeny" + value="Show total number of frames denied by filters"/> + <param name="overview-page-title-filterDeny" + value="Total number of frames that are denied due to port filter"/> + </template> + + <template name="alteon-maint"> + <param name="data-file" value="%system-id%_SLB_maint.rrd"/> + <param name="rrd-create-dstype" value="COUNTER"/> + + <leaf name="Current_Bindings"> + <param name="precedence" value="999"/> + <param name="comment" value="Current number of bindings"/> + <param name="graph-legend" value="Current number"/> + <param name="vertical-label" value="current"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" + value="CurBindings_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintCurBindings.%alteon-maint-index%"/> + </leaf> + + <leaf name="Failed_Bindings"> + <param name="precedence" value="998"/> + <param name="comment" value="Total number of binding failures"/> + <param name="graph-legend" value="Total number"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="BindingFails_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintBindingFails.%alteon-maint-index%"/> + </leaf> + + <leaf name="Non_TCP_Frames"> + <param name="precedence" value="997"/> + <param name="comment" + value="Total number of non-TCP/IP frames dropped on the port"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="NonTcpFrames_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintNonTcpFrames.%alteon-maint-index%"/> + </leaf> + + <leaf name="TCP_Fragments"> + <param name="precedence" value="996"/> + <param name="comment" + value="Total number of TCP fragments dropped on the port"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="TcpFragments_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintTcpFragments.%alteon-maint-index%"/> + </leaf> + + <leaf name="UDP_Datagrams"> + <param name="precedence" value="995"/> + <param name="comment" + value="Total number of UDP datagrams dropped on the port"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="UdpDatagrams_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintUdpDatagrams.%alteon-maint-index%"/> + </leaf> + + <leaf name="Incorrect_VIPs"> + <param name="precedence" value="994"/> + <param name="comment" + value="Total number of frames with incorrect VIPs dropped"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="IncorrectVIPs_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintIncorrectVIPs.%alteon-maint-index%"/> + </leaf> + + <leaf name="Incorrect_Vports"> + <param name="precedence" value="993"/> + <param name="comment" + value="Total number of frames with incorrect Virtual Port dropped"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="IncorrectVports_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintIncorrectVports.%alteon-maint-index%"/> + </leaf> + + <leaf name="Real_Servers_Not_Avail"> + <param name="precedence" value="992"/> + <param name="comment" + value="Total number of frames that are dropped on the port because + no real server is avail"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="ServerNoAvails_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintRealServerNoAvails.%alteon-maint-index%"/> + </leaf> + + <leaf name="Filtered_Denied_Frames"> + <param name="precedence" value="991"/> + <param name="comment" + value="Total number of frames that are denied on the port + by the filter"/> + <param name="graph-legend" value="Drops"/> + <param name="vertical-label" value="total"/> + <param name="rrd-ds" + value="FilDeniedFrames_%alteon-maint-index%"/> + <param name="snmp-object" + value="$slbStatPortMaintFilteredDeniedFrames.%alteon-maint-index%"/> + </leaf> + </template> + +</datasources> + +</configuration> + diff --git a/torrus/xmlconfig/vendor/alu-timetra.xml b/torrus/xmlconfig/vendor/alu-timetra.xml new file mode 100644 index 000000000..f83022494 --- /dev/null +++ b/torrus/xmlconfig/vendor/alu-timetra.xml @@ -0,0 +1,425 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2010 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + Alcatel-Lucent ESS and SR routers + + $Id: alu-timetra.xml,v 1.1 2010-12-27 00:04:21 ivan Exp $ +--> + + +<configuration> + <definitions> + <!-- TIMETRA-SERV-MIB --> + <def name="sapBaseStatsIngressPchipDroppedPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.1"/> + <def name="sapBaseStatsIngressPchipDroppedOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.2"/> + <def name="sapBaseStatsIngressPchipOfferedHiPrioPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.3"/> + <def name="sapBaseStatsIngressPchipOfferedHiPrioOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.4"/> + <def name="sapBaseStatsIngressPchipOfferedLoPrioPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.5"/> + <def name="sapBaseStatsIngressPchipOfferedLoPrioOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.6"/> + <def name="sapBaseStatsIngressQchipDroppedHiPrioPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.7"/> + <def name="sapBaseStatsIngressQchipDroppedHiPrioOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.8"/> + <def name="sapBaseStatsIngressQchipDroppedLoPrioPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.9"/> + <def name="sapBaseStatsIngressQchipDroppedLoPrioOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.10"/> + <def name="sapBaseStatsIngressQchipForwardedInProfPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.11"/> + <def name="sapBaseStatsIngressQchipForwardedInProfOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.12"/> + <def name="sapBaseStatsIngressQchipForwardedOutProfPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.13"/> + <def name="sapBaseStatsIngressQchipForwardedOutProfOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.14"/> + <def name="sapBaseStatsEgressQchipDroppedInProfPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.15"/> + <def name="sapBaseStatsEgressQchipDroppedInProfOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.16"/> + <def name="sapBaseStatsEgressQchipDroppedOutProfPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.17"/> + <def name="sapBaseStatsEgressQchipDroppedOutProfOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.18"/> + <def name="sapBaseStatsEgressQchipForwardedInProfPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.19"/> + <def name="sapBaseStatsEgressQchipForwardedInProfOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.20"/> + <def name="sapBaseStatsEgressQchipForwardedOutProfPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.21"/> + <def name="sapBaseStatsEgressQchipForwardedOutProfOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.22"/> + <def name="sapBaseStatsIngressPchipOfferedUncoloredPackets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.24"/> + <def name="sapBaseStatsIngressPchipOfferedUncoloredOctets" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.25"/> + <def name="sapBaseStatsAuthenticationPktsDiscarded" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.26"/> + <def name="sapBaseStatsAuthenticationPktsSuccess" + value="1.3.6.1.4.1.6527.3.1.2.4.3.6.1.27"/> + </definitions> + +<datasources> + + <template name="alu-timetra-customer"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="traffic,discards"/> + + <param name="overview-subleave-name-traffic" value="InOut_bps"/> + <param name="overview-shortcut-text-traffic" + value="Traffic"/> + <param name="overview-shortcut-title-traffic" + value="Show egress and ingress traffic for all SAPs on one page"/> + <param name="overview-page-title-traffic" + value="Egress/ingress traffic graphs"/> + <param name="overview-direct-link-traffic" value="yes"/> + <param name="overview-direct-link-view-traffic" + value="expanded-dir-html"/> + + <param name="overview-subleave-name-discards"> + IngressQchipDroppedHiPrioPackets, + IngressQchipDroppedLoPrioPackets, + EgressQchipDroppedInProfPackets, + EgressQchipDroppedOutProfPackets + </param> + <param name="overview-shortcut-text-discards" + value="Discards"/> + <param name="overview-shortcut-title-discards" + value="Show all packet discards for all SAPs on one page"/> + <param name="overview-page-title-discards" + value="Packet Discards"/> + <param name="overview-direct-link-discards" value="yes"/> + <param name="overview-direct-link-view-discards" + value="expanded-dir-html"/> + </template> + + + <template name="alu-timetra-sap"> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%timetra-sap-id%" /> + <param name="data-file" + value="%system-id%_sap_%timetra-sap-id%_%timetra-stat-category%.rrd"/> + + <param name="descriptive-nickname" + value="%system-id% %timetra-sap-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="ext-dstype" value="COUNTER64" /> + <param name="rrd-create-max" value="1e15"/> + <param name="ext-counter-max" value="1e15"/> + <param name="graph-lower-limit" value="0" /> + + <param name="nodeid-sap"> + sap//%nodeid-device%//%timetra-customer-id%//%timetra-sap-name% + </param> + + <leaf name="InOut_bps"> + <param name="comment" + value="Egress and Ingress bits per second graph"/> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="5000" /> + <param name="nodeid" value="%nodeid-sap%//inoutbit"/> + + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="ingrinp,ingrop,egrinp,egrop" /> + + <param name="ds-expr-ingrinp" + value="{IngressQchipForwardedInProfOctets},8,*" /> + <param name="graph-legend-ingrinp" + value="Ingress bps in-profile" /> + <param name="line-style-ingrinp" value="AREA" /> + <param name="line-color-ingrinp" value="##green" /> + <param name="line-order-ingrinp" value="1" /> + + <param name="ds-expr-ingrop" + value="{IngressQchipForwardedOutProfOctets},8,*" /> + <param name="graph-legend-ingrop" + value="Ingress bps out-of-profile" /> + <param name="line-style-ingrop" value="AREA" /> + <param name="line-stack-ingrop" value="yes" /> + <param name="line-color-ingrop" value="##green75" /> + <param name="line-order-ingrop" value="2" /> + + <param name="ds-expr-egrinp" + value="{EgressQchipForwardedInProfOctets},8,*" /> + <param name="graph-legend-egrinp" + value="Egress bps in-profile" /> + <param name="line-style-egrinp" value="LINE2" /> + <param name="line-color-egrinp" value="##blue" /> + <param name="line-order-egrinp" value="11" /> + + <param name="ds-expr-egrop" + value="{EgressQchipForwardedOutProfOctets},8,*" /> + <param name="graph-legend-egrop" + value="Egress bps out-of-profile" /> + <param name="line-style-egrop" value="LINE1.5" /> + <param name="line-color-egrop" value="##blue75" /> + <param name="line-stack-egrop" value="yes" /> + <param name="line-order-egrop" value="12" /> + </leaf> + + + + <leaf name="IngressQchipDroppedHiPrioPackets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipDroppedHiPrioPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropHPrPkt" /> + <param name="comment" + value="The number of high priority packets dropped by the Qchip" /> + <param name="graph-legend" value="Ingress HPr packets dropped" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="1000" /> + </leaf> + + <leaf name="IngressQchipDroppedHiPrioOctets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipDroppedHiPrioOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropHPrOct" /> + <param name="comment"> + The number of high priority octets dropped by the Qchip + </param> + <param name="graph-legend" value="Ingress HPr bytes dropped" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="990" /> + </leaf> + + + + <leaf name="IngressQchipDroppedLoPrioPackets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipDroppedLoPrioPackets.%timetra-sap-id%" + </param> + <param name="rrd-ds" value="DropLPrPkt" /> + <param name="comment"> + The number of low priority packets dropped by the Qchip + </param> + <param name="graph-legend" value="Ingress LPr packets dropped" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="980" /> + </leaf> + + <leaf name="IngressQchipDroppedLoPrioOctets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipDroppedLoPrioOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropLPrOct" /> + <param name="comment"> + The number of low priority octets dropped by the Qchip + </param> + <param name="graph-legend" value="Ingress LPr bytes dropped" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="970" /> + </leaf> + + + + <leaf name="IngressQchipForwardedInProfPackets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipForwardedInProfPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwInProfPkt" /> + <param name="comment"> + The number of in-profile packets forwarded by the ingress Qchip + </param> + <param name="graph-legend" value="Ingress INP packets forwarded" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="960" /> + </leaf> + + <leaf name="IngressQchipForwardedInProfOctets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipForwardedInProfOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwInProfOct" /> + <param name="comment"> + The number of in-profile octets forwarded by the ingress Qchip + </param> + <param name="graph-legend" value="Ingress INP bytes forwarded" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="950" /> + </leaf> + + + <leaf name="IngressQchipForwardedOutProfPackets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipForwardedInProfPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwOutProfPkt" /> + <param name="comment"> + The number of in-profile packets forwarded by the ingress Qchip + </param> + <param name="graph-legend" value="Ingress OP packets forwarded" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="940" /> + </leaf> + + <leaf name="IngressQchipForwardedOutProfOctets"> + <param name="timetra-stat-category" value="IngressQchip" /> + <param name="snmp-object"> + $sapBaseStatsIngressQchipForwardedOutProfOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwOutProfOct" /> + <param name="comment"> + The number of in-profile octets forwarded by the ingress Qchip + </param> + <param name="graph-legend" value="Ingress OP bytes forwarded" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="930" /> + </leaf> + + + + + <leaf name="EgressQchipDroppedInProfPackets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipDroppedInProfPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropInProfPkt" /> + <param name="comment"> + The number of in-profile packets discarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress INP packets dropped" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="700" /> + </leaf> + + <leaf name="EgressQchipDroppedInProfOctets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipDroppedInProfOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropInProfOct" /> + <param name="comment"> + The number of in-profile octets discarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress INP bytes dropped" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="690" /> + </leaf> + + + <leaf name="EgressQchipDroppedOutProfPackets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipDroppedOutProfPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropOutProfPkt" /> + <param name="comment"> + The number of out-of-profile packets discarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress OP packets dropped" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="680" /> + </leaf> + + <leaf name="EgressQchipDroppedOutProfOctets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipDroppedOutProfOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="DropOutProfOct" /> + <param name="comment"> + The number of out-of-profile octets discarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress OP bytes dropped" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="670" /> + </leaf> + + + <leaf name="EgressQchipForwardedInProfPackets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipForwardedInProfPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwInProfPkt" /> + <param name="comment"> + The number of in-profile packets forwarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress INP packets forwarded" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="660" /> + </leaf> + + <leaf name="EgressQchipForwardedInProfOctets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipForwardedInProfOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwInProfOct" /> + <param name="comment"> + The number of in-profile octets forwarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress INP bytes forwarded" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="650" /> + </leaf> + + + <leaf name="EgressQchipForwardedOutProfPackets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipForwardedInProfPackets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwOutProfPkt" /> + <param name="comment"> + The number of in-profile packets forwarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress OP packets forwarded" /> + <param name="vertical-label" value="pps" /> + <param name="precedence" value="640" /> + </leaf> + + <leaf name="EgressQchipForwardedOutProfOctets"> + <param name="timetra-stat-category" value="EgressQchip" /> + <param name="snmp-object"> + $sapBaseStatsEgressQchipForwardedOutProfOctets.%timetra-sap-id% + </param> + <param name="rrd-ds" value="FwOutProfOct" /> + <param name="comment"> + The number of in-profile octets forwarded by the egress Qchip + </param> + <param name="graph-legend" value="Egress OP bytes forwarded" /> + <param name="vertical-label" value="Bps" /> + <param name="precedence" value="630" /> + </leaf> + + + </template> + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/apc.ups.xml b/torrus/xmlconfig/vendor/apc.ups.xml new file mode 100644 index 000000000..5ee2a6511 --- /dev/null +++ b/torrus/xmlconfig/vendor/apc.ups.xml @@ -0,0 +1,135 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com> + + File: vendor/apc.ups.xml + Description: APC UPS battery monitor definitions and templates for Torrus. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. +--> + +<!-- + Tested with APC Matrix 5000 and 3000 units using internal or + external Web/SNMP mgmt. cards via SNMP v1. +--> + + +<configuration> + +<definitions> + <!-- APC UPS MIB --> + <def name="apcUpsAdvBatteryRunTimeRemaining" + value="1.3.6.1.4.1.318.1.1.1.2.2.3" /> + <def name="apcUpsAdvBatteryCapacity" + value="1.3.6.1.4.1.318.1.1.1.2.2.1" /> + <def name="apcUpsAdvBatteryTemperature" + value="1.3.6.1.4.1.318.1.1.1.2.2.2" /> + <def name="apcUpsAdvOutputLoad" + value="1.3.6.1.4.1.318.1.1.1.4.2.3" /> + <def name="apcUpsAdvOutputCurrent" + value="1.3.6.1.4.1.318.1.1.1.4.2.4" /> +</definitions> + +<datasources> + + <template name="apcups-health"> + <param name="data-file" value="%system-id%_health.rrd" /> + + <leaf name="Battery_Runtime_Ticks"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="precedence" value="90" /> + <param name="snmp-object" + value="$apcUpsAdvBatteryRunTimeRemaining.0"/> + <param name="rrd-ds" value="BatRunTimeRemain" /> + <param name="comment"> + The UPS Battery Runtime (Ticks) + </param> + <param name="graph-legend" value="Runtime (Ticks)" /> + </leaf> + + <leaf name="Battery_Runtime_Minutes"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="precedence" value="100" /> + <param name="rpn-expr" + value="{Battery_Runtime_Ticks},6000,/" /> + <param name="comment"> + The UPS Battery Runtime (Minutes) + </param> + <param name="graph-legend" value="Runtime (Minutes)" /> + </leaf> + + <leaf name="Battery_Capacity"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="precedence" value="85" /> + <param name="snmp-object" value="$apcUpsAdvBatteryCapacity.0"/> + <param name="rrd-ds" value="BatteryCapacity" /> + <param name="comment"> + The remaining battery capacity expressed in percent of full capacity. + </param> + <param name="graph-legend" value="Percent Capacity" /> + </leaf> + + <leaf name="Battery_Temperature_Celsius"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="precedence" value="70" /> + <param name="snmp-object" value="$apcUpsAdvBatteryTemperature.0"/> + <param name="rrd-ds" value="IntTemperature" /> + <param name="comment"> + The UPS Internal Temperature (Celsius) + </param> + <param name="graph-legend" value="Temperature (Celsius)" /> + </leaf> + + <leaf name="Battery_Temperature_Fahrenheit"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="precedence" value="80" /> + <param name="rpn-expr" + value="32,{Battery_Temperature_Celsius},1.8,*,+" /> + <param name="comment"> + The UPS Internal Temperature (Fahrenheit) + </param> + <param name="graph-legend" value="Temperature (Fahrenheit)" /> + </leaf> + + <leaf name="Battery_Output_Load"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="precedence" value="60" /> + <param name="snmp-object" value="$apcUpsAdvOutputLoad.0"/> + <param name="rrd-ds" value="OutputLoad" /> + <param name="comment"> + The current UPS load expressed in percent of rated capacity. + </param> + <param name="graph-legend" value="Percent Load" /> + </leaf> + + <leaf name="Battery_Output_Current"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="precedence" value="50" /> + <param name="snmp-object" value="$apcUpsAdvOutputCurrent.0"/> + <param name="rrd-ds" value="OutputCurrent" /> + <param name="comment"> + The current in ampres drawn by the load on the UPS. + </param> + <param name="graph-legend" value="Current Ampres" /> + </leaf> + </template> + <!-- apcups-health --> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/apple.ae.xml b/torrus/xmlconfig/vendor/apple.ae.xml new file mode 100644 index 000000000..6f9990dd6 --- /dev/null +++ b/torrus/xmlconfig/vendor/apple.ae.xml @@ -0,0 +1,181 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2007 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: apple.ae.xml,v 1.1 2010-12-27 00:04:17 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- Apple Airport Extreme --> + +<configuration> + +<definitions> + <!-- AIRPORT-BASESTATION-3-MIB::baseStation3 --> + <def name="wirelessNumber" value="1.3.6.1.4.1.63.501.3.2.1.0"/> + + <def name="wirelessStrength" value="1.3.6.1.4.1.63.501.3.2.2.1.6"/> + <def name="wirelessNoise" value="1.3.6.1.4.1.63.501.3.2.2.1.7"/> + <def name="wirelessRate" value="1.3.6.1.4.1.63.501.3.2.2.1.8"/> + <def name="wirelessNumRX" value="1.3.6.1.4.1.63.501.3.2.2.1.9"/> + <def name="wirelessNumTX" value="1.3.6.1.4.1.63.501.3.2.2.1.10"/> + <def name="wirelessNumRXErrors" value="1.3.6.1.4.1.63.501.3.2.2.1.11"/> + <def name="wirelessNumTXErrors" value="1.3.6.1.4.1.63.501.3.2.2.1.12"/> + + <def name="dhcpNumber" value="1.3.6.1.4.1.63.501.3.3.1.0"/> +</definitions> + + +<datasources> + <template name="ae-global-stats"> + <subtree name="Global_Stats"> + <param name="comment" value="Global statistics"/> + <param name="data-file" value="%system-id%_global.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="DHCP_Clients"> + <param name="comment" value="Total number of DHCP clients"/> + <param name="graph-title" value="%system-id%:DHCP Clients"/> + <param name="rrd-ds" value="dhcpNumber"/> + <param name="snmp-object" value="$dhcpNumber"/> + </leaf> + <leaf name="Wireless_Clients"> + <param name="comment" value="Total number of wireless clients"/> + <param name="graph-title" value="%system-id%:Wireless Clients"/> + <param name="rrd-ds" value="wirelessNumber"/> + <param name="snmp-object" value="$wirelessNumber"/> + </leaf> + </subtree> + </template> + + + <template name="ae-wireless-clients-subtree"> + <param name="comment" value="Wireless client information"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="strength,rate,noise"/> + <!-- Wireless Strength --> + <param name="overview-subleave-name-strength" + value="Wireless_Strength"/> + <param name="overview-shortcut-text-strength" + value="All wireless strength"/> + <param name="overview-shortcut-title-strength" + value="Show all wireless client strengths"/> + <param name="overview-page-title-strength" + value="Wireless strength overview per client"/> + <!-- Wireless Rate --> + <param name="overview-subleave-name-rate" + value="Wireless_Rate"/> + <param name="overview-shortcut-text-rate" + value="All wireless rates"/> + <param name="overview-shortcut-title-rate" + value="Show all wireless client rates"/> + <param name="overview-page-title-rate" + value="Wireless rate overview per client"/> + <!-- Wireless Noise --> + <param name="overview-subleave-name-noise" + value="Wireless_Noise"/> + <param name="overview-shortcut-text-noise" + value="All wireless noise"/> + <param name="overview-shortcut-title-noise" + value="Show all wireless client noise"/> + <param name="overview-page-title-noise" + value="Wireless noise overview per client"/> + </template> + + + <template name="ae-wireless-clients-leaf"> + <param name="comment" value="%wireless-mac%"/> + <param name="data-file" + value="%system-id%_wireless_%wireless-macFix%.rrd"/> + <param name="graph-title" value="%system-id%:%wireless-mac%"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object-type" value="COUNTER64" /> + + <leaf name="Wireless_Strength"> + <param name="comment" + value="The signal strength reported by the wireless client"/> + <param name="graph-legend" value="Signal"/> + <param name="precedence" value="910"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-create-min" value="U"/> + <param name="rrd-ds" value="wirelessStrength"/> + <param name="snmp-object" + value="$wirelessStrength.%wireless-macOid%"/> + </leaf> + <leaf name="Wireless_Noise"> + <param name="comment" + value="The noise reported by the wireless client"/> + <param name="graph-legend" value="Noise"/> + <param name="precedence" value="909"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-create-min" value="U"/> + <param name="rrd-ds" value="wirelessNoise"/> + <param name="snmp-object" + value="$wirelessNoise.%wireless-macOid%"/> + </leaf> + <leaf name="Wireless_Rate"> + <param name="comment" + value="The rate reported by the wireless client"/> + <param name="graph-legend" value="Rate"/> + <param name="precedence" value="908"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="wirelessRate"/> + <param name="snmp-object" + value="$wirelessRate.%wireless-macOid%"/> + </leaf> + <leaf name="Received_Packets"> + <param name="comment" value="The number of packets received"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="907"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="wirelessNumRX"/> + <param name="snmp-object" + value="$wirelessNumRX.%wireless-macOid%"/> + </leaf> + <leaf name="Transmitted_Packets"> + <param name="comment" value="The number of packets transmitted"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="906"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="wirelessNumTX"/> + <param name="snmp-object" + value="$wirelessNumTX.%wireless-macOid%"/> + </leaf> + <leaf name="Received_Packets_Errors"> + <param name="comment" value="The number of error packets received"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="905"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="wirelessNumRXErrors"/> + <param name="snmp-object" + value="$wirelessNumRXErrors.%wireless-macOid%"/> + </leaf> + <leaf name="Transmitted_Packets_Errors"> + <param name="comment" value="The number of error packets transmit"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="904"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="wirelessNumTXErrors"/> + <param name="snmp-object" + value="$wirelessNumTXErrors.%wireless-macOid%"/> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/arbor_e.xml b/torrus/xmlconfig/vendor/arbor_e.xml new file mode 100644 index 000000000..cc4a36429 --- /dev/null +++ b/torrus/xmlconfig/vendor/arbor_e.xml @@ -0,0 +1,2820 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2008-2010 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: arbor_e.xml,v 1.1 2010-12-27 00:04:16 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- + Arbor e-Series specific definitions (former Ellacoya) + Devices include: e30, e100 + --> + +<configuration> + +<definitions> + <!-- ELLACOYA-MIB::hostMemory --> + <def name="sdramSize" value="1.3.6.1.4.1.3813.1.4.2.1.0" /> + <def name="sdramUsage" value="1.3.6.1.4.1.3813.1.4.2.2.0" /> + <def name="mBufPoolSize" value="1.3.6.1.4.1.3813.1.4.2.3.0" /> + <def name="mBufUsage" value="1.3.6.1.4.1.3813.1.4.2.4.0" /> + <def name="blkSize" value="1.3.6.1.4.1.3813.1.4.2.5.1.2" /> + <def name="sysMal" value="1.3.6.1.4.1.3813.1.4.2.5.1.4" /> + <def name="sysBlks" value="1.3.6.1.4.1.3813.1.4.2.5.1.6" /> + <def name="usedBlks" value="1.3.6.1.4.1.3813.1.4.2.5.1.7" /> + <def name="freeBlks" value="1.3.6.1.4.1.3813.1.4.2.5.1.8" /> + + <def name="hDriveHd0Size" value="1.3.6.1.4.1.3813.1.4.2.6.0" /> + <def name="hDriveHd0Usage" value="1.3.6.1.4.1.3813.1.4.2.7.0" /> + <def name="hDriveHd1Size" value="1.3.6.1.4.1.3813.1.4.2.8.0" /> + <def name="hDriveHd1Usage" value="1.3.6.1.4.1.3813.1.4.2.9.0" /> + + <def name="hDriveErrBlockRW" value="1.3.6.1.4.1.3813.1.4.2.10.1.0" /> + <def name="hDriveErrCommand" value="1.3.6.1.4.1.3813.1.4.2.10.2.0" /> + <def name="hDriveErrReadWrite" value="1.3.6.1.4.1.3813.1.4.2.10.3.0" /> + <def name="hDriveErrWriteOnly" value="1.3.6.1.4.1.3813.1.4.2.10.4.0" /> + <def name="hDriveErrReady" value="1.3.6.1.4.1.3813.1.4.2.10.5.0" /> + <def name="hDriveErrBusy" value="1.3.6.1.4.1.3813.1.4.2.10.6.0" /> + <def name="hDriveErrDataReq" value="1.3.6.1.4.1.3813.1.4.2.10.7.0" /> + <def name="hDriveErrSeek" value="1.3.6.1.4.1.3813.1.4.2.10.8.0" /> + <def name="hDriveErrDataReqNS" value="1.3.6.1.4.1.3813.1.4.2.10.9.0" /> + <def name="hDriveErrInterfCRC" value="1.3.6.1.4.1.3813.1.4.2.10.10.0" /> + <def name="hDriveErrUncorrData" value="1.3.6.1.4.1.3813.1.4.2.10.11.0" /> + <def name="hDriveErrIdNotFound" value="1.3.6.1.4.1.3813.1.4.2.10.12.0" /> + <def name="hDriveErrAbortedCmd" value="1.3.6.1.4.1.3813.1.4.2.10.13.0" /> + <def name="hDriveErrTrack0NF" value="1.3.6.1.4.1.3813.1.4.2.10.14.0" /> + <def name="hDriveErrAddrMarkNF" value="1.3.6.1.4.1.3813.1.4.2.10.15.0" /> + + <def name="partitionSize" value="1.3.6.1.4.1.3813.1.4.2.11.1.3" /> + <def name="partitionUsage" value="1.3.6.1.4.1.3813.1.4.2.11.1.4" /> + + <!-- e100 / memPerCpu--> + <def name="cpuSdramSize" value="1.3.6.1.4.1.3813.1.4.2.12.1.2" /> + <def name="cpuSdramUsage" value="1.3.6.1.4.1.3813.1.4.2.12.1.3" /> + + <def name="hDriveDailyLogSize" value="1.3.6.1.4.1.3813.1.4.2.13.0" /> + <def name="hDriveDailyLogUsage" value="1.3.6.1.4.1.3813.1.4.2.14.0" /> + + <!-- ELLACOYA-MIB::fwdTables --> + <def name="l3UserTblCapacity" value="1.3.6.1.4.1.3813.1.4.3.1.0" /> + <def name="l3UserTblUsage" value="1.3.6.1.4.1.3813.1.4.3.2.0" /> + <def name="macTblCapacity" value="1.3.6.1.4.1.3813.1.4.3.3.0" /> + <def name="macTblUsage" value="1.3.6.1.4.1.3813.1.4.3.4.0" /> + <def name="polGroupSysCapacity" value="1.3.6.1.4.1.3813.1.4.3.5.0" /> + <def name="polGroupSysUsage" value="1.3.6.1.4.1.3813.1.4.3.6.0" /> + <def name="subscriberSysCapacity" value="1.3.6.1.4.1.3813.1.4.3.9.0" /> + <def name="subscriberSysUsage" value="1.3.6.1.4.1.3813.1.4.3.10.0" /> + <def name="activeL3UserTblUsage" value="1.3.6.1.4.1.3813.1.4.3.11.0" /> + <def name="authenticatedL3UserCount" value="1.3.6.1.4.1.3813.1.4.3.12.0" /> + <def name="unauthenticatedL3UserCount" value="1.3.6.1.4.1.3813.1.4.3.13.0" /> + + <def name="loginRespOkStatsCount" value="1.3.6.1.4.1.3813.1.4.3.15.1.2"/> + + <!-- ELLACOYA-MIB::cpu --> + <def name="cpuUtilization" value="1.3.6.1.4.1.3813.1.4.4.1.0"/> + <def name="cpuUtil" value="1.3.6.1.4.1.3813.1.4.4.2.1.3"/> + + <!-- ELLACOYA-MIB::flow --> + <def name="flowPoolName" value="1.3.6.1.4.1.3813.1.4.5"/> + + <!-- ELLACOYA-MIB::slowpathCounters --> + <def name="allPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.1.0" /> + <def name="ipPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.2.0" /> + <def name="tcpPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.3.0" /> + <def name="udpPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.4.0" /> + <def name="icmpPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.5.0" /> + <def name="igmpPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.6.0" /> + <def name="ipFragmentPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.7.0" /> + <def name="dhcpPacketsToServer" value="1.3.6.1.4.1.3813.1.4.4.10.1.8.0" /> + <def name="dhcpPacketsToClient" value="1.3.6.1.4.1.3813.1.4.4.10.1.9.0" /> + <def name="ipInIpPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.10.0" /> + <def name="l2tpControlPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.11.0" /> + <def name="l2tpDataPackets" value="1.3.6.1.4.1.3813.1.4.4.10.1.12.0" /> + + <!-- ELLACOYA-MIB::sigCounters --> + <def name="allSigPackets" value="1.3.6.1.4.1.3813.1.4.4.10.2.1" /> + <def name="fakeForwardPackets" value="1.3.6.1.4.1.3813.1.4.4.10.2.2" /> + <def name="fakeReversePackets" value="1.3.6.1.4.1.3813.1.4.4.10.2.3" /> + + <!-- ELLACOYA-MIB::ldap --> + <def name="ldapDeltaCount" value="1.3.6.1.4.1.3813.1.4.7.16.0" /> + + <!-- ELLACOYA-MIB::bundleStatsTable --> + <def name="bundleBytesSent" value="1.3.6.1.4.1.3813.1.4.12.1.1.3" /> + <def name="bundleBytesReceived" value="1.3.6.1.4.1.3813.1.4.12.1.1.4" /> + <def name="bundleSubCount" value="1.3.6.1.4.1.3813.1.4.12.1.1.5" /> + <def name="bundleBytesSentDenyPolicyDrop" + value="1.3.6.1.4.1.3813.1.4.12.1.1.6" /> + <def name="bundleBytesReceivedDenyPolicyDrop" + value="1.3.6.1.4.1.3813.1.4.12.1.1.7" /> + <def name="bundleBytesSentRateLimitDrop" + value="1.3.6.1.4.1.3813.1.4.12.1.1.8" /> + <def name="bundleBytesReceivedRateLimitDrop" + value="1.3.6.1.4.1.3813.1.4.12.1.1.9"/> + <!-- ELLACOYA-MIB::bundleOfferStatsEntry --> + <def name="boBundleBytesSent" value="1.3.6.1.4.1.3813.1.4.12.2.1.5"/> + <def name="boBundleBytesReceived" value="1.3.6.1.4.1.3813.1.4.12.2.1.6"/> + <def name="boBundleSubCount" value="1.3.6.1.4.1.3813.1.4.12.2.1.7"/> + <def name="boPacketsSent64" value="1.3.6.1.4.1.3813.1.4.12.2.1.8"/> + <def name="boPacketsReceived64" value="1.3.6.1.4.1.3813.1.4.12.2.1.9"/> + <def name="boPacketsSent65to127" value="1.3.6.1.4.1.3813.1.4.12.2.1.10"/> + <def name="boPacketsReceived65to127" value="1.3.6.1.4.1.3813.1.4.12.2.1.11"/> + <def name="boPacketsSent128to255" value="1.3.6.1.4.1.3813.1.4.12.2.1.12"/> + <def name="boPacketsReceived128to255" value="1.3.6.1.4.1.3813.1.4.12.2.1.13"/> + <def name="boPacketsSent256to511" value="1.3.6.1.4.1.3813.1.4.12.2.1.14"/> + <def name="boPacketsReceived256to511" value="1.3.6.1.4.1.3813.1.4.12.2.1.15"/> + <def name="boPacketsSent512to1023" value="1.3.6.1.4.1.3813.1.4.12.2.1.16"/> + <def name="boPacketsReceived512to1023" + value="1.3.6.1.4.1.3813.1.4.12.2.1.17"/> + <def name="boPacketsSent1024to1518" value="1.3.6.1.4.1.3813.1.4.12.2.1.18"/> + <def name="boPacketsReceived1024to1518" + value="1.3.6.1.4.1.3813.1.4.12.2.1.19"/> + <def name="boPacketsSent1519up" value="1.3.6.1.4.1.3813.1.4.12.2.1.20"/> + <def name="boPacketsReceived1519up" value="1.3.6.1.4.1.3813.1.4.12.2.1.21"/> + <def name="boBundleBytesSentDenyPolicyDrop" + value="1.3.6.1.4.1.3813.1.4.12.2.1.22"/> + <def name="boBundleBytesReceivedDenyPolicyDrop" + value="1.3.6.1.4.1.3813.1.4.12.2.1.23"/> + <def name="boBundleBytesSentRateLimitDrop" + value="1.3.6.1.4.1.3813.1.4.12.2.1.24"/> + <def name="boBundleBytesReceivedRateLimitDrop" + value="1.3.6.1.4.1.3813.1.4.12.2.1.25"/> + + <!-- ELLACOYA-MIB::policyMgmt --> + <def name="deltaOperationsReceived" value="1.3.6.1.4.1.3813.1.4.16.2.0"/> + <def name="deltaOperationsProcessed" value="1.3.6.1.4.1.3813.1.4.16.3.0"/> + <def name="serviceProfileTblCapacity" value="1.3.6.1.4.1.3813.1.4.16.4.0"/> + <def name="serviceProfileTblUsage" value="1.3.6.1.4.1.3813.1.4.16.5.0"/> + <def name="serviceBundleTblCapacity" value="1.3.6.1.4.1.3813.1.4.16.6.0"/> + <def name="serviceBundleTblUsage" value="1.3.6.1.4.1.3813.1.4.16.7.0"/> + <def name="policyTblCapacity" value="1.3.6.1.4.1.3813.1.4.16.8.0"/> + <def name="policyTblUsage" value="1.3.6.1.4.1.3813.1.4.16.9.0"/> + <def name="subnetGrpTblCapacity" value="1.3.6.1.4.1.3813.1.4.16.10.0"/> + <def name="subnetGrpTblUsage" value="1.3.6.1.4.1.3813.1.4.16.11.0"/> + + <!-- ELLACOYA-MIB::subscriberMgmt --> + <def name="subscriberMgmtTblCapacity" value="1.3.6.1.4.1.3813.1.4.17.1.0"/> + <def name="subscriberMgmtTblUsage" value="1.3.6.1.4.1.3813.1.4.17.2.0"/> + <def name="subscriberNameTblCapacity" value="1.3.6.1.4.1.3813.1.4.17.3.0"/> + <def name="subscriberNameTblUsage" value="1.3.6.1.4.1.3813.1.4.17.4.0"/> + <def name="identifiedSubscriberCount" value="1.3.6.1.4.1.3813.1.4.17.5.0"/> + <def name="unidentifiedSubscriberCount" value="1.3.6.1.4.1.3813.1.4.17.6.0"/> + + <def name="subscriberStateCount" value="1.3.6.1.4.1.3813.1.4.17.7.1.3"/> + <def name="subscriberIdAttemptsCount" value="1.3.6.1.4.1.3813.1.4.17.9.1.2"/> + + <!-- ELLACOYA-MIB::l2tp --> + <def name="l2tpAllocTags" value="1.3.6.1.4.1.3813.1.4.18.3.1.1.0" /> + <def name="l2tpIPDefaultTags" value="1.3.6.1.4.1.3813.1.4.18.3.1.2.0" /> + <def name="l2tpSecureEPSess" value="1.3.6.1.4.1.3813.1.4.18.3.2.1.1.2" /> + <def name="l2tpSecureEPOver" value="1.3.6.1.4.1.3813.1.4.18.3.2.1.1.3" /> + +</definitions> +<datasources> + + <!-- + ************************************************************************** + + e30 Series templates + + ************************************************************************** + --> + + <template name="e30-buffers"> + <subtree name="Buffer_Usage"> + <param name="comment" value="Buffer Usage"/> + <param name="data-file" value="%system-id%_membuf.rrd"/> + <param name="graph-title" value="%system-id%: Buffers"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used"/> + <param name="vertical-label" value="blocks"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Buffers --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Memory --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total Buffer Pool Size"/> + <param name="graph-legend" value="Total Buffer Pool Size"/> + <param name="vertical-label" value="memory blocks"/> + <param name="rrd-ds" value="mBufPoolSize"/> + <param name="snmp-object" value="$mBufPoolSize"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used Buffer Pool Size"/> + <param name="graph-legend" value="Used Buffer Pool Size"/> + <param name="vertical-label" value="KBytes"/> + <param name="rrd-ds" value="mBufUsage"/> + <param name="snmp-object" value="$mBufUsage"/> + </leaf> + </subtree> + </template> + + + <template name="e30-cpu"> + <param name="comment" value="Overall CPU busy percentage"/> + <param name="data-file" value="%system-id%_cpu.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="CPU_Utilization"> + <param name="comment" value="CPU Utilization"/> + <param name="rrd-ds" value="cpu_0"/> + <param name="snmp-object" value="$cpuUtilization"/> + <param name="graph-legend" value="CPU usage"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="80" /> + <param name="vertical-label" value="Percent"/> + </leaf> + </template> + + + <template name="e30-fwdTable"> + <subtree name="Forwarding_Table"> + <param name="comment" value="Forwarding Table Stats"/> + <param name="data-file" value="%system-id%_fwdTable.rrd"/> + <param name="graph-title" value="%system-id%: Forwarding Table"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <subtree name="L3_user_table"> + <param name="comment" value="L3 User Table (Layer 3)"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used: L3 Entries"/> + <param name="vertical-label" value="entries"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Total L3 User Table Entries --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used L3 User Table Entries --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total L3 User Table"/> + <param name="graph-legend" value="Total L3 User Table"/> + <param name="graph-title" value="Total L3 User Table"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="l3UserTblCapacity"/> + <param name="snmp-object" value="$l3UserTblCapacity"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used L3 User Table"/> + <param name="graph-legend" value="Used L3 User Table"/> + <param name="graph-legend" value="Used L3 User Table"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="l3UserTblUsage"/> + <param name="snmp-object" value="$l3UserTblUsage"/> + </leaf> + </subtree> + + <subtree name="MAC_table"> + <param name="comment" value="MAC Table (Layer 2)"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used: MAC Table"/> + <param name="vertical-label" value="entries"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Total Mac Table Entries --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used MAC Table Entries --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total MAC table"/> + <param name="graph-legend" value="Total MAC table"/> + <param name="graph-title" value="Total MAC table"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="macTblCapacity"/> + <param name="snmp-object" value="$macTblCapacity"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used MAC table"/> + <param name="graph-legend" value="Used MAC table"/> + <param name="graph-title" value="Used MAC table"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="macTblUsage"/> + <param name="snmp-object" value="$macTblUsage"/> + </leaf> + </subtree> + + <subtree name="PolicyGroup"> + <param name="comment" value="Policy Groups (service bundles)"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used: service bundles"/> + <param name="vertical-label" value="entries"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Total Policy Group Entries --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Policy Group Entries --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total policy group entries"/> + <param name="graph-legend" value="Total policy group entries"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="polGroupSysCapacity"/> + <param name="snmp-object" value="$polGroupSysCapacity"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used policy group entries"/> + <param name="graph-legend" value="Used policy group entries"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="polGroupSysUsage"/> + <param name="snmp-object" value="$polGroupSysUsage"/> + </leaf> + </subtree> + + <subtree name="Subscriber_Capacity"> + <param name="comment" value="Subscriber System"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used: Subscriber"/> + <param name="vertical-label" value="entries"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Total Subscriber Capacity --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Subscriber Capacity --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total subscriber capacity"/> + <param name="graph-legend" value="Total subscriber capacity"/> + <param name="graph-title" value="Total subscriber capacity"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="subscriberSysCap"/> + <param name="snmp-object" value="$subscriberSysCapacity"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used subscriber capacity"/> + <param name="graph-legend" value="Used subscriber capacity"/> + <param name="graph-title" value="Used subscriber capacity"/> + <param name="vertical-label" value="entries"/> + <param name="rrd-ds" value="subscriberSysUsage"/> + <param name="snmp-object" value="$subscriberSysUsage"/> + </leaf> + </subtree> + + <subtree name="Authenticated_Subscribers"> + <param name="comment" value="Authentication statistics"/> + + <leaf name="Summary"> + <param name="precedence" value="1000"/> + <param name="comment" value="Auth vs Unauth"/> + <param name="graph-title" value="Auth vs Unauth: Subs"/> + <param name="vertical-label" value="subscribers"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="auth,unauth"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Authenticated --> + <param name="ds-expr-auth" value="{Auth}"/> + <param name="graph-legend-auth" value="Authenticated"/> + <param name="line-style-auth" value="##totalresource"/> + <param name="line-color-auth" value="##totalresource"/> + <param name="line-order-auth" value="1"/> + <!-- Unauthenticated --> + <param name="ds-expr-unauth" value="{Unauth}"/> + <param name="graph-legend-unauth" value="Unauthenticated"/> + <param name="line-style-unauth" value="##resourceusage"/> + <param name="line-color-unauth" value="##resourceusage"/> + <param name="line-order-unauth" value="2"/> + </leaf> + + <leaf name="Auth"> + <param name="precedence" value="902"/> + <param name="comment" value="Authenticated subscribers"/> + <param name="graph-legend" value="Authenticated"/> + <param name="graph-title" value="Authenticated subscribers"/> + <param name="vertical-label" value="subscribers"/> + <param name="rrd-ds" value="authL3Cnt"/> + <param name="snmp-object" value="$authenticatedL3UserCount"/> + </leaf> + + <leaf name="Unauth"> + <param name="precedence" value="901"/> + <param name="comment" value="Unauthenticated subscribers"/> + <param name="graph-legend" value="Unauthenticated"/> + <param name="graph-title" value="Unauthenticated subscribers"/> + <param name="vertical-label" value="subscribers"/> + <param name="rrd-ds" value="unauthL3Cnt"/> + <param name="snmp-object" value="$unauthenticatedL3UserCount"/> + </leaf> + </subtree> + </subtree> + </template> + + + <template name="e30-fwdTable-login"> + <param name="comment" value="Login OK attempt counter: %login-idx%"/> + <param name="data-file" value="%system-id%_fwdTable_login.rrd"/> + <param name="graph-title" value="%system-id%: Login attempt %login-idx%"/> + <param name="graph-legend" value="Num of attempts"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="login_%login-idx%"/> + <param name="snmp-object" value="$loginRespOkStatsCount.%login-idx%"/> + </template> + + + <template name="e30-bundle-subtree"> + <param name="data-file" + value="%system-id%_bundle_%e30-bundle-rrd%.rrd"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-title" value="%e30-bundle-name%"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="up,down,volume,subcount"/> + <!-- Up Volume --> + <param name="overview-subleave-name-up" value="Up_bps"/> + <param name="overview-direct-link-up" value="yes"/> + <param name="overview-direct-link-view-up" value="expanded-dir-html"/> + <param name="overview-shortcut-text-up" + value="Upstream Usage"/> + <param name="overview-shortcut-title-up" + value="Show upstream bandwidth usage for all bundles"/> + <param name="overview-page-title-up" + value="Upstream Usage"/> + <!-- Down Volume --> + <param name="overview-subleave-name-down" value="Down_bps"/> + <param name="overview-direct-link-down" value="yes"/> + <param name="overview-direct-link-view-down" value="expanded-dir-html"/> + <param name="overview-shortcut-text-down" + value="Downstream Usage"/> + <param name="overview-shortcut-title-down" + value="Show downstream bandwidth usage for all bundles"/> + <param name="overview-page-title-down" + value="Downstream Usage"/> + <!-- InOut Volume --> + <param name="overview-subleave-name-volume" value="Volume"/> + <param name="overview-direct-link-volume" value="yes"/> + <param name="overview-direct-link-view-volume" value="expanded-dir-html"/> + <param name="overview-shortcut-text-volume" + value="InOut Usage"/> + <param name="overview-shortcut-title-volume" + value="Show InOut bandwidth usage for all bundles"/> + <param name="overview-page-title-volume" + value="Volume Usage"/> + <!-- Subscriber Count --> + <param name="overview-subleave-name-subcount" value="Subscriber_Count"/> + <param name="overview-direct-link-subcount" value="yes"/> + <param name="overview-direct-link-view-subcount" value="expanded-dir-html"/> + <param name="overview-shortcut-text-subcount" + value="Subscriber Count"/> + <param name="overview-shortcut-title-subcount" + value="Show subscriber count for all bundles"/> + <param name="overview-page-title-subcount" + value="Subscriber Count"/> + </template> + + + <template name="e30-bundle"> + <leaf name="Volume"> + <param name="comment" + value="InOut volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{DownVolume},8,*"/> + <param name="graph-legend-down" value="Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{UpVolume},8,*"/> + <param name="graph-legend-up" value="Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="UpVolume"> + <param name="comment" value="Upstream volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpVolume"/> + <param name="snmp-object" + value="$bundleBytesSent.%e30-bundle-index%"/> + <param name="precedence" value="902"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + + <leaf name="DownVolume"> + <param name="comment" value="Downstream volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolume"/> + <param name="snmp-object" + value="$bundleBytesReceived.%e30-bundle-index%"/> + <param name="precedence" value="901"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + + <leaf name="Up_bps"> + <param name="comment" value="Upstream bandwidth usage per service"/> + <param name="graph-legend" value="Upstream BW"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{UpVolume},8,*" /> + <param name="precedence" value="802"/> + </leaf> + + <leaf name="Down_bps"> + <param name="comment" value="Downstream bandwidth usage per service"/> + <param name="graph-legend" value="Downstream BW"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{DownVolume},8,*" /> + <param name="precedence" value="801"/> + </leaf> + + <leaf name="Subscriber_Count"> + <param name="comment" value="Number of subs using bundle"/> + <param name="graph-legend" value="subscriber count"/> + <param name="vertical-label" value="subs"/> + <param name="rrd-ds" value="subCount"/> + <param name="snmp-object" value="$bundleSubCount.%e30-bundle-index%"/> + <param name="precedence" value="700"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + + + <template name="e30-bundle-deny"> + <leaf name="Volume_Denied"> + <param name="comment" + value="InOut of denied volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{DownDenyVolume},8,*"/> + <param name="graph-legend-down" value="Denied Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{UpDenyVolume},8,*"/> + <param name="graph-legend-up" value="Denied Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="UpDenyVolume"> + <param name="data-file" + value="%system-id%_bundle_%e30-bundle-rrd%_deny.rrd"/> + <param name="comment" value="Upstream denied volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpDenyVolume"/> + <param name="snmp-object" + value="$bundleBytesSentDenyPolicyDrop.%e30-bundle-index%"/> + <param name="precedence" value="602"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="DownDenyVolume"> + <param name="data-file" + value="%system-id%_bundle_%e30-bundle-rrd%_deny.rrd"/> + <param name="comment" value="Downstream denied volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolume"/> + <param name="snmp-object" + value="$bundleBytesReceivedDenyPolicyDrop.%e30-bundle-index%"/> + <param name="precedence" value="601"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="Up_Deny_bps"> + <param name="comment" + value="Upstream denied bandwidth usage per service"/> + <param name="graph-legend" value="Upstream Denied BW"/> + <param name="line-style" value="##BpsOut"/> + <param name="line-color" value="##BpsOut"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{UpDenyVolume},8,*" /> + <param name="precedence" value="502"/> + </leaf> + + <leaf name="Down_Deny_bps"> + <param name="comment" + value="Downstream denied bandwidth usage per service"/> + <param name="graph-legend" value="Downstream denied BW"/> + <param name="line-style" value="##BpsIn"/> + <param name="line-color" value="##BpsIn"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{DownDenyVolume},8,*" /> + <param name="precedence" value="501"/> + </leaf> + </template> + + + <template name="e30-bundle-ratelimit"> + <leaf name="Volume_RateLimit"> + <param name="comment" + value="InOut of ratelimit volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{DownRateVolume},8,*"/> + <param name="graph-legend-down" value="Rate limit Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{UpRateVolume},8,*"/> + <param name="graph-legend-up" value="Rate limit Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="UpRateVolume"> + <param name="data-file" + value="%system-id%_bundle_%e30-bundle-rrd%_ratelimit.rrd"/> + <param name="comment" value="Upstream ratelimit volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpDenyVolume"/> + <param name="snmp-object" + value="$bundleBytesSentRateLimitDrop.%e30-bundle-index%"/> + <param name="precedence" value="402"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="DownRateVolume"> + <param name="data-file" + value="%system-id%_bundle_%e30-bundle-rrd%_ratelimit.rrd"/> + <param name="comment" value="Downstream ratelimit volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolume"/> + <param name="snmp-object" + value="$bundleBytesReceivedRateLimitDrop.%e30-bundle-index%"/> + <param name="precedence" value="401"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="Up_Rate_bps"> + <param name="comment" + value="Upstream rate limit bandwidth usage per service"/> + <param name="graph-legend" value="Upstream rate limited in Bps"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{UpRateVolume},8,*" /> + <param name="precedence" value="302"/> + </leaf> + + <leaf name="Down_Rate_bps"> + <param name="comment" + value="Downstream rate limit bandwidth usage per service"/> + <param name="graph-legend" value="Downstream rate limited in Bps"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{DownRateVolume},8,*" /> + <param name="precedence" value="301"/> + </leaf> + </template> + + + <template name="e30-hdd-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="usage,total,used"/> + <!-- Usage --> + <param name="overview-subleave-name-usage" value="Usage"/> + <param name="overview-shortcut-text-usage" + value="All HDD Parition usage summary"/> + <param name="overview-shortcut-title-usage" + value="Show hdd usage summary for all partitions on one page"/> + <param name="overview-page-title-usage" + value="Parition usage"/> + <!-- Total --> + <param name="overview-subleave-name-total" value="Total"/> + <param name="overview-shortcut-text-total" + value="All HDD Parition total size summary"/> + <param name="overview-shortcut-title-total" + value="Show hdd total size summary for all partitions on one page"/> + <param name="overview-page-title-total" + value="Parition Size Total"/> + <!-- Used --> + <param name="overview-subleave-name-used" value="Used"/> + <param name="overview-shortcut-text-used" + value="All HDD Parition used size summary"/> + <param name="overview-shortcut-title-used" + value="Show hdd used size summary for all partitions on one page"/> + <param name="overview-page-title-used" + value="Parition Size Used"/> + </template> + + + <template name="e30-hdd"> + <param name="comment" value="Hard Drive information"/> + <param name="data-file" value="%system-id%_hdd.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <subtree name="Partition_0"> + <param name="comment" value="Firmware images"/> + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Hd0: Total vs Used"/> + <param name="graph-title" value="Hd0: Total vs Used"/> + <param name="vertical-label" value="Bytes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Parition Size --> + <param name="ds-expr-total" value="{Total_Raw},1024,*"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Partition Size --> + <param name="ds-expr-used" value="{Used_Raw},1024,*"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Size of hd0 partition"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Total_Raw},1024,*"/> + <param name="graph-legend" value="Size of hd0 partition"/> + <param name="graph-title" value="Size of hd0 partition"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="902"/> + <param name="comment" value="Usage of hd0 partition"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Used_Raw},1024,*"/> + <param name="graph-legend" value="Usage of hd0 partition"/> + <param name="graph-title" value="Usage of hd0 partition"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Total_Raw"> + <param name="hidden" value="yes"/> + <param name="precedence" value="102"/> + <param name="comment" value="Size of hd0 partition"/> + <param name="graph-legend" value="Size of hd0 partition"/> + <param name="graph-title" value="Size of hd0 partition"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-ds" value="hDriveHd0Size"/> + <param name="snmp-object" value="$hDriveHd0Size"/> + </leaf> + + <leaf name="Used_Raw"> + <param name="hidden" value="yes"/> + <param name="precedence" value="101"/> + <param name="comment" value="Usage of hd0 partition"/> + <param name="graph-legend" value="Usage of hd0 partition"/> + <param name="graph-title" value="Usage of hd0 partition"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-ds" value="hDriveHd0Usage"/> + <param name="snmp-object" value="$hDriveHd0Usage"/> + </leaf> + </subtree> + + <subtree name="Partition_1"> + <param name="comment" value="Logs, Usage files, etc"/> + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Hd1: Total vs Used"/> + <param name="graph-legend" value="Hd1: Total vs Used"/> + <param name="graph-title" value="Hd1: Total vs Used"/> + <param name="vertical-label" value="Bytes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Total Parition Size --> + <param name="ds-expr-total" value="{Total_Raw},1024,*"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Partition Size --> + <param name="ds-expr-used" value="{Used_Raw},1024,*"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Size of hd1 partition"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Total_Raw},1024,*"/> + <param name="graph-legend" value="Size of hd1 partition"/> + <param name="graph-title" value="Size of hd1 partition"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="902"/> + <param name="comment" value="Usage of hd1 partition"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Used_Raw},1024,*"/> + <param name="graph-legend" value="Usage of hd1 partition"/> + <param name="graph-title" value="Usage of hd1 partition"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Total_Raw"> + <param name="hidden" value="yes"/> + <param name="precedence" value="102"/> + <param name="comment" value="Size of hd1 partition"/> + <param name="graph-legend" value="Size of hd1 partition"/> + <param name="graph-title" value="Size of hd1 partition"/> + <param name="vertical-label" value="KBytes"/> + <param name="rrd-ds" value="hDriveHd1Size"/> + <param name="snmp-object" value="$hDriveHd1Size"/> + </leaf> + + <leaf name="Used_Raw"> + <param name="hidden" value="yes"/> + <param name="precedence" value="101"/> + <param name="comment" value="Usage of hd1 partition"/> + <param name="graph-legend" value="Usage of hd1 partition"/> + <param name="graph-title" value="Usage of hd1 partition"/> + <param name="vertical-label" value="KBytes"/> + <param name="rrd-ds" value="hDriveHd1Usage"/> + <param name="snmp-object" value="$hDriveHd1Usage"/> + </leaf> + </subtree> + </template> + + + <template name="e30-hdd-errors"> + <subtree name="HDD_Errors"> + <param name="comment" value="Hard Drive errors"/> + <param name="data-file" value="%system-id%_hdd_err.rrd"/> + <param name="graph-title" value="%system-id%: Hdd errors"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="hDriveErrBlockRW"> + <param name="precedence" value="917"/> + <param name="comment" value="Number of Block R/W errors"/> + <param name="graph-legend" value="Block R/W errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrBlockRW"/> + <param name="snmp-object" value="$hDriveErrBlockRW"/> + </leaf> + <leaf name="hDriveErrCommand"> + <param name="precedence" value="916"/> + <param name="comment" value="Number of Command errors"/> + <param name="graph-legend" value="Command errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrCommand"/> + <param name="snmp-object" value="$hDriveErrCommand"/> + </leaf> + <leaf name="hDriveErrReadWrite"> + <param name="precedence" value="915"/> + <param name="comment" value="Number of Read/Write errors"/> + <param name="graph-legend" value="R/W errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrReadWrite"/> + <param name="snmp-object" value="$hDriveErrReadWrite"/> + </leaf> + <leaf name="hDriveErrWriteOnly"> + <param name="precedence" value="914"/> + <param name="comment" value="Number of WriteOnly errors"/> + <param name="graph-legend" value="Write errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrWriteOnly"/> + <param name="snmp-object" value="$hDriveErrWriteOnly"/> + </leaf> + <leaf name="hDriveErrReady"> + <param name="precedence" value="913"/> + <param name="comment" value="Number of Ready errors"/> + <param name="graph-legend" value="Ready errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrReady"/> + <param name="snmp-object" value="$hDriveErrReady"/> + </leaf> + <leaf name="hDriveErrBusy"> + <param name="precedence" value="912"/> + <param name="comment" value="Number of Busy errors"/> + <param name="graph-legend" value="Busy errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrBusy"/> + <param name="snmp-object" value="$hDriveErrBusy"/> + </leaf> + <leaf name="hDriveErrDataReq"> + <param name="precedence" value="911"/> + <param name="comment" value="Number of DataReq errors"/> + <param name="graph-legend" value="DataReq errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrDataReq"/> + <param name="snmp-object" value="$hDriveErrDataReq"/> + </leaf> + <leaf name="hDriveErrSeek"> + <param name="precedence" value="910"/> + <param name="comment" value="Number of Seek errors"/> + <param name="graph-legend" value="Seek errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrSeek"/> + <param name="snmp-object" value="$hDriveErrSeek"/> + </leaf> + <leaf name="hDriveErrDataReqNS"> + <param name="precedence" value="909"/> + <param name="comment" value="Number of DataReqNS errors"/> + <param name="graph-legend" value="DataReqNS errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrDataReqNS"/> + <param name="snmp-object" value="$hDriveErrDataReqNS"/> + </leaf> + <leaf name="hDriveErrInterfCRC"> + <param name="precedence" value="908"/> + <param name="comment" value="Number of InterfCRC errors"/> + <param name="graph-legend" value="InterfCRC errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrInterfCRC"/> + <param name="snmp-object" value="$hDriveErrInterfCRC"/> + </leaf> + <leaf name="hDriveErrUncorrData"> + <param name="precedence" value="907"/> + <param name="comment" value="Number of UncorrData errors"/> + <param name="graph-legend" value="UncorrData errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrUncorrData"/> + <param name="snmp-object" value="$hDriveErrUncorrData"/> + </leaf> + <leaf name="hDriveErrIdNotFound"> + <param name="precedence" value="906"/> + <param name="comment" value="Number of IdNotFound errors"/> + <param name="graph-legend" value="IdNotFound errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrIdNotFound"/> + <param name="snmp-object" value="$hDriveErrIdNotFound"/> + </leaf> + <leaf name="hDriveErrAbortedCmd"> + <param name="precedence" value="905"/> + <param name="comment" value="Number of AbortedCmd errors"/> + <param name="graph-legend" value="AbortedCmd errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrAbortedCmd"/> + <param name="snmp-object" value="$hDriveErrAbortedCmd"/> + </leaf> + <leaf name="hDriveErrTrack0NF"> + <param name="precedence" value="904"/> + <param name="comment" value="Number of TrackONF errors"/> + <param name="graph-legend" value="TrackONF errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrTrack0NF"/> + <param name="snmp-object" value="$hDriveErrTrack0NF"/> + </leaf> + <leaf name="hDriveErrAddrMarkNF"> + <param name="precedence" value="903"/> + <param name="comment" value="Number of AddrMarkNF errors"/> + <param name="graph-legend" value="AddrMarkNF errors"/> + <param name="vertical-label" value="errors"/> + <param name="rrd-ds" value="ErrAddrMarkNF"/> + <param name="snmp-object" value="$hDriveErrAddrMarkNF"/> + </leaf> + </subtree> + </template> + + + <template name="e30-hdd-logs"> + <subtree name="Daily_Logs"> + <param name="comment" value="Daily log directory"/> + <param name="data-file" value="%system-id%_hdd_logs.rrd"/> + <param name="graph-title" value="%system-id%: Hdd logs"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Daily_Log_Size"> + <param name="comment" value="Size of daily log directory"/> + <param name="graph-legend" value="Size of daily log directory"/> + <param name="rrd-ds" value="DailyLogSize"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Daily_Log_Size_Raw},1024,*"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Daily_Log_Usage"> + <param name="comment" + value="Current usage of daily log directory"/> + <param name="graph-legend" value="Usage of daily log dir"/> + <param name="line-style" value="##resourceusage" /> + <param name="line-color" value="##resourceusage" /> + <param name="rrd-ds" value="DailyLogUsage"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Daily_Log_Usage_Raw},1024,*"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Daily_Log_Size_Raw"> + <param name="hidden" value="yes"/> + <param name="comment" value="Size of daily log directory"/> + <param name="graph-legend" value="Size of daily log directory"/> + <param name="rrd-ds" value="DailyLogSize"/> + <param name="snmp-object" value="$hDriveDailyLogSize"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Daily_Log_Usage_Raw"> + <param name="hidden" value="yes"/> + <param name="comment" + value="Current usage of daily log directory"/> + <param name="graph-legend" value="Usage of daily log dir"/> + <param name="line-style" value="##resourceusage" /> + <param name="line-color" value="##resourceusage" /> + <param name="rrd-ds" value="DailyLogUsage"/> + <param name="snmp-object" value="$hDriveDailyLogUsage"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + </subtree> + </template> + + + <template name="e30-l2tp-subtree"> + <param name="comment" value="L2TP statistics"/> + <param name="data-file" value="%system-id%_l2tp.rrd"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-title" value="%system-id%: L2TP"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Allocated_Tags"> + <param name="precedence" value="1000"/> + <param name="comment" value="Number of L2TP sessions"/> + <param name="graph-legend" value="L2TP sessions"/> + <param name="vertical-label" value="sessions"/> + <param name="rrd-ds" value="l2tpAllocTags"/> + <param name="snmp-object" value="$l2tpAllocTags"/> + </leaf> + + <leaf name="Default_tags"> + <param name="precedence" value="999"/> + <param name="comment" value="IP addresses using default tags"/> + <param name="graph-legend" value="IP addresses using default tags"/> + <param name="vertical-label" value="IP Addresses"/> + <param name="rrd-ds" value="l2tpIPDefaultTags"/> + <param name="snmp-object" value="$l2tpIPDefaultTags"/> + </leaf> + </template> + + + <template name="e30-l2tp-secure-endpoints-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="sessions,overlap"/> + <!-- Sessions --> + <param name="overview-subleave-name-sessions" value="Sessions"/> + <param name="overview-shortcut-text-sessions" + value="All L2TP sessions summary"/> + <param name="overview-shortcut-title-sessions" + value="Show L2TP session summary for all endpoints"/> + <param name="overview-page-title-sessions" + value="L2TP session usage"/> + <!-- Overlap --> + <param name="overview-subleave-name-overlap" value="Overlap"/> + <param name="overview-shortcut-text-overlap" + value="All L2TP overlapping session summary"/> + <param name="overview-shortcut-title-overlap" + value="Show L2TP overlapping session summary for all endpoints"/> + <param name="overview-page-title-overlap" + value="L2TP session usage"/> + </template> + + + <template name="e30-l2tp-secure-endpoints-leaf"> + <param name="comment" value="Secure endpoint: %e30-l2tp-ep%"/> + <param name="data-file" + value="%system-id%_l2tp_endpoint_%e30-l2tp-file%.rrd"/> + <param name="graph-lower-limit" value="0"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Sessions"> + <param name="comment" value="L2TP sessions on endpoint"/> + <param name="graph-legend" value="sessions"/> + <param name="graph-title" value="Sessions on %e30-l2tp-ep%"/> + <param name="line-style" value="##resourceusage"/> + <param name="precedence" value="999"/> + <param name="rrd-ds" value="l2tpSecureEPSess"/> + <param name="snmp-object" value="$l2tpSecureEPSess.%e30-l2tp-ep%"/> + </leaf> + + <leaf name="Overlap"> + <param name="comment" value="L2TP sessions on endpoint overlapping"/> + <param name="graph-legend" value="sessions overlapping"/> + <param name="graph-title" value="Sessions overlap on %e30-l2tp-ep%"/> + <param name="line-style" value="##resourceusage"/> + <param name="precedence" value="998"/> + <param name="rrd-ds" value="l2tpSecureEPOver"/> + <param name="snmp-object" value="$l2tpSecureEPOver.%e30-l2tp-ep%"/> + </leaf> + </template> + + + <template name="e30-mem"> + <subtree name="Memory"> + <param name="comment" value="Memory usage statistics"/> + <param name="data-file" value="%system-id%_mem.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used"/> + <param name="vertical-label" value="KBytes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Memory --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Memory --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total memory"/> + <param name="graph-legend" value="Total memory"/> + <param name="vertical-label" value="KBytes"/> + <param name="rrd-ds" value="sdramSize"/> + <param name="snmp-object" value="$sdramSize"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used memory"/> + <param name="graph-legend" value="Used memory"/> + <param name="vertical-label" value="KBytes"/> + <param name="rrd-ds" value="sdramUsage"/> + <param name="snmp-object" value="$sdramUsage"/> + </leaf> + </subtree> + </template> + + + <template name="e30-mempool-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" + value="used,sysMal,sysBlks,usedBlks,freeBlks"/> + + <!-- Percent Used --> + <param name="overview-subleave-name-used" value="Percentage_used"/> + <param name="overview-shortcut-text-used" + value="Percent Used"/> + <param name="overview-shortcut-title-used" + value="Show percentage used of all pools on one page"/> + <param name="overview-page-title-used" + value="Percentage used"/> + <!-- Memory Allocation --> + <param name="overview-subleave-name-sysMal" value="Memory_Alloc"/> + <param name="overview-shortcut-text-sysMal" + value="Memory Alloc"/> + <param name="overview-shortcut-title-sysMal" + value="Show memory allocation size usage of all pools on one page"/> + <param name="overview-page-title-sysMal" + value="Memory Allocation"/> + <!-- System Blocks --> + <param name="overview-subleave-name-sysBlks" value="System_Blocks"/> + <param name="overview-shortcut-text-sysBlks" + value="System Blocks"/> + <param name="overview-shortcut-title-sysBlks" + value="Show system block usage of all pools on one page"/> + <param name="overview-page-title-sysBlks" + value="System Blocks"/> + <!-- System Blocks Used --> + <param name="overview-subleave-name-usedBlks" value="System_Blocks_Used"/> + <param name="overview-shortcut-text-usedBlks" + value="System Blocks Used"/> + <param name="overview-shortcut-title-usedBlks" + value="Show system block usage of all pools on one page"/> + <param name="overview-page-title-usedBlks" + value="System Blocks used"/> + <!-- System Blocks Free --> + <param name="overview-subleave-name-freeBlks" value="System_Blocks_Free"/> + <param name="overview-shortcut-text-freeBlks" + value="System Blocks Free"/> + <param name="overview-shortcut-title-freeBlks" + value="Show system block free of all pools on one page"/> + <param name="overview-page-title-freeBlks" + value="System Blocks free"/> + </template> + + + <template name="e30-mempool"> + <param name="graph-title" value="%e30-mempool-name%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Percentage_used"> + <param name="comment" value="Percent of blocks used"/> + <param name="graph-legend" value="Percentage Used"/> + <param name="vertical-label" value="percent"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" + value="{System_Blocks_Used},{System_Blocks},/"/> + <param name="precedence" value="1000"/> + </leaf> + + <leaf name="Block_Size"> + <param name="precedence" value="100"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Size of a single memory block"/> + <param name="graph-legend" value="Size of a single memory block"/> + <param name="graph-title" value="%e30-mempool-name%"/> + <param name="vertical-label" value="KBytes"/> + <param name="rrd-ds" value="blkSize"/> + <param name="snmp-object" value="$blkSize.%e30-mempool-index%"/> + </leaf> + + <leaf name="Memory_Alloc"> + <param name="precedence" value="90"/> + <param name="comment" value="memory chunk allocations"/> + <param name="graph-legend" value="memory chunk allocations"/> + <param name="graph-title" value="%e30-mempool-name%"/> + <param name="vertical-label" value="number of malloc"/> + <param name="rrd-ds" value="sysMal"/> + <param name="snmp-object" value="$sysMal.%e30-mempool-index%"/> + </leaf> + + <leaf name="System_Blocks"> + <param name="precedence" value="70"/> + <param name="comment" value="memory blocks in the system"/> + <param name="graph-legend" value="memory blocks in the system"/> + <param name="graph-title" value="%e30-mempool-name%"/> + <param name="vertical-label" value="memory blocks"/> + <param name="rrd-ds" value="sysBlks"/> + <param name="snmp-object" value="$sysBlks.%e30-mempool-index%"/> + </leaf> + + <leaf name="System_Blocks_Used"> + <param name="precedence" value="60"/> + <param name="comment" value="memory blocks in use"/> + <param name="graph-legend" value="memory blocks in use"/> + <param name="graph-title" value="%e30-mempool-name%"/> + <param name="vertical-label" value="memory blocks in use"/> + <param name="rrd-ds" value="usedBlks"/> + <param name="snmp-object" value="$usedBlks.%e30-mempool-index%"/> + </leaf> + + <leaf name="System_Blocks_Free"> + <param name="precedence" value="50"/> + <param name="comment" value="memory blocks unused"/> + <param name="graph-legend" value="memory blocks unused"/> + <param name="graph-title" value="%e30-mempool-name%"/> + <param name="vertical-label" value="memory blocks"/> + <param name="rrd-ds" value="freeBlks"/> + <param name="snmp-object" value="$freeBlks.%e30-mempool-index%"/> + </leaf> + </template> + + + <template name="e30-slowpath"> + <param name="comment" value="SlowPath Counters"/> + <param name="data-file" value="%system-id%_slowpath.rrd"/> + <param name="graph-lower-limit" value="0"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Summary"> + <param name="precedence" value="1000"/> + <param name="comment" value="Summary of slowPath packets"/> + <param name="graph-title" value="Summary of slowPath packets"/> + <param name="vertical-label" value="packets"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="a,b,c,d,e,f,g,h,i,j"/> + <param name="graph-lower-limit" value="0"/> + <!-- All packets --> + <param name="ds-expr-a" value="{allPackets}"/> + <param name="graph-legend-a" value="All packets"/> + <param name="line-style-a" value="LINE1"/> + <param name="line-color-a" value="##one"/> + <param name="line-order-a" value="1"/> + <!-- IP packets --> + <param name="ds-expr-b" value="{ipPackets}"/> + <param name="graph-legend-b" value="IP packets"/> + <param name="line-style-b" value="LINE1"/> + <param name="line-color-b" value="##two"/> + <param name="line-order-b" value="2"/> + <!-- TCP packets --> + <param name="ds-expr-c" value="{tcpPackets}"/> + <param name="graph-legend-c" value="TCP packets"/> + <param name="line-style-c" value="LINE1"/> + <param name="line-color-c" value="##three"/> + <param name="line-order-c" value="3"/> + <!-- UDP packets --> + <param name="ds-expr-d" value="{udpPackets}"/> + <param name="graph-legend-d" value="UDP packets"/> + <param name="line-style-d" value="LINE1"/> + <param name="line-color-d" value="##four"/> + <param name="line-order-d" value="4"/> + <!-- ICMP packets --> + <param name="ds-expr-e" value="{icmpPackets}"/> + <param name="graph-legend-e" value="ICMP packets"/> + <param name="line-style-e" value="LINE1"/> + <param name="line-color-e" value="##five"/> + <param name="line-order-e" value="5"/> + <!-- IGMP packets --> + <param name="ds-expr-f" value="{igmpPackets}"/> + <param name="graph-legend-f" value="IGMP packets"/> + <param name="line-style-f" value="LINE1"/> + <param name="line-color-f" value="##six"/> + <param name="line-order-f" value="6"/> + <!-- IP Fragment packets --> + <param name="ds-expr-g" value="{ipFragmentPackets}"/> + <param name="graph-legend-g" value="IP fragment packets"/> + <param name="line-style-g" value="LINE1"/> + <param name="line-color-g" value="##seven"/> + <param name="line-order-g" value="7"/> + + <!-- SKIPPING DHCP packets to Client and server --> + + <!-- IP in IP packets --> + <param name="ds-expr-h" value="{ipInIpPackets}"/> + <param name="graph-legend-h" value="IP in IP packets"/> + <param name="line-style-h" value="LINE1"/> + <param name="line-color-h" value="##eight"/> + <param name="line-order-h" value="8"/> + <!-- L2TP control packets --> + <param name="ds-expr-i" value="{l2tpControlPackets}"/> + <param name="graph-legend-i" value="L2TP control packets"/> + <param name="line-style-i" value="LINE1"/> + <param name="line-color-i" value="##nine"/> + <param name="line-order-i" value="9"/> + <!-- L2TP data packets --> + <param name="ds-expr-j" value="{l2tpDataPackets}"/> + <param name="graph-legend-j" value="L2TP data packets"/> + <param name="line-style-j" value="LINE1"/> + <param name="line-color-j" value="##ten"/> + <param name="line-order-j" value="10"/> + </leaf> + + <leaf name="allPackets"> + <param name="precedence" value="912"/> + <param name="comment" value="Total packets"/> + <param name="graph-legend" value="All packets received by CPU"/> + <param name="rrd-ds" value="allPackets"/> + <param name="snmp-object" value="$allPackets"/> + </leaf> + <leaf name="ipPackets"> + <param name="precedence" value="911"/> + <param name="comment" value="Total IP packets"/> + <param name="graph-legend" value="IP packets received by CPU"/> + <param name="rrd-ds" value="ipPackets"/> + <param name="snmp-object" value="$ipPackets"/> + </leaf> + <leaf name="tcpPackets"> + <param name="precedence" value="910"/> + <param name="comment" value="Total TCP packets"/> + <param name="graph-legend" value="TCP packets received by CPU"/> + <param name="rrd-ds" value="tcpPackets"/> + <param name="snmp-object" value="$tcpPackets"/> + </leaf> + <leaf name="udpPackets"> + <param name="precedence" value="909"/> + <param name="comment" value="Total UDP packets"/> + <param name="graph-legend" value="UDP packets received by CPU"/> + <param name="rrd-ds" value="udpPackets"/> + <param name="snmp-object" value="$udpPackets"/> + </leaf> + <leaf name="icmpPackets"> + <param name="precedence" value="908"/> + <param name="comment" value="Total ICMP packets"/> + <param name="graph-legend" value="ICMP packets received by CPU"/> + <param name="rrd-ds" value="icmpPackets"/> + <param name="snmp-object" value="$icmpPackets"/> + </leaf> + <leaf name="igmpPackets"> + <param name="precedence" value="907"/> + <param name="comment" value="Total IGMP packets"/> + <param name="graph-legend" value="IGMP packets received by CPU"/> + <param name="rrd-ds" value="igmpPackets"/> + <param name="snmp-object" value="$igmpPackets"/> + </leaf> + <leaf name="ipFragmentPackets"> + <param name="precedence" value="906"/> + <param name="comment" value="Total IP Fragment packets"/> + <param name="graph-legend" value="IP Fragment packets received"/> + <param name="rrd-ds" value="ipFragPkts"/> + <param name="snmp-object" value="$ipFragmentPackets"/> + </leaf> + <leaf name="dhcpPacketsToServer"> + <param name="precedence" value="905"/> + <param name="comment" + value="Total DHCP packets destined to a DHCP server"/> + <param name="graph-legend" value="DHCP packets client to server"/> + <param name="rrd-ds" value="dhcpPktsToServ"/> + <param name="snmp-object" value="$dhcpPacketsToServer"/> + </leaf> + <leaf name="dhcpPacketsToClient"> + <param name="precedence" value="904"/> + <param name="comment" + value="Total DHCP packets destined to DHCP Client"/> + <param name="graph-legend" value="DHCP packets server to client"/> + <param name="rrd-ds" value="dhcpPktsToClient"/> + <param name="snmp-object" value="$dhcpPacketsToClient"/> + </leaf> + <leaf name="ipInIpPackets"> + <param name="precedence" value="903"/> + <param name="comment" value="IP-in-IP packets"/> + <param name="graph-legend" value="IP-in-IP packets received"/> + <param name="rrd-ds" value="ipInIpPackets"/> + <param name="snmp-object" value="$ipInIpPackets"/> + </leaf> + <leaf name="l2tpControlPackets"> + <param name="precedence" value="902"/> + <param name="comment" value="L2TP control packets"/> + <param name="graph-legend" value="L2TP control packets received"/> + <param name="rrd-ds" value="l2tpControlPackets"/> + <param name="snmp-object" value="$l2tpControlPackets"/> + </leaf> + <leaf name="l2tpDataPackets"> + <param name="precedence" value="901"/> + <param name="comment" value="L2TP data packets"/> + <param name="graph-legend" value="L2TP Data packets received"/> + <param name="rrd-ds" value="l2tpDataPackets"/> + <param name="snmp-object" value="$l2tpDataPackets"/> + </leaf> + </template> + + <!-- + ************************************************************************** + + e100 Series templates + + ************************************************************************** + --> + + <template name="e100-cpu-subtree"> + <param name="comment" value="Overall CPU busy percentage"/> + <param name="data-file" value="%system-id%_cpu.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + </template> + + <template name="e100-cpu"> + <param name="comment" value="CPU Utilization on %cpu-name%"/> + <param name="graph-legend" value="CPU usage"/> + <param name="graph-title" value="CPU: %cpu-name%"/> + <param name="rrd-ds" value="%cpu-name%"/> + <param name="snmp-object" value="$cpuUtil.%cpu-index%"/> + </template> + + <template name="e100-hdd-subtree"> + <param name="comment" value="Storage statistics"/> + <param name="data-file" value="%system-id%_hdd.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="size,usage"/> + + <!-- Total Size --> + <param name="overview-subleave-name-size" value="Size"/> + <param name="overview-shortcut-text-size" value="Total"/> + <param name="overview-shortcut-title-size" + value="Show size of HDD's on one page"/> + <param name="overview-page-title-size" value="Total Size"/> + <!-- Usage --> + <param name="overview-subleave-name-usage" value="Usage"/> + <param name="overview-shortcut-text-usage" value="Usage"/> + <param name="overview-shortcut-title-usage" + value="Show usage consumed of HDD's on one page"/> + <param name="overview-page-title-usage" value="Total Used"/> + </template> + + <template name="e100-hdd"> + <param name="comment" value="HDD: %hdd-name%"/> + <param name="graph-title" value="%system-id%: HDD %hdd-name%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Hdd: Total vs Used"/> + <param name="graph-title" value="%hdd-name%: Total vs Used"/> + <param name="vertical-label" value="Bytes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="size,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Parition Size --> + <param name="ds-expr-size" value="{Size_Raw},1024,1024,*,*"/> + <param name="graph-legend-size" value="Size"/> + <param name="line-style-size" value="##totalresource"/> + <param name="line-color-size" value="##totalresource"/> + <param name="line-order-size" value="1"/> + <!-- Used Partition Size --> + <param name="ds-expr-used" value="{Used_Raw},1024,1024,*,*"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Size"> + <param name="precedence" value="902"/> + <param name="comment" value="Size of %hdd-name%"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Size_Raw},1024,1024,*,*"/> + <param name="graph-legend" value="Size of %hdd-name%"/> + <param name="graph-title" value="Size of %hdd-name%"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Size_Raw"> + <param name="hidden" value="yes"/> + <param name="precedence" value="102"/> + <param name="comment" value="Size of %hdd-name%"/> + <param name="graph-legend" value="Size of %hdd-name%"/> + <param name="graph-title" value="Size of %hdd-name%"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-ds" value="hdd_%hdd-name%_size"/> + <param name="snmp-object" value="$partitionSize.%hdd-index%"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Usage of %hdd-name%"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Used_Raw},1024,1024,*,*"/> + <param name="graph-legend" value="Usage of %hdd-name%"/> + <param name="graph-title" value="Usage of %hdd-name%"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + + <leaf name="Used_Raw"> + <param name="hidden" value="yes"/> + <param name="precedence" value="101"/> + <param name="comment" value="Usage of %hdd-name%"/> + <param name="graph-legend" value="Usage of %hdd-name%"/> + <param name="graph-title" value="Usage of %hdd-name%"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-ds" value="hdd_%hdd-name%_usage"/> + <param name="snmp-object" value="$partitionUsage.%hdd-index%"/> + </leaf> + </template> + + <template name="e100-mem-subtree"> + <param name="comment" value="Memory statistics"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="usage,total,used"/> + + <!-- Memory Usage (Total vs Used) --> + <param name="overview-subleave-name-usage" value="Usage"/> + <param name="overview-shortcut-text-usage" value="Memory Usage"/> + <param name="overview-shortcut-title-usage" + value="Show memory usage of all cpu's on one page"/> + <param name="overview-page-title-usage" + value="Memory usage"/> + <!-- Memory Total --> + <param name="overview-subleave-name-total" value="Total"/> + <param name="overview-shortcut-text-total" value="Memory Total"/> + <param name="overview-shortcut-title-total" + value="Show memory total of all cpu's on one page"/> + <param name="overview-page-title-total" + value="Memory total"/> + <!-- Memory Used --> + <param name="overview-subleave-name-used" value="Used"/> + <param name="overview-shortcut-text-used" value="Memory Used"/> + <param name="overview-shortcut-title-used" + value="Show memory used of all cpu's on one page"/> + <param name="overview-page-title-used" + value="Memory used"/> + </template> + + <template name="e100-mem"> + <param name="comment" value="Memory usage statistics"/> + <param name="data-file" value="%system-id%_mem_%mem-name%.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used"/> + <param name="graph-title" value="Total vs Used"/> + <param name="vertical-label" value="MBytes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Memory --> + <param name="ds-expr-total" value="{Total}"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Used Memory --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Total"> + <param name="precedence" value="902"/> + <param name="comment" value="Total memory"/> + <param name="graph-legend" value="Total memory"/> + <param name="vertical-label" value="MBytes"/> + <param name="rrd-ds" value="cpuSdramSize"/> + <param name="snmp-object" value="$cpuSdramSize.%mem-index%"/> + </leaf> + + <leaf name="Used"> + <param name="precedence" value="901"/> + <param name="comment" value="Used memory"/> + <param name="graph-legend" value="Used memory"/> + <param name="vertical-label" value="MBytes"/> + <param name="rrd-ds" value="cpuSdramUsage"/> + <param name="snmp-object" value="$cpuSdramUsage.%mem-index%"/> + </leaf> + </template> + + <template name="e100-policymgmt"> + <subtree name="Policy_Management"> + <param name="comment" value="Policy Statistics"/> + <param name="data-file" value="%system-id%_policy.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="usage"/> + <!-- Table usage --> + <param name="overview-subleave-name-usage" value="Usage"/> + <param name="overview-direct-link-usage" value="yes"/> + <param name="overview-direct-link-view-usage" value="expanded-dir-html"/> + <param name="overview-shortcut-text-usage" value="Table Usage"/> + <param name="overview-shortcut-title-usage" + value="Show table usage for all"/> + <param name="overview-page-title-usage" value="Table Usage"/> + + <subtree name="Delta_Operations"> + <param name="precedence" value="4"/> + <param name="comment" value="Delta processing"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Delta: Received vs Processed"/> + <param name="graph-title" value="Delta: Received vs Processed"/> + <param name="vertical-label" value="Delta count"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="recv,proc"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Capacity Size --> + <param name="ds-expr-recv" value="{Received}"/> + <param name="graph-legend-recv" value="Received"/> + <param name="line-style-recv" value="LINE1"/> + <param name="line-color-recv" value="##two"/> + <param name="line-order-recv" value="1"/> + <!-- Used Capacity Size --> + <param name="ds-expr-proc" value="{Processed}"/> + <param name="graph-legend-proc" value="Processed"/> + <param name="line-style-proc" value="LINE1"/> + <param name="line-color-proc" value="##three"/> + <param name="line-order-proc" value="2"/> + </leaf> + + <leaf name="Received"> + <param name="precedence" value="402"/> + <param name="comment" value="Delta ops received from CM"/> + <param name="graph-legend" value="Number of deltas received"/> + <param name="graph-title" value="Delta operations received"/> + <param name="vertical-label" value="Deltas"/> + <param name="rrd-ds" value="deltaRecv"/> + <param name="snmp-object" value="$deltaOperationsReceived"/> + </leaf> + + <leaf name="Processed"> + <param name="precedence" value="401"/> + <param name="comment" value="Delta ops processed by switch"/> + <param name="graph-legend" value="Number of deltas processed"/> + <param name="graph-title" value="Delta operations processed"/> + <param name="vertical-label" value="Deltas"/> + <param name="rrd-ds" value="deltaProc"/> + <param name="snmp-object" value="$deltaOperationsProcessed"/> + </leaf> + </subtree> + + <subtree name="Service_Profile"> + <param name="precedence" value="3"/> + <param name="comment" value="Service profile statistics"/> + <param name="graph-lower-limit" value="0"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Profile: Total vs Used"/> + <param name="graph-title" value="Profile: Total vs Used"/> + <param name="vertical-label" value="Number"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="cap,use"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Capacity Size --> + <param name="ds-expr-cap" value="{Table_Capacity}"/> + <param name="graph-legend-cap" value="Total"/> + <param name="line-style-cap" value="##totalresource"/> + <param name="line-color-cap" value="##totalresource"/> + <param name="line-order-cap" value="1"/> + <!-- Used Capacity Size --> + <param name="ds-expr-use" value="{Table_Usage}"/> + <param name="graph-legend-use" value="Used"/> + <param name="line-style-use" value="##resourceusage"/> + <param name="line-color-use" value="##resourceusage"/> + <param name="line-order-use" value="2"/> + </leaf> + + <leaf name="Table_Capacity"> + <param name="precdecence" value="302"/> + <param name="comment" value="Number of total profiles allowed"/> + <param name="graph-legend" value="Total number of profiles"/> + <param name="graph-title" value="Service profile capacity"/> + <param name="vertical-label" value="Profiles"/> + <param name="rrd-ds" value="srvProfileTblCap"/> + <param name="snmp-object" value="$serviceProfileTblCapacity"/> + </leaf> + + <leaf name="Table_Usage"> + <param name="precdecence" value="301"/> + <param name="comment" value="Number of total profiles used"/> + <param name="graph-legend" value="current number of profiles"/> + <param name="graph-title" value="Service profile usage"/> + <param name="vertical-label" value="Profiles"/> + <param name="rrd-ds" value="srvProfileTblUse"/> + <param name="snmp-object" value="$serviceProfileTblUsage"/> + </leaf> + </subtree> + + <subtree name="Service_Bundle"> + <param name="precedence" value="2"/> + <param name="comment" value="Service bundle statistics"/> + <param name="graph-lower-limit" value="0"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Bundles: Total vs Used"/> + <param name="graph-title" value="Bundles: Total vs Used"/> + <param name="vertical-label" value="Number"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="cap,use"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Capacity Size --> + <param name="ds-expr-cap" value="{Table_Capacity}"/> + <param name="graph-legend-cap" value="Total"/> + <param name="line-style-cap" value="##totalresource"/> + <param name="line-color-cap" value="##totalresource"/> + <param name="line-order-cap" value="1"/> + <!-- Used Capacity Size --> + <param name="ds-expr-use" value="{Table_Usage}"/> + <param name="graph-legend-use" value="Used"/> + <param name="line-style-use" value="##resourceusage"/> + <param name="line-color-use" value="##resourceusage"/> + <param name="line-order-use" value="2"/> + </leaf> + + <leaf name="Table_Capacity"> + <param name="precdecence" value="202"/> + <param name="comment" value="Number of total bundles allowed"/> + <param name="graph-legend" value="Total number of bundles"/> + <param name="graph-title" value="Service bundle capacity"/> + <param name="vertical-label" value="Bundles"/> + <param name="rrd-ds" value="srvBundleTblCap"/> + <param name="snmp-object" value="$serviceBundleTblCapacity"/> + </leaf> + + <leaf name="Table_Usage"> + <param name="precdecence" value="201"/> + <param name="comment" value="Number of total bundles used"/> + <param name="graph-legend" value="current number of bundles"/> + <param name="graph-title" value="Service bundle usage"/> + <param name="vertical-label" value="Bundles"/> + <param name="rrd-ds" value="srvBundleTblUse"/> + <param name="snmp-object" value="$serviceBundleTblUsage"/> + </leaf> + </subtree> + + <subtree name="Subnet_Group"> + <param name="precedence" value="1"/> + <param name="comment" value="Subnet group statistics"/> + <param name="graph-lower-limit" value="0"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Subnets: Total vs Used"/> + <param name="graph-title" value="Subnets: Total vs Used"/> + <param name="vertical-label" value="Number"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="cap,use"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Capacity Size --> + <param name="ds-expr-cap" value="{Table_Capacity}"/> + <param name="graph-legend-cap" value="Total"/> + <param name="line-style-cap" value="##totalresource"/> + <param name="line-color-cap" value="##totalresource"/> + <param name="line-order-cap" value="1"/> + <!-- Used Capacity Size --> + <param name="ds-expr-use" value="{Table_Usage}"/> + <param name="graph-legend-use" value="Used"/> + <param name="line-style-use" value="##resourceusage"/> + <param name="line-color-use" value="##resourceusage"/> + <param name="line-order-use" value="2"/> + </leaf> + + <leaf name="Table_Capacity"> + <param name="precdecence" value="102"/> + <param name="comment" value="Number of total subnets allowed"/> + <param name="graph-legend" value="Total number of entries"/> + <param name="graph-title" value="Subnet group capacity"/> + <param name="vertical-label" value="Subnets"/> + <param name="rrd-ds" value="subnetGrpTblCap"/> + <param name="snmp-object" value="$subnetGrpTblCapacity"/> + </leaf> + + <leaf name="Table_Usage"> + <param name="precdecence" value="101"/> + <param name="comment" value="Number of total subnets used"/> + <param name="graph-legend" value="current number of entries"/> + <param name="graph-title" value="Subnet group usage"/> + <param name="vertical-label" value="Subnets"/> + <param name="rrd-ds" value="subnetGrpTblUse"/> + <param name="snmp-object" value="$subnetGrpTblUsage"/> + </leaf> + </subtree> + </subtree> + </template> + + + <template name="e100-submgmt-subtree"> + <param name="comment" value="Subscriber Statistics"/> + <param name="data-file" value="%system-id%_subs.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="usage"/> + <!-- Table usage --> + <param name="overview-subleave-name-usage" value="Usage"/> + <param name="overview-direct-link-usage" value="yes"/> + <param name="overview-direct-link-view-usage" value="expanded-dir-html"/> + <param name="overview-shortcut-text-usage" value="Table Usage"/> + <param name="overview-shortcut-title-usage" + value="Show table usage for all"/> + <param name="overview-page-title-usage" value="Table Usage"/> + + <subtree name="Subscriber_Management"> + <param name="precedence" value="3"/> + <param name="comment" value="Subscriber management stats"/> + <param name="graph-lower-limit" value="0"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Sub Mgmt: Total vs Used"/> + <param name="graph-title" value="Sub Mgmt: Total vs Used"/> + <param name="vertical-label" value="Number"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="cap,use"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Capacity Size --> + <param name="ds-expr-cap" value="{Table_Capacity}"/> + <param name="graph-legend-cap" value="Total"/> + <param name="line-style-cap" value="##totalresource"/> + <param name="line-color-cap" value="##totalresource"/> + <param name="line-order-cap" value="1"/> + <!-- Used Capacity Size --> + <param name="ds-expr-use" value="{Table_Usage}"/> + <param name="graph-legend-use" value="Used"/> + <param name="line-style-use" value="##resourceusage"/> + <param name="line-color-use" value="##resourceusage"/> + <param name="line-order-use" value="2"/> + </leaf> + + <leaf name="Table_Capacity"> + <param name="precdecence" value="302"/> + <param name="comment" value="Number of total entries allowed"/> + <param name="graph-legend" value="Total number of entries"/> + <param name="graph-title" value="Subscriber management capacity"/> + <param name="vertical-label" value="Entries"/> + <param name="rrd-ds" value="subMgmtTblCap"/> + <param name="snmp-object" value="$subscriberMgmtTblCapacity"/> + </leaf> + + <leaf name="Table_Usage"> + <param name="precdecence" value="301"/> + <param name="comment" value="Number of total entries used"/> + <param name="graph-legend" value="current number of entries"/> + <param name="graph-title" value="Subscriber management usage"/> + <param name="vertical-label" value="Entries"/> + <param name="rrd-ds" value="subMgmtTblUsage"/> + <param name="snmp-object" value="$subscriberMgmtTblUsage"/> + </leaf> + </subtree> + + <subtree name="Subscriber_Name"> + <param name="precedence" value="2"/> + <param name="comment" value="Subscriber name stats"/> + <param name="graph-lower-limit" value="0"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Sub Mgmt: Total vs Used"/> + <param name="graph-title" value="Sub Mgmt: Total vs Used"/> + <param name="vertical-label" value="Number"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="cap,use"/> + <param name="graph-lower-limit" value="0"/> + <!-- Total Capacity Size --> + <param name="ds-expr-cap" value="{Table_Capacity}"/> + <param name="graph-legend-cap" value="Total"/> + <param name="line-style-cap" value="##totalresource"/> + <param name="line-color-cap" value="##totalresource"/> + <param name="line-order-cap" value="1"/> + <!-- Used Capacity Size --> + <param name="ds-expr-use" value="{Table_Usage}"/> + <param name="graph-legend-use" value="Used"/> + <param name="line-style-use" value="##resourceusage"/> + <param name="line-color-use" value="##resourceusage"/> + <param name="line-order-use" value="2"/> + </leaf> + + <leaf name="Table_Capacity"> + <param name="precdecence" value="202"/> + <param name="comment" value="Number of total entries allowed"/> + <param name="graph-legend" value="Total number of entries"/> + <param name="graph-title" value="Subscriber name capacity"/> + <param name="upper-limt" value="800000"/> + <param name="vertical-label" value="Entries"/> + <param name="rrd-ds" value="subNameTblCap"/> + <param name="snmp-object" value="$subscriberNameTblCapacity"/> + </leaf> + + <leaf name="Table_Usage"> + <param name="precdecence" value="201"/> + <param name="comment" value="Number of total entries used"/> + <param name="graph-legend" value="current number of entries"/> + <param name="graph-title" value="Subscriber name usage"/> + <param name="vertical-label" value="Entries"/> + <param name="rrd-ds" value="subNameTblUsage"/> + <param name="snmp-object" value="$subscriberNameTblUsage"/> + </leaf> + </subtree> + + <subtree name="Subscriber_Count"> + <param name="precedence" value="1"/> + <param name="comment" value="Subscriber identification"/> + <param name="graph-lower-limit" value="0"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Sub: Identified vs non"/> + <param name="graph-title" value="Sub: Identified vs non"/> + <param name="vertical-label" value="Subscribers"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="id,unid"/> + <param name="graph-lower-limit" value="0"/> + <!-- Subscribers Identified --> + <param name="ds-expr-id" value="{Identified}"/> + <param name="graph-legend-id" value="Identified"/> + <param name="line-style-id" value="##totalresource"/> + <param name="line-color-id" value="##totalresource"/> + <param name="line-order-id" value="1"/> + <!-- Subscribers unidentified --> + <param name="ds-expr-unid" value="{Unidentified}"/> + <param name="graph-legend-unid" value="Unidentified"/> + <param name="line-style-unid" value="##resourceusage"/> + <param name="line-color-unid" value="##resourceusage"/> + <param name="line-order-unid" value="2"/> + </leaf> + + <leaf name="Identified"> + <param name="precdecence" value="202"/> + <param name="comment" value="Number of identified subs"/> + <param name="graph-legend" value="Identified subscribers"/> + <param name="graph-title" value="Total identified subscribers"/> + <param name="vertical-label" value="Entries"/> + <param name="rrd-ds" value="idSubCount"/> + <param name="snmp-object" value="$identifiedSubscriberCount"/> + </leaf> + + <leaf name="Unidentified"> + <param name="precdecence" value="201"/> + <param name="comment" value="Number of unidentified subs"/> + <param name="graph-legend" value="Unidentified subscribers"/> + <param name="graph-title" value="Total unidentified subscribers"/> + <param name="vertical-label" value="Entries"/> + <param name="rrd-ds" value="unidSubCount"/> + <param name="snmp-object" value="$unidentifiedSubscriberCount"/> + </leaf> + </subtree> + </template> + + + <template name="e100-submgmt-state-subtree"> + <param name="comment" value="Subscriber State Statistics"/> + <param name="data-file" value="%system-id%_subs_state.rrd"/> + <param name="precedence" value="1"/> + </template> + + + <template name="e100-submgmt-state"> + <param name="data-file" value="%system-id%_subs_state.rrd"/> + <param name="comment" value="State: %state-name%"/> + <param name="graph-title" value="State: %state-name%"/> + <param name="graph-legend" value="Subscriber count"/> + <param name="vertical-label" value="Subscribers"/> + <param name="rrd-ds" value="%state-rrd%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="snmp-object" value="$subscriberStateCount.%state-idx%"/> + </template> + + + <!-- + ************************************************************************** + + COMMON: Bundle Offer statistics are common between the e30 and e100 + NOTE: PacketSize information is only available for the e100 + + ************************************************************************** + --> + + <template name="arbor-bundle-subtree"> + <param name="graph-lower-limit" value="0" /> + <param name="graph-title" value="%bundle-name%"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="up,down,volume"/> + <!-- Up Volume --> + <param name="overview-subleave-name-up" value="Up_bps"/> + <param name="overview-direct-link-up" value="yes"/> + <param name="overview-direct-link-view-up" value="expanded-dir-html"/> + <param name="overview-shortcut-text-up" + value="Upstream Usage"/> + <param name="overview-shortcut-title-up" + value="Show upstream bandwidth usage for all bundles"/> + <param name="overview-page-title-up" + value="Upstream Usage"/> + <!-- Down Volume --> + <param name="overview-subleave-name-down" value="Down_bps"/> + <param name="overview-direct-link-down" value="yes"/> + <param name="overview-direct-link-view-down" value="expanded-dir-html"/> + <param name="overview-shortcut-text-down" + value="Downstream Usage"/> + <param name="overview-shortcut-title-down" + value="Show downstream bandwidth usage for all bundles"/> + <param name="overview-page-title-down" + value="Downstream Usage"/> + <!-- InOut Volume --> + <param name="overview-subleave-name-volume" value="Volume"/> + <param name="overview-direct-link-volume" value="yes"/> + <param name="overview-direct-link-view-volume" value="expanded-dir-html"/> + <param name="overview-shortcut-text-volume" + value="InOut Usage"/> + <param name="overview-shortcut-title-volume" + value="Show InOut bandwidth usage for all bundles"/> + <param name="overview-page-title-volume" + value="Volume Usage"/> + </template> + + + <template name="arbor-bundle"> + <leaf name="Volume"> + <param name="comment" value="InOut volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{DownVolume},8,*"/> + <param name="graph-legend-down" value="Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{UpVolume},8,*"/> + <param name="graph-legend-up" value="Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="UpVolume"> + <param name="comment" value="Upstream volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpVolume"/> + <param name="snmp-object" + value="$boBundleBytesSent.%bundle-id%.%offer-id%"/> + <param name="precedence" value="902"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + + <leaf name="DownVolume"> + <param name="comment" value="Downstream volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolume"/> + <param name="snmp-object" + value="$boBundleBytesReceived.%bundle-id%.%offer-id%"/> + <param name="precedence" value="901"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + + <leaf name="Up_bps"> + <param name="comment" value="Upstream bandwidth usage per service"/> + <param name="graph-legend" value="Upstream BW"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{UpVolume},8,*" /> + <param name="precedence" value="802"/> + </leaf> + + <leaf name="Down_bps"> + <param name="comment" value="Downstream bandwidth usage per service"/> + <param name="graph-legend" value="Downstream BW"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{DownVolume},8,*" /> + <param name="precedence" value="801"/> + </leaf> + </template> + + + <template name="arbor-bundle-deny"> + <leaf name="Volume_Denied"> + <param name="comment" + value="InOut of denied volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{Deny_DownVolume},8,*"/> + <param name="graph-legend-down" value="Denied Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{Deny_UpVolume},8,*"/> + <param name="graph-legend-up" value="Denied Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="Deny_UpVolume"> + <param name="data-file" + value="%system-id%_bo_%offer-rrd%_%bundle-rrd%_deny.rrd"/> + <param name="comment" value="Upstream denied volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpVolumeDeny"/> + <param name="snmp-object" + value="$boBundleBytesSentDenyPolicyDrop.%bundle-id%.%offer-id%"/> + <param name="precedence" value="602"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="Deny_DownVolume"> + <param name="data-file" + value="%system-id%_bo_%offer-rrd%_%bundle-rrd%_deny.rrd"/> + <param name="comment" value="Downstream denied volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolumeDeny"/> + <param name="snmp-object" + value="$boBundleBytesReceivedDenyPolicyDrop.%bundle-id%.%offer-id%"/> + <param name="precedence" value="601"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="Denied_Up_bps"> + <param name="comment" + value="Upstream denied bandwidth usage per service"/> + <param name="graph-legend" value="Upstream Denied BW"/> + <param name="line-style" value="##BpsOut"/> + <param name="line-color" value="##BpsOut"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Deny_UpVolume},8,*" /> + <param name="precedence" value="502"/> + </leaf> + + <leaf name="Denied_Down_bps"> + <param name="comment" + value="Downstream denied bandwidth usage per service"/> + <param name="graph-legend" value="Downstream denied BW"/> + <param name="line-style" value="##BpsIn"/> + <param name="line-color" value="##BpsIn"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Deny_DownVolume},8,*" /> + <param name="precedence" value="501"/> + </leaf> + </template> + + + <template name="arbor-bundle-ratelimit"> + <leaf name="Volume_RateLimit"> + <param name="comment" + value="InOut of ratelimit volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{Rate_DownVolume},8,*"/> + <param name="graph-legend-down" value="Rate limit Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{Rate_UpVolume},8,*"/> + <param name="graph-legend-up" value="Rate limit Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="Rate_UpVolume"> + <param name="data-file" + value="%system-id%_bo_%offer-rrd%_%bundle-rrd%_ratelimit.rrd"/> + <param name="comment" + value="Upstream ratelimit volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpVolumeRate"/> + <param name="snmp-object" + value="$boBundleBytesSentRateLimitDrop.%bundle-id%.%offer-id%"/> + <param name="precedence" value="402"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="Rate_DownVolume"> + <param name="data-file" + value="%system-id%_bo_%offer-rrd%_%bundle-rrd%_ratelimit.rrd"/> + <param name="comment" + value="Downstream ratelimit volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolumeRate"/> + <param name="snmp-object" + value="$boBundleBytesReceivedRateLimitDrop.%bundle-id%.%offer-id%"/> + <param name="precedence" value="401"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + </leaf> + + <leaf name="Ratelimit_Up_bps"> + <param name="comment" + value="Upstream rate limit bandwidth usage per service"/> + <param name="graph-legend" value="Upstream rate limited in Bps"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Rate_UpVolume},8,*" /> + <param name="precedence" value="302"/> + </leaf> + + <leaf name="Ratelimit_Down_bps"> + <param name="comment" + value="Downstream rate limit bandwidth usage per service"/> + <param name="graph-legend" value="Downstream rate limited in Bps"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Rate_DownVolume},8,*" /> + <param name="precedence" value="301"/> + </leaf> + </template> + + + <template name="arbor-bundle-subcount"> + <leaf name="Subscriber_Count"> + <param name="comment" value="Subscribers using this bundle"/> + <param name="data-file" + value="%system-id%_bo_%offer-rrd%_%bundle-rrd%_subcount.rrd"/> + <param name="graph-legend" value="subscribers"/> + <param name="rrd-ds" value="subCount"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="snmp-object" + value="$boBundleSubCount.%bundle-id%.%offer-id%"/> + </leaf> + </template> + + + <template name="arbor-bundle-pktsize"> + <subtree name="Packet_Sizes"> + <param name="comment" + value="Number of packets sent per grouped packet size"/> + <param name="data-file" + value="%system-id%_bo_%offer-rrd%_%bundle-rrd%_pktsize.rrd"/> + <param name="rrd-create-dstype" value="COUNTER"/> + + <!-- SUMMARY OF BYTE SIZES --> + <leaf name="64Byte"> + <param name="comment" value="InOut volume in kbps for 64Byte"/> + <param name="precedence" value="999"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 64 Byte Volume down --> + <!-- 221 (num of packets) * 64 bytes * 8 bits / 300 secs --> + <param name="ds-expr-down" value="{64Byte_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 64 Byte Volume up --> + <param name="ds-expr-up" value="{64Byte_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Approx Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <leaf name="65Byte_to_127Byte"> + <param name="comment" + value="Approx InOut volume in kbps for 65 to 127Byte"/> + <param name="precedence" value="998"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 65Byte_to_127Byte Volume down --> + <param name="ds-expr-down" + value="{65Byte_to_127Byte_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 65Byte_to_127Byte Volume up --> + <param name="ds-expr-up" + value="{65Byte_to_127Byte_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Approx Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <leaf name="128Byte_to_255Byte"> + <param name="comment" + value="Approx InOut volume in kbps for 128 to 255Byte"/> + <param name="precedence" value="997"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 128Byte_to_255Byte Volume down --> + <param name="ds-expr-down" + value="{128Byte_to_255Byte_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 128Byte_to_255Byte Volume up --> + <param name="ds-expr-up" + value="{128Byte_to_255Byte_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Approx Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <leaf name="256Byte_to_511Byte"> + <param name="comment" + value="Approx InOut volume in kbps for 256 to 511Byte"/> + <param name="precedence" value="996"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 256Byte_to_511Byte Volume down --> + <param name="ds-expr-down" + value="{256Byte_to_511Byte_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 256Byte_to_511Byte Volume up --> + <param name="ds-expr-up" + value="{256Byte_to_511Byte_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Approx Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <leaf name="512Byte_to_1023Byte"> + <param name="comment" + value="Approx InOut volume in kbps for 512 to 1023Byte"/> + <param name="precedence" value="995"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 512Byte_to_1023Byte Volume down --> + <param name="ds-expr-down" + value="{512Byte_to_1023Byte_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 512Byte_to_1023Byte Volume up --> + <param name="ds-expr-up" + value="{512Byte_to_1023Byte_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Approx Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <leaf name="1024Byte_to_1518Byte"> + <param name="comment" + value="Approx InOut volume in kbps for 1024 to 1518Byte"/> + <param name="precedence" value="994"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 1024Byte_to_1518Byte Volume down --> + <param name="ds-expr-down" + value="{1024Byte_to_1518Byte_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 1024Byte_to_1518Byte Volume up --> + <param name="ds-expr-up" + value="{1024Byte_to_1518Byte_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Approx Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <leaf name="1519Byte_and_higher"> + <param name="comment" + value="Approx InOut volume in kbps for 1519 and higher Byte"/> + <param name="precedence" value="993"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- 1519Byte_and_higher Volume down --> + <param name="ds-expr-down" + value="{1519Byte_and_higher_Down},64,*,8,*,300,/"/> + <param name="graph-legend-down" value="Approx Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- 1519Byte_and_higher Volume up --> + <param name="ds-expr-up" + value="{1519Byte_and_higher_Up},64,*,8,*,300,/"/> + <param name="graph-legend-up" value="Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="1"/> + </leaf> + + <!-- + PER PACKET SIZES + 64 (only 64byte) + 65 to 127 + 128 to 255 + 256 to 511 + 512 to 1023 + 1024 to 1518 + 1519 and higher + --> + + <leaf name="64Byte_Up"> + <param name="comment" value="64 Byte packets"/> + <param name="graph-legend" value="64 byte"/> + <param name="precedence" value="92"/> + <param name="rrd-ds" value="Sent64"/> + <param name="snmp-object" + value="$boPacketsSent64.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="64Byte_Down"> + <param name="comment" value="64 Byte packets"/> + <param name="graph-legend" value="64 byte"/> + <param name="precedence" value="91"/> + <param name="rrd-ds" value="Recv64"/> + <param name="snmp-object" + value="$boPacketsReceived64.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="65Byte_to_127Byte_Up"> + <param name="comment" value="65 byte to 127 byte packets"/> + <param name="graph-legend" value="65 to 127 byte"/> + <param name="precedence" value="82"/> + <param name="rrd-ds" value="Sent65to127"/> + <param name="snmp-object" + value="$boPacketsSent65to127.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="65Byte_to_127Byte_Down"> + <param name="comment" value="65 byte to 127 byte packets"/> + <param name="graph-legend" value="65 to 127 byte"/> + <param name="precedence" value="81"/> + <param name="rrd-ds" value="Recv65to127"/> + <param name="snmp-object" + value="$boPacketsReceived65to127.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="128Byte_to_255Byte_Up"> + <param name="comment" value="128 byte to 255 byte packets"/> + <param name="graph-legend" value="128 to 255 byte"/> + <param name="precedence" value="72"/> + <param name="rrd-ds" value="Sent128to255"/> + <param name="snmp-object" + value="$boPacketsSent128to255.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="128Byte_to_255Byte_Down"> + <param name="comment" value="128 byte to 255 byte packets"/> + <param name="graph-legend" value="128 to 255 byte"/> + <param name="precedence" value="71"/> + <param name="rrd-ds" value="Recv128to255"/> + <param name="snmp-object" + value="$boPacketsReceived128to255.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="256Byte_to_511Byte_Up"> + <param name="comment" value="256 byte to 511 byte packets"/> + <param name="graph-legend" value="256 to 511 byte"/> + <param name="precedence" value="62"/> + <param name="rrd-ds" value="Sent256to511"/> + <param name="snmp-object" + value="$boPacketsSent256to511.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="256Byte_to_511Byte_Down"> + <param name="comment" value="256 byte to 511 byte packets"/> + <param name="graph-legend" value="256 to 511 byte"/> + <param name="precedence" value="61"/> + <param name="rrd-ds" value="Recv256to511"/> + <param name="snmp-object" + value="$boPacketsReceived256to511.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="512Byte_to_1023Byte_Up"> + <param name="comment" value="512 byte to 1023 byte packets"/> + <param name="graph-legend" value="512 to 1023 byte"/> + <param name="precedence" value="52"/> + <param name="rrd-ds" value="Sent512to1023"/> + <param name="snmp-object" + value="$boPacketsSent512to1023.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="512Byte_to_1023Byte_Down"> + <param name="comment" value="512 byte to 1023 byte packets"/> + <param name="graph-legend" value="512 to 1023 byte"/> + <param name="precedence" value="51"/> + <param name="rrd-ds" value="Recv512to1023"/> + <param name="snmp-object" + value="$boPacketsReceived512to1023.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="1024Byte_to_1518Byte_Up"> + <param name="comment" value="1024 byte to 1518 byte packets"/> + <param name="graph-legend" value="1024 to 1518 byte"/> + <param name="precedence" value="42"/> + <param name="rrd-ds" value="Sent1024to1518"/> + <param name="snmp-object" + value="$boPacketsSent1024to1518.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="1024Byte_to_1518Byte_Down"> + <param name="comment" value="1024 byte to 1518 byte packets"/> + <param name="graph-legend" value="1024 to 1518 byte"/> + <param name="precedence" value="41"/> + <param name="rrd-ds" value="Recv1024to1518"/> + <param name="snmp-object" + value="$boPacketsReceived1024to1518.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="1519Byte_and_higher_Up"> + <param name="comment" value="1519 byte higher byte packets"/> + <param name="graph-legend" value="1519 and higher byte"/> + <param name="precedence" value="32"/> + <param name="rrd-ds" value="Sent1519up"/> + <param name="snmp-object" + value="$boPacketsSent1519up.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + + <leaf name="1519Byte_and_higher_Down"> + <param name="comment" value="1519 byte higher byte packets"/> + <param name="graph-legend" value="1519 and higher byte"/> + <param name="precedence" value="31"/> + <param name="rrd-ds" value="Recv1519up"/> + <param name="snmp-object" + value="$boPacketsReceived1519up.%bundle-id%.%offer-id%"/> + <param name="vertical-label" value="packets"/> + </leaf> + </subtree> + </template> + + + <template name="arbor-flowlkup-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="usage,max,curr"/> + <!-- Usage --> + <param name="overview-subleave-name-usage" value="Usage"/> + <param name="overview-shortcut-text-usage" + value="Flow Usage summary"/> + <param name="overview-shortcut-title-usage" + value="Show flow usage summary for all pools on one page"/> + <param name="overview-page-title-usage" + value="Flow usage"/> + <!-- Maximum --> + <param name="overview-subleave-name-max" value="Maximum"/> + <param name="overview-shortcut-text-max" + value="Max cap. of the flow pool summary"/> + <param name="overview-shortcut-title-max" + value="Show maximum capacity of the flow pools on one page"/> + <param name="overview-page-title-max" + value="Flow maximum usage"/> + <!-- Current --> + <param name="overview-subleave-name-curr" value="Current"/> + <param name="overview-shortcut-text-curr" + value="Curr cap. of the flow pool summary"/> + <param name="overview-shortcut-title-curr" + value="Show current capacity of the flow pools on one page"/> + <param name="overview-page-title-curr" + value="Flow current usage"/> + </template> + + + <template name="arbor-flowlkup-leaf"> + <param name="comment" value="FlowLookup device %flowdev-index%"/> + <param name="data-file" value="%system-id%_flowlkup_%flowdev-index%.rrd"/> + <param name="graph-title" + value="FlowLkup device %flowdev-index%: %flowpool-name%"/> + <param name="graph-lower-limit" value="0"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Maximum vs Current"/> + <param name="graph-title" value="Maximum vs Current"/> + <param name="vertical-label" value="nodes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- Maximum Capacity --> + <param name="ds-expr-total" value="{Maximum}"/> + <param name="graph-legend-total" value="Maximum"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- Current Capacity --> + <param name="ds-expr-used" value="{Current}"/> + <param name="graph-legend-used" value="Current"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Maximum"> + <param name="comment" value="Maximum capacity of the pool"/> + <param name="graph-legend" value="nodes"/> + <param name="precedence" value="902"/> + <param name="rrd-ds" value="maxCapacity_%flowpool-index%"/> + <param name="snmp-object" + value="$flowPoolName.%flowdev-index%.1.1.3.%flowpool-index%"/> + </leaf> + + <leaf name="Current"> + <param name="comment" value="Current capacity of the pool"/> + <param name="graph-legend" value="nodes"/> + <param name="precedence" value="901"/> + <param name="rrd-ds" value="currentCapacity_%flowpool-index%"/> + <param name="snmp-object" + value="$flowPoolName.%flowdev-index%.1.1.4.%flowpool-index%"/> + </leaf> + </template> + + +</datasources> + +</configuration> + diff --git a/torrus/xmlconfig/vendor/ascend.max.xml b/torrus/xmlconfig/vendor/ascend.max.xml new file mode 100644 index 000000000..d312bfadf --- /dev/null +++ b/torrus/xmlconfig/vendor/ascend.max.xml @@ -0,0 +1,107 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: ascend.max.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ + Roman Hochuli <roman@hochu.li> + Stanislav Sinyagin <ssinyagin@yahoo.com> + + Ascend MAC Call statistics. + Tested with Ascent MAX 4000 with Software-Release feik.m40 7.0.26 +--> + +<configuration> + + <definitions> + <!-- ASCEND-ADVANCED-AGENT-MIB --> + <def name="ascend_wanLineActiveChannels" + value="1.3.6.1.4.1.529.4.21.1.7" /> + <!-- ASCEND-CALL-MIB --> + <def name="ascend_callCurrentDigitalIncoming" + value="1.3.6.1.4.1.529.11.7.0" /> + <def name="ascend_callCurrentAnalogIncoming" + value="1.3.6.1.4.1.529.11.5.0" /> + </definitions> + + <datasources> + + <template name="ascend-totalcalls"> + <param name="comment" value="Ascend Callstatistics" /> + <param name="data-file" value="%system-id%_callstats.rrd" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-hwpredict" value="disabled" /> + + <leaf name="Total_Calls"> + <param name="comment" + value="Current total number of calls" /> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="analog,digital"/> + + <param name="ds-expr-analog" value="{Total_Analog_Calls}"/> + <param name="graph-legend-analog" value="analog calls"/> + <param name="line-style-analog" value="AREA"/> + <param name="line-color-analog" value="##one"/> + <param name="line-order-analog" value="1"/> + + <param name="ds-expr-digital" value="{Total_Digital_Calls}"/> + <param name="graph-legend-digital" value="digital calls"/> + <param name="line-style-digital" value="STACK"/> + <param name="line-color-digital" value="##two"/> + <param name="line-order-digital" value="2"/> + + <param name="vertical-label" value="Lines"/> + <param name="precedence" value="1000" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="Total_Analog_Calls"> + <param name="hidden" value="yes"/> + <param name="comment" + value="Current current total number of analog calls" /> + <param name="snmp-object" value="$ascend_callCurrentAnalogIncoming" /> + <param name="rrd-ds" value="CCAnalog" /> + <param name="precedence" value="200" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="Total_Digital_Calls"> + <param name="hidden" value="yes"/> + <param name="comment" + value="Current total number of ISDN calls" /> + <param name="snmp-object" value="$ascend_callCurrentDigitalIncoming" /> + <param name="rrd-ds" value="CCISDN" /> + <param name="precedence" value="300" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + </template> + + <template name="ascend-line-stats"> + <param name="comment" value="Current active calls in the trunk line"/> + <param name="snmp-object" + value="$ascend_wanLineActiveChannels.%ascend-ifidx%"/> + <param name="data-file" + value="%system-id%_linestats_%ascend-ifidx%.rrd" /> + <param name="rrd-ds" value="ActiveChannels" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-legend" value="Channels busy" /> + <param name="vertical-label" value="Lines"/> + </template> + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/atmel.xml b/torrus/xmlconfig/vendor/atmel.xml new file mode 100644 index 000000000..ec8d5bdf7 --- /dev/null +++ b/torrus/xmlconfig/vendor/atmel.xml @@ -0,0 +1,686 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2004 Scott Brooks + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + Scott Brooks <sbrooks@binary-solutions.net> + Stanislav Sinyagin <ssinyagin@yahoo.com>: reorganised the structure + + Note: + For better discovery speed, use the discovery parameter as follows: + <param name="only-devtypes" value="ATMEL"/> +--> + +<configuration> + + <definitions> + <def name="networkSettings" + value="1.3.6.1.4.1.410.1.2.8.1.0" /> + <def name="associatedSTAsNum" + value="1.3.6.1.4.1.410.1.2.5.1.0" /> + <def name="operChannelID" + value="1.3.6.1.4.1.410.1.2.1.1.0" /> + <def name="operRTSThreshold" + value="1.3.6.1.4.1.410.1.2.1.4.0" /> + <def name="operFragmentationThreshold" + value="1.3.6.1.4.1.410.1.2.1.5.0" /> + <def name="wirelessStatistics" + value="1.3.6.1.4.1.410.1.2.3.1.0" /> + <def name="ethernetRxStatistics" + value="1.3.6.1.4.1.410.1.1.7.1.0" /> + <def name="ethernetTxStatistics" + value="1.3.6.1.4.1.410.1.1.7.2.0" /> + + </definitions> + <datasources> + + <template name="atmel-wireless-transform"> + <param name="transform-value"> + my @stats=unpack('VVVVVVVVVVVVVVVVVVVVVV',pack('H*',substr(DOLLAR_,2))); + return DOLLARstats[%atmel-stats-member%]; + </param> + </template> + + <template name="atmel-eth-rx-transform"> + <param name="transform-value"> + my @stats=unpack('VVVVVVVVVVVVVVVV',pack('H*',substr(DOLLAR_,2))); + return DOLLARstats[%atmel-stats-member%]; + </param> + </template> + + <template name="atmel-eth-tx-transform"> + <param name="transform-value"> + my @stats=unpack('VVVVVVVVVVVV',pack('H*',substr(DOLLAR_,2))); + return DOLLARstats[%atmel-stats-member%]; + </param> + </template> + + <template name="atmel-network-transform"> + <param name="transform-value"> + my @stats=unpack('vH12vCCA2CA5A32C',pack('H*',substr(DOLLAR_,2))); + return DOLLARstats[%atmel-stats-member%]; + </param> + </template> + + <!-- for future implementation of devices overview --> + <template name="atmel-devlist-subtree"> + <param name="comment" value="Link stats and Network Stats"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="lstat"/> + <param name="overview-subleave-name-lstat" value="linkStats" /> + <param name="overview-shortcut-text-lstat" + value="All Link Stats" /> + <param name="overview-shortcut-title-lstat" + value="Show all devices Link Quality on one page" /> + <param name="overview-page-title-lstat" + value="Link Stats" /> + </template> + + + <template name="atmel-client-stats"> + <leaf name="Wireless_Quality"> + <param name="comment"> + Wireless link quality and Received Signal Strength Indicator + </param> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="rssi,lq" /> + + <param name="ds-expr-rssi" + value="{RSSI},40,GE,40,{RSSI},IF,40,/,100,*" /> + <param name="graph-legend-rssi" value="RSSI" /> + <param name="line-style-rssi" value="LINE2" /> + <param name="line-color-rssi" value="#00FF00" /> + <param name="line-order-rssi" value="1" /> + + <param name="ds-expr-lq" + value="40,{LinkQuality},40,GE,40,{LinkQuality},IF,-,40,/,100,*" /> + <param name="graph-legend-lq" value="Link Quality" /> + <param name="line-style-lq" value="LINE2" /> + <param name="line-color-lq" value="#0000FF" /> + <param name="line-order-lq" value="2" /> + </leaf> + + <leaf name="RSSI"> + <param name="comment" + value="Recieve Signal Strength Indicator" /> + <param name="snmp-object" value="$networkSettings" /> + <param name="rrd-ds" value="rssi" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-legend" value="RSSI" /> + <param name="atmel-stats-member" value="3" /> + <apply-template name="atmel-network-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="LinkQuality"> + <param name="comment" value="Wireless Link Quality" /> + <param name="snmp-object" value="$networkSettings" /> + <param name="rrd-ds" value="lq" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-legend" value="Link Quality" /> + <param name="atmel-stats-member" value="6" /> + <apply-template name="atmel-network-transform" /> + <param name="hidden" value="yes" /> + </leaf> + </template> + + <template name="atmel-accesspoint-stats"> + <leaf name="Associated_Stations"> + <param name="comment" value="Number of associated stations" /> + <param name="snmp-object" value="$associatedSTAsNum" /> + <param name="rrd-ds" value="assoc" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-legend" value="Client stations" /> + </leaf> + </template> + + <template name="atmel-device-subtree"> + <param name="data-file" value="%snmp-host%_connection.rrd" /> + + <!-- ############# WIRELESS ################ --> + <subtree name="Wireless_Stats"> + <param name="comment" value="Wireless interface statistics" /> + + <!-- ##### TRANSMIT STATS ##### --> + <leaf name="txStats"> + <param name="comment" value="TX Stats" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names"> + uniTxPackets,broadcastTxPackets,multicastTxPackets, + txBeacon,txACK,txRTS,txCTS + </param> + <param name="ds-expr-uniTxPackets" value="{uniTxPackets}" /> + <param name="graph-legend-uniTxPackets" value="Unicast TX" /> + <param name="line-color-uniTxPackets" value="##one" /> + <param name="line-order-uniTxPackets" value="1" /> + <param name="line-style-uniTxPackets" value="LINE2" /> + + <param name="ds-expr-broadcastTxPackets" + value="{broadcastTxPackets}" /> + <param name="graph-legend-broadcastTxPackets" value="Broadcast TX" /> + <param name="line-color-broadcastTxPackets" value="##two" /> + <param name="line-order-broadcastTxPackets" value="2" /> + <param name="line-style-broadcastTxPackets" value="LINE2" /> + + <param name="ds-expr-multicastTxPackets" + value="{multicastTxPackets}" /> + <param name="graph-legend-multicastTxPackets" value="Multicast TX" /> + <param name="line-color-multicastTxPackets" value="##three" /> + <param name="line-order-multicastTxPackets" value="3" /> + <param name="line-style-multicastTxPackets" value="LINE2" /> + + <param name="ds-expr-txBeacon" value="{txBeacon}" /> + <param name="graph-legend-txBeacon" value="TX Beacons" /> + <param name="line-color-txBeacon" value="##four" /> + <param name="line-order-txBeacon" value="4" /> + <param name="line-style-txBeacon" value="LINE2" /> + + <param name="ds-expr-txACK" value="{txACK}" /> + <param name="graph-legend-txACK" value="TX Acks" /> + <param name="line-color-txACK" value="##five" /> + <param name="line-order-txACK" value="5" /> + <param name="line-style-txACK" value="LINE2" /> + + <param name="ds-expr-txRTS" value="{txRTS}" /> + <param name="graph-legend-txRTS" value="TX RTS" /> + <param name="line-color-txRTS" value="##six" /> + <param name="line-order-txRTS" value="6" /> + <param name="line-style-txRTS" value="LINE2" /> + + <param name="ds-expr-txCTS" value="{txCTS}" /> + <param name="graph-legend-txCTS" value="TX CTS" /> + <param name="line-color-txCTS" value="##seven" /> + <param name="line-order-txCTS" value="7" /> + <param name="line-style-txCTS" value="LINE2" /> + </leaf> + + <leaf name="uniTxPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="uniTxPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Unicast TX Packets" /> + <param name="atmel-stats-member" value="0" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="broadcastTxPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="broadTxPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Broadcast TX Packets" /> + <param name="atmel-stats-member" value="1" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="multicastTxPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="multiTxPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Multicast TX Packets" /> + <param name="atmel-stats-member" value="2" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="txBeacon"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="txBeacon" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Transmitted Beacons" /> + <param name="atmel-stats-member" value="3" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="txACK"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="txACK" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Transmitted ACKs" /> + <param name="atmel-stats-member" value="4" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="txRTS"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="txRTS" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Transmitted RTS" /> + <param name="atmel-stats-member" value="5" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="txCTS"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="txCTS" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Transmitted CTS" /> + <param name="atmel-stats-member" value="6" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <!-- ##### RECEIVE STATS ##### --> + <leaf name="rxStats"> + <param name="comment" value="RX Stats" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names"> + uniRxPackets,broadcastRxPackets,multicastRxPackets,rxBeacon, + rxACK,rxRTS,rxCTS + </param> + + <param name="ds-expr-uniRxPackets" value="{uniRxPackets}" /> + <param name="graph-legend-uniRxPackets" value="Unicast RX" /> + <param name="line-color-uniRxPackets" value="##one" /> + <param name="line-order-uniRxPackets" value="1" /> + <param name="line-style-uniRxPackets" value="LINE2" /> + + <param name="ds-expr-broadcastRxPackets" + value="{broadcastRxPackets}" /> + <param name="graph-legend-broadcastRxPackets" value="Broadcast RX" /> + <param name="line-color-broadcastRxPackets" value="##two" /> + <param name="line-order-broadcastRxPackets" value="2" /> + <param name="line-style-broadcastRxPackets" value="LINE2" /> + + <param name="ds-expr-multicastRxPackets" + value="{multicastRxPackets}" /> + <param name="graph-legend-multicastRxPackets" value="Multicast RX" /> + <param name="line-color-multicastRxPackets" value="##three" /> + <param name="line-order-multicastRxPackets" value="3" /> + <param name="line-style-multicastRxPackets" value="LINE2" /> + + <param name="ds-expr-rxBeacon" value="{rxBeacon}" /> + <param name="graph-legend-rxBeacon" value="RX Beacons" /> + <param name="line-color-rxBeacon" value="##four" /> + <param name="line-order-rxBeacon" value="4" /> + <param name="line-style-rxBeacon" value="LINE2" /> + + <param name="ds-expr-rxACK" value="{rxACK}" /> + <param name="graph-legend-rxACK" value="RX Acks" /> + <param name="line-color-rxACK" value="##five" /> + <param name="line-order-rxACK" value="5" /> + <param name="line-style-rxACK" value="LINE2" /> + + <param name="ds-expr-rxRTS" value="{rxRTS}" /> + <param name="graph-legend-rxRTS" value="RX RTS" /> + <param name="line-color-rxRTS" value="##six" /> + <param name="line-order-rxRTS" value="6" /> + <param name="line-style-rxRTS" value="LINE2" /> + + <param name="ds-expr-rxCTS" value="{rxCTS}" /> + <param name="graph-legend-rxCTS" value="RX CTS" /> + <param name="line-color-rxCTS" value="##seven" /> + <param name="line-order-rxCTS" value="7" /> + <param name="line-style-rxCTS" value="LINE2" /> + </leaf> + + <leaf name="uniRxPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="uniRxPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Unicast RX Packets" /> + <param name="atmel-stats-member" value="7" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="broadcastRxPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="broadRxPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Broadcast RX Packets" /> + <param name="atmel-stats-member" value="8" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="multicastRxPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="multiRxPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Multicast RX Packets" /> + <param name="atmel-stats-member" value="9" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="rxBeacon"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="rxBeacon" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Received Beacons" /> + <param name="atmel-stats-member" value="10" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="rxACK"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="rxACK" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Received ACKs" /> + <param name="atmel-stats-member" value="11" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="rxRTS"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="rxRTS" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Received RTS" /> + <param name="atmel-stats-member" value="12" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="rxCTS"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="rxCTS" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Received CTS" /> + <param name="atmel-stats-member" value="13" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <!-- ##### RECEIVE STATS ##### --> + <leaf name="errorStats"> + <param name="comment" value="Error Stats" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names"> + ackFailure,ctsFailure,retryPackets,receivedDups,failedPackets, + agedPackets,fcsError,invalidPLCP + </param> + + <param name="ds-expr-ackFailure" value="{ackFailure}" /> + <param name="graph-legend-ackFailure" value="Failed ACK" /> + <param name="line-color-ackFailure" value="##one" /> + <param name="line-order-ackFailure" value="1" /> + <param name="line-style-ackFailure" value="LINE2" /> + + <param name="ds-expr-ctsFailure" value="{ctsFailure}" /> + <param name="graph-legend-ctsFailure" value="Failed CTS" /> + <param name="line-color-ctsFailure" value="##two" /> + <param name="line-order-ctsFailure" value="2" /> + <param name="line-style-ctsFailure" value="LINE2" /> + + <param name="ds-expr-retryPackets" value="{retryPackets}" /> + <param name="graph-legend-retryPackets" value="Retry Packets" /> + <param name="line-color-retryPackets" value="##three" /> + <param name="line-order-retryPackets" value="3" /> + <param name="line-style-retryPackets" value="LINE2" /> + + <param name="ds-expr-receivedDups" value="{receivedDups}" /> + <param name="graph-legend-receivedDups" value="Received Dups" /> + <param name="line-color-receivedDups" value="##four" /> + <param name="line-order-receivedDups" value="four" /> + <param name="line-style-receivedDups" value="LINE2" /> + + <param name="ds-expr-failedPackets" value="{failedPackets}" /> + <param name="graph-legend-failedPackets" value="Failed Packets" /> + <param name="line-color-failedPackets" value="##five" /> + <param name="line-order-failedPackets" value="5" /> + <param name="line-style-failedPackets" value="LINE2" /> + + <param name="ds-expr-agedPackets" value="{agedPackets}" /> + <param name="graph-legend-agedPackets" value="Aged Packets" /> + <param name="line-color-agedPackets" value="##six" /> + <param name="line-order-agedPackets" value="6" /> + <param name="line-style-agedPackets" value="LINE2" /> + + <param name="ds-expr-fcsError" value="{fcsError}" /> + <param name="graph-legend-fcsError" value="FCS Error" /> + <param name="line-color-fcsError" value="##seven" /> + <param name="line-order-fcsError" value="7" /> + <param name="line-style-fcsError" value="LINE2" /> + + <param name="ds-expr-invalidPLCP" value="{invalidPLCP}" /> + <param name="graph-legend-invalidPLCP" value="Invalid PLCP" /> + <param name="line-color-invalidPLCP" value="##eight" /> + <param name="line-order-invalidPLCP" value="8" /> + <param name="line-style-invalidPLCP" value="LINE2" /> + </leaf> + + <leaf name="ackFailure"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="ackFailure" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Failed ACKs" /> + <param name="atmel-stats-member" value="14" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="ctsFailure"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="ctsFailure" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Failed CTS" /> + <param name="atmel-stats-member" value="15" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="retryPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="retryPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Retry Packets" /> + <param name="atmel-stats-member" value="16" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="receivedDups"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="receivedDups" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Received Duplicates" /> + <param name="atmel-stats-member" value="17" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="failedPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="failedPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Failed Packets" /> + <param name="atmel-stats-member" value="18" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="agedPackets"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="agedPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Aged Packets" /> + <param name="atmel-stats-member" value="19" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="fcsError"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="fcsError" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="FCS Error" /> + <param name="atmel-stats-member" value="20" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="invalidPLCP"> + <param name="snmp-object" value="$wirelessStatistics" /> + <param name="rrd-ds" value="invalidPLCP" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="Invalid PLCP" /> + <param name="atmel-stats-member" value="21" /> + <apply-template name="atmel-wireless-transform" /> + <param name="hidden" value="yes" /> + </leaf> + </subtree> + + <!-- ############# ETHERNET ################ --> + <subtree name="Ethernet_Stats"> + <param name="comment" value="Ethernet interface statistics" /> + + <leaf name="RX_Stats"> + <param name="comment" value="Ethernet TX Stats" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="eRxBytes,eRxPackets,eRxCRC" /> + + <param name="ds-expr-eRxBytes" value="{eRxBytes}" /> + <param name="graph-legend-eRxBytes" value="RX Bytes" /> + <param name="line-color-eRxBytes" value="##one" /> + <param name="line-order-eRxBytes" value="1" /> + <param name="line-style-eRxBytes" value="LINE2" /> + + <param name="ds-expr-eRxPackets" value="{eRxPackets}" /> + <param name="graph-legend-eRxPackets" value="RX Packets" /> + <param name="line-color-eRxPackets" value="##two" /> + <param name="line-order-eRxPackets" value="2" /> + <param name="line-style-eRxPackets" value="LINE2" /> + + <param name="ds-expr-eRxCRC" value="{eRxCRC}" /> + <param name="graph-legend-eRxCRC" value="RX CRC" /> + <param name="line-color-eRxCRC" value="##three" /> + <param name="line-order-eRxCRC" value="3" /> + <param name="line-style-eRxCRC" value="LINE2" /> + </leaf> + + <leaf name="eRxBytes"> + <param name="snmp-object" value="$ethernetRxStatistics" /> + <param name="rrd-ds" value="eRxTotalBytes" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="RX Bytes" /> + <param name="atmel-stats-member" value="0" /> + <apply-template name="atmel-eth-rx-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="eRxPackets"> + <param name="snmp-object" value="$ethernetRxStatistics" /> + <param name="rrd-ds" value="eRxTotalPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="RX Packets" /> + <param name="atmel-stats-member" value="1" /> + <apply-template name="atmel-eth-rx-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="eRxCRC"> + <param name="snmp-object" value="$ethernetRxStatistics" /> + <param name="rrd-ds" value="eRxCRC" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="RX CRC" /> + <param name="atmel-stats-member" value="2" /> + <apply-template name="atmel-eth-rx-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="TX_Stats"> + <param name="comment" value="Ethernet TX Stats" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="eTxBytes,eTxPackets,eTxCRC" /> + + <param name="ds-expr-eTxBytes" value="{eTxBytes}" /> + <param name="graph-legend-eTxBytes" value="TX Bytes" /> + <param name="line-color-eTxBytes" value="##one" /> + <param name="line-order-eTxBytes" value="1" /> + <param name="line-style-eTxBytes" value="LINE2" /> + + <param name="ds-expr-eTxPackets" value="{eTxPackets}" /> + <param name="graph-legend-eTxPackets" value="TX Packets" /> + <param name="line-color-eTxPackets" value="##two" /> + <param name="line-order-eTxPackets" value="2" /> + <param name="line-style-eTxPackets" value="LINE2" /> + + <param name="ds-expr-eTxCRC" value="{eTxCRC}" /> + <param name="graph-legend-eTxCRC" value="TX CRC" /> + <param name="line-color-eTxCRC" value="##three" /> + <param name="line-order-eTxCRC" value="3" /> + <param name="line-style-eTxCRC" value="LINE2" /> + </leaf> + + <leaf name="eTxBytes"> + <param name="snmp-object" value="$ethernetTxStatistics" /> + <param name="rrd-ds" value="eTxTotalBytes" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="TX Bytes" /> + <param name="atmel-stats-member" value="0" /> + <apply-template name="atmel-eth-tx-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="eTxPackets"> + <param name="snmp-object" value="$ethernetTxStatistics" /> + <param name="rrd-ds" value="eTxTotalPackets" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="TX Packets" /> + <param name="atmel-stats-member" value="1" /> + <apply-template name="atmel-eth-tx-transform" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="eTxCRC"> + <param name="snmp-object" value="$ethernetTxStatistics" /> + <param name="rrd-ds" value="eTxCRC" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-legend" value="TX CRC" /> + <param name="atmel-stats-member" value="2" /> + <apply-template name="atmel-eth-tx-transform" /> + <param name="hidden" value="yes" /> + </leaf> + </subtree> + + <!-- ############# CONFIGURATION ################ --> + <subtree name="Wireless_Configuration"> + + <leaf name="channelId"> + <param name="comment" value="Channel ID" /> + <param name="snmp-object" value="$operChannelID" /> + <param name="rrd-ds" value="chid" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-legend" value="Ch ID" /> + </leaf> + + <leaf name="RTSThreshold"> + <param name="comment" value="Request to Send Threshold" /> + <param name="snmp-object" value="$operRTSThreshold" /> + <param name="rrd-ds" value="rts" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-legend" value="RTS" /> + </leaf> + + <leaf name="fragThreshold"> + <param name="comment" value="Fragmentation Threshold" /> + <param name="snmp-object" value="$operFragmentationThreshold" /> + <param name="rrd-ds" value="frag" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-legend" value="Frag" /> + </leaf> + </subtree> + </template> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/betternetworks.xml b/torrus/xmlconfig/vendor/betternetworks.xml new file mode 100644 index 000000000..9faa55b93 --- /dev/null +++ b/torrus/xmlconfig/vendor/betternetworks.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2003 Marc Haber, Shawn Ferry, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + Marc Haber <mh+rrfw-devel@zugschlus.de> + + Authors: Marc Haber, Shawn Ferry, Stanislav Sinyagin + Vendor: betternetworks.xml + + $Id: betternetworks.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ +--> +<!-- + Generic MIB definitions and templates for: + + The templates defined in this file should work with + the BetterNetworks ethernet box + --> +<configuration> + <definitions> + <def name="BNEBsensorValueInt10" value="1.3.6.1.4.1.14848.2.1.2.1.5"/> + </definitions> + + <datasources> + + <template name="betternetworks-sensor"> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%bne-sensor-index%" /> + <param name="data-file" + value="%system-id%_sensor_%bne-sensor-index%.rrd"/> + <param name="snmp-object" + value="$BNEBsensorValueInt10.%bne-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="value"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="nodeid" + value="sensor//%nodeid-device%//%bne-sensor-index%"/> + </template> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/casa-cmts.xml b/torrus/xmlconfig/vendor/casa-cmts.xml new file mode 100644 index 000000000..4979da060 --- /dev/null +++ b/torrus/xmlconfig/vendor/casa-cmts.xml @@ -0,0 +1,198 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2010 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: casa-cmts.xml,v 1.1 2010-12-27 00:04:17 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + + DOCSIS interface, CASA Systems specific + +--> + +<configuration> + +<definitions> + <!-- CASA-DOCS-EXT-MIB::casaCmtsMacExtTable --> + <def name="casaCmtsCmTotal" value="1.3.6.1.4.1.20858.10.22.2.2.1.4"/> + <def name="casaCmtsCmActive" value="1.3.6.1.4.1.20858.10.22.2.2.1.5"/> + <def name="casaCmtsCmRegistered" value="1.3.6.1.4.1.20858.10.22.2.2.1.6"/> + + <!-- CASA-CABLE-CMCPE-MIB::casaCmtsUSModemTable --> + <def name="casaCmtsUSActiveModemCount" + value="1.3.6.1.4.1.20858.10.12.1.1.1.1"/> + <def name="casaCmtsUSRegisteredModemCount" + value="1.3.6.1.4.1.20858.10.12.1.1.1.2"/> + <def name="casaCmtsUSTotalModemCount" + value="1.3.6.1.4.1.20858.10.12.1.1.1.3"/> + + <!-- CASA-CABLE-CMCPE-MIB::casaCmtsDSModemTable --> + <def name="casaCmtsDSActiveModemCount" + value="1.3.6.1.4.1.20858.10.12.1.2.1.1"/> + <def name="casaCmtsDSRegisteredModemCount" + value="1.3.6.1.4.1.20858.10.12.1.2.1.2"/> + <def name="casaCmtsDSTotalModemCount" + value="1.3.6.1.4.1.20858.10.12.1.2.1.3"/> + + +</definitions> + +<datasources> + + <template name="casa-docsis-mac-subtree"> + <param name="precedence" value="-500" /> + <param name="comment" value="DOCSIS MAC layer utilization" /> + <param name="data-file"> + %system-id%_%interface-nick%_casa_mac.rrd + </param> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="modems"/> + <param name="overview-subleave-name-modems" value="Modems"/> + <param name="overview-direct-link-modems" value="yes"/> + <param name="overview-direct-link-view-modems" value="expanded-dir-html"/> + <param name="overview-shortcut-text-modems" + value="All modems"/> + <param name="overview-shortcut-title-modems" + value="Show modem quantities in one page"/> + <param name="overview-page-title-modems" + value="Modem quantities"/> + + <param name="rrd-hwpredict" value="disabled" /> + + <!-- nodeid-docsif is overwritten by devdiscover at the + interface level. This definition is here for backward compatibility + with older discovery results or for systems which do not use + devdiscover --> + <param name="nodeid-docsif" + value="docs//%nodeid-device%//%interface-nick%//"/> + </template> + + <template name="casa-docsis-modem-quantity"> + <leaf name="Modems"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="total,active,registered" /> + <param name="nodeid" value="%nodeid-docsif%//modems"/> + + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="950" /> + <param name="comment" + value="Active and Total modems on the interface" /> + <param name="vertical-label" value="Modems" /> + + <param name="ds-expr-total">{Modems_Total}</param> + <param name="graph-legend-total" value="Total" /> + <param name="line-style-total" value="##totalresource" /> + <param name="line-color-total" value="##totalresource" /> + <param name="line-order-total" value="1" /> + + <param name="ds-expr-active">{Modems_Active}</param> + <param name="graph-legend-active" value="Active" /> + <param name="line-style-active" value="##resourcepartusage" /> + <param name="line-color-active" value="##resourcepartusage" /> + <param name="line-order-active" value="2" /> + + <param name="ds-expr-registered">{Modems_Registered}</param> + <param name="graph-legend-registered" value="Registered" /> + <param name="line-style-registered" value="##resourceusage" /> + <param name="line-color-registered" value="##resourceusage" /> + <param name="line-order-registered" value="3" /> + </leaf> + + <leaf name="Modems_Total"> + <param name="snmp-object" + value="%casa-docsis-cmtotal%.%ifindex-map%"/> + <param name="rrd-ds" value="Total" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Total number of modems on the interface since boot"/> + <param name="graph-legend" value="Total modems" /> + <param name="precedence" value="900" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="Modems_Active"> + <param name="snmp-object" + value="%casa-docsis-cmactive%.%ifindex-map%"/> + <param name="rrd-ds" value="Active" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of active modems on the interface"/> + <param name="graph-legend" value="Active modems" /> + <param name="precedence" value="800" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + <leaf name="Modems_Registered"> + <param name="snmp-object" + value="%casa-docsis-cmregistered%.%ifindex-map%"/> + <param name="rrd-ds" value="Registered" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of registered modems on the interface"/> + <param name="graph-legend" value="Registered modems" /> + <param name="precedence" value="700" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + </template> + + + <template name="casa-docsis-mac-util"> + <apply-template name="casa-docsis-modem-quantity"/> + <param name="casa-docsis-cmtotal" value="$casaCmtsCmTotal"/> + <param name="casa-docsis-cmactive" value="$casaCmtsCmActive"/> + <param name="casa-docsis-cmregistered" value="$casaCmtsCmRegistered"/> + </template> + + + <template name="casa-docsis-upstream-util"> + <apply-template name="casa-docsis-modem-quantity"/> + <param name="casa-docsis-cmtotal" + value="$casaCmtsUSTotalModemCount"/> + <param name="casa-docsis-cmactive" + value="$casaCmtsUSActiveModemCount"/> + <param name="casa-docsis-cmregistered" + value="$casaCmtsUSRegisteredModemCount"/> + </template> + + <template name="casa-docsis-downstream-util"> + <apply-template name="casa-docsis-modem-quantity"/> + <param name="casa-docsis-cmtotal" + value="$casaCmtsDSTotalModemCount"/> + <param name="casa-docsis-cmactive" + value="$casaCmtsDSActiveModemCount"/> + <param name="casa-docsis-cmregistered" + value="$casaCmtsDSRegisteredModemCount"/> + </template> + + +</datasources> + + +</configuration> diff --git a/torrus/xmlconfig/vendor/cisco.firewall.xml b/torrus/xmlconfig/vendor/cisco.firewall.xml new file mode 100644 index 000000000..19d85e109 --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.firewall.xml @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.firewall.xml,v 1.1 2010-12-27 00:04:17 ivan Exp $ + Shawn Ferry <sferry at sevenspace dot com> <lalartu at obscure dot org> + +--> + +<!-- Cisco Firewall specific definitions --> + +<configuration> + +<definitions> + + <!-- v1/OLD-CISCO-INTERFACES-MIB:lifTable --> + <def name="cfwBasicEventsTableLastRow" + value="1.3.6.1.4.1.9.9.147.1.1.4" /> + <def name="cfwConnectionStatValue" + value="1.3.6.1.4.1.9.9.147.1.2.2.2.1.5" /> + +</definitions> + +<datasources> + + <template name="cisco-firewall-subtree"> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <template name="cisco-firewall-connections"> + <leaf name="MaxConnections"> + <param name="comment"> + The highest number of connections in use at any one time since + system startup + </param> + <param name="vertical-label" value="Connection Count"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_maxcons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$cfwConnectionStatValue.40.7"/> + <param name="rrd-ds" value="MaxCons"/> + <param name="graph-legend" value="Max Connections"/> + </leaf> + <leaf name="CurrConnections"> + <param name="comment"> + The number of connections currently in use. + </param> + <param name="vertical-label" value="Connection Count"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_currcons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$cfwConnectionStatValue.40.6"/> + <param name="rrd-ds" value="CurrCons"/> + <param name="graph-legend" value="Current Connections"/> + </leaf> + </template> + + <template name="cisco-firewall-events-delta"> + <leaf name="EventCount"> + <param name="comment"> + Number of entries in the event table. (Proxy for load) (experimental) + </param> + <param name="precedence" value="-400" /> + <param name="snmp-object" value="$cfwBasicEventsTableLastRow" /> + <param name="rrd-ds" value="LastRow" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="data-file" + value="%system-id%_fw_lastrow.rrd" /> + <param name="graph-legend" value="Row Count" /> + <param name="vertical-label" value="Count" /> + <param name="graph-lower-limit" value="0"/> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/cisco.generic.xml b/torrus/xmlconfig/vendor/cisco.generic.xml new file mode 100644 index 000000000..d07da1dd6 --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.generic.xml @@ -0,0 +1,336 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.generic.xml,v 1.1 2010-12-27 00:04:21 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- Common Cisco definitions --> + +<configuration> + +<definitions> + + <!-- CISCO-PROCESS-MIB:cpmCPUTotalTable --> + <def name="cpmCPUTotalPhysicalIndex" value="1.3.6.1.4.1.9.9.109.1.1.1.1.2" /> + <def name="cpmCPUTotal1min" value="1.3.6.1.4.1.9.9.109.1.1.1.1.4" /> + <def name="cpmCPUTotal5min" value="1.3.6.1.4.1.9.9.109.1.1.1.1.5" /> + <def name="cpmCPUTotal1minRev" value="1.3.6.1.4.1.9.9.109.1.1.1.1.7" /> + <def name="cpmCPUTotal5minRev" value="1.3.6.1.4.1.9.9.109.1.1.1.1.8" /> + + <def name="CISCO_CPU_IDX" + value="M($cpmCPUTotalPhysicalIndex, %entity-phy-index%)" /> + + <!-- OLD-CISCO-CPU-MIB --> + <def name="avgBusy1" value="1.3.6.1.4.1.9.2.1.57.0" /> + <def name="avgBusy5" value="1.3.6.1.4.1.9.2.1.58.0" /> + + <!-- CISCO-ENHANCED-MEMPOOL-MIB:cempMemPoolTable --> + <def name="cempMemPoolUsed" value="1.3.6.1.4.1.9.9.221.1.1.1.1.7" /> + <def name="cempMemPoolFree" value="1.3.6.1.4.1.9.9.221.1.1.1.1.8" /> + <def name="cempMemPoolLargestFree" value="1.3.6.1.4.1.9.9.221.1.1.1.1.9" /> + + <!-- CISCO-MEMORY-POOL-MIB:ciscoMemoryPoolTable --> + <def name="ciscoMemoryPoolUsed" value="1.3.6.1.4.1.9.9.48.1.1.1.5" /> + <def name="ciscoMemoryPoolFree" value="1.3.6.1.4.1.9.9.48.1.1.1.6" /> + <def name="ciscoMemoryPoolLargestFree" value="1.3.6.1.4.1.9.9.48.1.1.1.7" /> + + <!-- CISCO-ENVMON-MIB:ciscoEnvMonTemperatureStatusTable --> + <def name="ciscoEnvMonTemperatureStatusIndex" + value="1.3.6.1.4.1.9.9.13.1.3.1.1" /> + <def name="ciscoEnvMonTemperatureStatusDescr" + value="1.3.6.1.4.1.9.9.13.1.3.1.2" /> + <def name="ciscoEnvMonTemperatureStatusValue" + value="1.3.6.1.4.1.9.9.13.1.3.1.3" /> + <def name="ciscoEnvMonTemperatureStatusState" + value="1.3.6.1.4.1.9.9.13.1.3.1.6" /> + <def name="ciscoEnvMonSupplyState" + value="1.3.6.1.4.1.9.9.13.1.5.1.3" /> +</definitions> + +<datasources> + + <template name="cisco-memusage-subtree"> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="graph-lower-limit" value="0" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="memuse"/> + <param name="overview-subleave-name-memuse" value="Usage"/> + <param name="overview-shortcut-text-memuse" + value="All pools usage"/> + <param name="overview-shortcut-title-memuse" + value="Show all memory pools usage in one page"/> + <param name="overview-page-title-memuse" + value="Memory Usage Graphs"/> + + <param name="descriptive-nickname" + value="%system-id%:%mempool-name% Memory"/> + </template> + + <template name="cisco-enh-mempool"> + <param name="data-file" + value="%system-id%_memusage_%mempool-phyindex%.rrd"/> + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs. Used Memory"/> + <param name="title" value="%mempool-name% Memory Usage"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <!-- total --> + <param name="ds-expr-total" value="{Free},{Used},+"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- used --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + <leaf name="Free"> + <param name="snmp-object" value="$cempMemPoolFree.%mempool-index%"/> + <param name="rrd-ds" value="Pool%mempool-poolindex%Free"/> + <param name="graph-legend" value="%mempool-name% memory free" /> + <param name="comment" value="Bytes Free in %mempool-name% pool"/> + </leaf> + <leaf name="Used"> + <param name="snmp-object" value="$cempMemPoolUsed.%mempool-index%"/> + <param name="rrd-ds" value="Pool%mempool-poolindex%Used"/> + <param name="graph-legend" value="%mempool-name% memory free" /> + <param name="comment" value="Bytes Used in %mempool-name%"/> + </leaf> + <leaf name="LargestFree"> + <param name="snmp-object" + value="$cempMemPoolLargestFree.%mempool-index%"/> + <param name="rrd-ds" value="Pool%mempool-poolindex%LargestFree"/> + <param name="graph-legend" value="%mempool-name% largest free block" /> + <param name="comment" value="Largest free block in %mempool-name% pool"/> + </leaf> + </template> + + <template name="cisco-mempool"> + <param name="data-file" value="%system-id%_memusage.rrd"/> + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs. Used Memory"/> + <param name="title" value="%mempool-name% Memory Usage"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <!-- total --> + <param name="ds-expr-total" value="{Free},{Used},+"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- used --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + <leaf name="Free"> + <param name="snmp-object" value="$ciscoMemoryPoolFree.%mempool-type%"/> + <param name="rrd-ds" value="Pool%mempool-type%Free"/> + <param name="graph-legend" value="%mempool-name% memory free" /> + <param name="comment" value="Bytes Free in %mempool-name% pool"/> + </leaf> + <leaf name="Used"> + <param name="snmp-object" value="$ciscoMemoryPoolUsed.%mempool-type%"/> + <param name="rrd-ds" value="Pool%mempool-type%Used"/> + <param name="graph-legend" value="%mempool-name% memory free" /> + <param name="comment" value="Bytes Used in %mempool-name%"/> + </leaf> + <leaf name="LargestFree"> + <param name="snmp-object" + value="$ciscoMemoryPoolLargestFree.%mempool-type%"/> + <param name="rrd-ds" value="Pool%mempool-type%LargestFree"/> + <param name="graph-legend" value="%mempool-name% largest free block" /> + <param name="comment" value="Largest free block in %mempool-name% pool"/> + </leaf> + </template> + + <template name="cisco-cpu-usage-subtree"> + <param name="cisco-cpu-indexmap" value="$CISCO_CPU_IDX" /> + <param name="data-file" value="%system-id%_cpu_%cisco-cpu-ref%.rrd" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="80" /> + <param name="vertical-label" value="Percent"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="cpu5"/> + <param name="overview-subleave-name-cpu5" value="CPU_Total_5min"/> + <param name="overview-shortcut-text-cpu5" + value="All CPUs usage"/> + <param name="overview-shortcut-title-cpu5" + value="Show all CPUs 5 minute average usage in one page"/> + <param name="overview-page-title-cpu5" + value="CPU Usage Graphs"/> + + <param name="descriptive-nickname" + value="%system-id%:CPU #%cisco-cpu-ref%"/> + </template> + + <template name="cisco-cpu"> + <leaf name="CPU_Total_1min"> + <param name="precedence" value="-200" /> + <param name="snmp-object" + value="$cpmCPUTotal1min.%cisco-cpu-indexmap%"/> + <param name="rrd-ds" value="Total1min" /> + <param name="comment"> + The overall CPU busy percentage in the last 1 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + </leaf> + <leaf name="CPU_Total_5min"> + <param name="precedence" value="-200" /> + <param name="snmp-object" + value="$cpmCPUTotal5min.%cisco-cpu-indexmap%"/> + <param name="rrd-ds" value="Total5min" /> + <param name="comment"> + The overall CPU busy percentage in the last 5 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + </leaf> + </template> + + <template name="cisco-cpu-revised"> + <leaf name="CPU_Total_1min"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_cpu_%cisco-cpu-ref%.rrd" /> + <param name="precedence" value="-200" /> + <param name="snmp-object" + value="$cpmCPUTotal1minRev.%cisco-cpu-indexmap%"/> + <param name="rrd-ds" value="Total1min" /> + <param name="comment"> + The overall CPU busy percentage in the last 1 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="80" /> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="CPU_Total_5min"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_cpu_%cisco-cpu-ref%.rrd" /> + <param name="precedence" value="-200" /> + <param name="snmp-object" + value="$cpmCPUTotal5minRev.%cisco-cpu-indexmap%"/> + <param name="rrd-ds" value="Total5min" /> + <param name="comment"> + The overall CPU busy percentage in the last 5 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + <param name="graph-lower-limit" value="0" /> + <param name="upper-limit" value="80" /> + <param name="vertical-label" value="Percent"/> + </leaf> + </template> + + <template name="old-cisco-cpu"> + <leaf name="CPU_Total_1min"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" value="%system-id%_cpu.rrd" /> + <param name="precedence" value="-200" /> + <param name="snmp-object" value="$avgBusy1"/> + <param name="rrd-ds" value="Total1min" /> + <param name="comment"> + The overall CPU busy percentage in the last 1 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="80" /> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="CPU_Total_5min"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" value="%system-id%_cpu.rrd" /> + <param name="precedence" value="-200" /> + <param name="snmp-object" value="$avgBusy5"/> + <param name="rrd-ds" value="Total5min" /> + <param name="comment"> + The overall CPU busy percentage in the last 5 minute period + </param> + <param name="graph-legend" value="CPU usage" /> + <param name="graph-lower-limit" value="0" /> + <param name="upper-limit" value="80" /> + <param name="vertical-label" value="Percent"/> + </leaf> + </template> + + <template name="cisco-temperature-subtree"> + <param name="comment" value="Cisco Temperature Sensors"/> + <param name="precedence" value="-500"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <!-- template to be applied inside the sensor leaf. + Two parameters must be defined: sensor-index and sensor-description --> + <template name="cisco-temperature-sensor"> + <param name="comment" value="%sensor-description%"/> + <param name="rrd-ds" value="sensor_%sensor-index%"/> + <param name="snmp-object" + value="$ciscoEnvMonTemperatureStatusValue.%sensor-index%"/> + <param name="graph-legend" value="%sensor-description%"/> + <param name="graph-lower-limit" value="15"/> + <param name="graph-upper-limit" value="70"/> + <param name="vertical-label" value="degrees Celsius"/> + </template> + + <!-- Temperature measured in degrees Fahrenheit --> + <template name="cisco-temperature-sensor-fahrenheit"> + <param name="comment" value="%sensor-description%"/> + <param name="rrd-ds" value="sensor_%sensor-index%"/> + <param name="snmp-object" + value="$ciscoEnvMonTemperatureStatusValue.%sensor-index%"/> + <param name="collector-scale" value="1.8,*,32,+" /> + <param name="graph-legend" value="%sensor-description%"/> + <param name="graph-lower-limit" value="59"/> + <param name="graph-upper-limit" value="158"/> + <param name="vertical-label" value="degrees Fahrenheit"/> + </template> + + <template name="cisco-power-supply"> + <param name="comment" value="Power supply #%power-index%"/> + <param name="rrd-ds" value="power_%power-index%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="snmp-object" + value="$ciscoEnvMonSupplyState.%power-index%"/> + <param name="graph-legend" value="Power supply #%power-index%"/> + <param name="vertical-label" value="1 = Normal"/> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/cisco.ios.docsis.xml b/torrus/xmlconfig/vendor/cisco.ios.docsis.xml new file mode 100644 index 000000000..1e90b8b3e --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.ios.docsis.xml @@ -0,0 +1,255 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.ios.docsis.xml,v 1.1 2010-12-27 00:04:27 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + + DOCSIS interface, Cisco specific + MIB used: + CISCO-DOCS-EXT-MIB:cdxCmtsMacExtTable + CISCO-DOCS-EXT-MIB:cdxIfUpstreamChannelExtTable + +--> + +<configuration> + +<definitions> + <!-- CISCO-DOCS-EXT-MIB::cdxCmtsMacExtTable --> + <def name="cdxCmtsCmTotal" value="1.3.6.1.4.1.9.9.116.1.3.3.1.4"/> + <def name="cdxCmtsCmActive" value="1.3.6.1.4.1.9.9.116.1.3.3.1.5"/> + <def name="cdxCmtsCmRegistered" value="1.3.6.1.4.1.9.9.116.1.3.3.1.6"/> + + <!-- CISCO-DOCS-EXT-MIB:cdxIfUpstreamChannelExtTable --> + <def name="cdxIfUpChannelCmTotal" value="1.3.6.1.4.1.9.9.116.1.4.1.1.3"/> + <def name="cdxIfUpChannelCmActive" value="1.3.6.1.4.1.9.9.116.1.4.1.1.4"/> + <def name="cdxIfUpChannelCmRegistered" + value="1.3.6.1.4.1.9.9.116.1.4.1.1.5"/> + <def name="cdxIfUpChannelAvgUtil" value="1.3.6.1.4.1.9.9.116.1.4.1.1.7"/> + <def name="cdxIfUpChannelAvgContSlots" + value="1.3.6.1.4.1.9.9.116.1.4.1.1.8"/> + <def name="cdxIfUpChannelMaxUGSLastFiveMins" + value="1.3.6.1.4.1.9.9.116.1.4.1.1.14"/> +</definitions> + +<datasources> + + <template name="cisco-docsis-mac-subtree"> + <param name="precedence" value="-500" /> + <param name="comment" value="DOCSIS MAC layer utilization" /> + <param name="data-file"> + %system-id%_%interface-nick%_cdx_mac.rrd + </param> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="modems"/> + <param name="overview-subleave-name-modems" value="Modems"/> + <param name="overview-direct-link-modems" value="yes"/> + <param name="overview-direct-link-view-modems" value="expanded-dir-html"/> + <param name="overview-shortcut-text-modems" + value="All modems"/> + <param name="overview-shortcut-title-modems" + value="Show modem quantities in one page"/> + <param name="overview-page-title-modems" + value="Modem quantities"/> + + <param name="rrd-hwpredict" value="disabled" /> + + <!-- nodeid-docsif is overwritten by devdiscover at the + interface level. This definition is here for backward compatibility + with older discovery results or for systems which do not use + devdiscover --> + <param name="nodeid-docsif" + value="docs//%nodeid-device%//%interface-nick%//"/> + </template> + + <template name="cisco-docsis-modem-quantity"> + <leaf name="Modems"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="total,active,registered" /> + <param name="nodeid" value="%nodeid-docsif%//modems"/> + + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="950" /> + <param name="comment" + value="Active and Total modems on the interface" /> + <param name="vertical-label" value="Modems" /> + + <param name="ds-expr-total">{Modems_Total}</param> + <param name="graph-legend-total" value="Total" /> + <param name="line-style-total" value="##totalresource" /> + <param name="line-color-total" value="##totalresource" /> + <param name="line-order-total" value="1" /> + + <param name="ds-expr-active">{Modems_Active}</param> + <param name="graph-legend-active" value="Active" /> + <param name="line-style-active" value="##resourcepartusage" /> + <param name="line-color-active" value="##resourcepartusage" /> + <param name="line-order-active" value="2" /> + + <param name="ds-expr-registered">{Modems_Registered}</param> + <param name="graph-legend-registered" value="Registered" /> + <param name="line-style-registered" value="##resourceusage" /> + <param name="line-color-registered" value="##resourceusage" /> + <param name="line-order-registered" value="3" /> + </leaf> + + <leaf name="Modems_Total"> + <param name="snmp-object" + value="%cisco-docsis-cmtotal%.%ifindex-map%"/> + <param name="rrd-ds" value="Total" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Total number of modems on the interface since boot"/> + <param name="graph-legend" value="Total modems" /> + <param name="precedence" value="900" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="Modems_Active"> + <param name="snmp-object" + value="%cisco-docsis-cmactive%.%ifindex-map%"/> + <param name="rrd-ds" value="Active" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of active modems on the interface"/> + <param name="graph-legend" value="Active modems" /> + <param name="precedence" value="800" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + <leaf name="Modems_Registered"> + <param name="snmp-object" + value="%cisco-docsis-cmregistered%.%ifindex-map%"/> + <param name="rrd-ds" value="Registered" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of registered modems on the interface"/> + <param name="graph-legend" value="Registered modems" /> + <param name="precedence" value="700" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + </template> + + + <template name="cisco-docsis-mac-util"> + <apply-template name="cisco-docsis-modem-quantity"/> + <param name="cisco-docsis-cmtotal" value="$cdxCmtsCmTotal"/> + <param name="cisco-docsis-cmactive" value="$cdxCmtsCmActive"/> + <param name="cisco-docsis-cmregistered" value="$cdxCmtsCmRegistered"/> + </template> + + + <template name="cisco-docsis-upstream-util"> + <apply-template name="cisco-docsis-modem-quantity"/> + <param name="cisco-docsis-cmtotal" value="$cdxIfUpChannelCmTotal"/> + <param name="cisco-docsis-cmactive" value="$cdxIfUpChannelCmActive"/> + <param name="cisco-docsis-cmregistered" + value="$cdxIfUpChannelCmRegistered"/> + + <leaf name="Util_Summary"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="util,cont" /> + <param name="nodeid" value="%nodeid-docsif%//util"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + + <param name="precedence" value="950" /> + <param name="comment" + value="Upstream channel utilization and free contention mini-slots" /> + <param name="vertical-label" value="Percent" /> + + <param name="ds-expr-util" value="{Util}"/> + <param name="graph-legend-util" value="Utilization" /> + <param name="line-style-util" value="##resourceusage" /> + <param name="line-color-util" value="##resourceusage" /> + <param name="line-order-util" value="1" /> + + <param name="ds-expr-cont" value="{ContSlots}"/> + <param name="graph-legend-cont" value="Free contention slots" /> + <param name="line-style-cont" value="##SingleGraph" /> + <param name="line-color-cont" value="##green" /> + <param name="line-order-cont" value="2" /> + </leaf> + + <leaf name="Util"> + <param name="snmp-object" + value="$cdxIfUpChannelAvgUtil.%ifindex-map%"/> + <param name="rrd-ds" value="Util" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="The average percentage of upstream channel utilization"/> + <param name="graph-legend" value="Channel Utilization" /> + <param name="precedence" value="700" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Percent" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="90" /> + <param name="monitor-action-target" value="Util_Summary"/> + </leaf> + + <leaf name="ContSlots"> + <param name="snmp-object" + value="$cdxIfUpChannelAvgContSlots.%ifindex-map%"/> + <param name="rrd-ds" value="ContSlots" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="The average percentage of contention mini-slots"/> + <param name="graph-legend" value="Cintention mini-slots" /> + <param name="precedence" value="600" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Percent" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="lower-limit" value="10" /> + <param name="monitor-action-target" value="Util_Summary"/> + </leaf> + + <iftrue var="CiscoIOS_Docsis::ugs-supported"> + <leaf name="Active_UGS"> + <param name="snmp-object" + value="$cdxIfUpChannelMaxUGSLastFiveMins.%ifindex-map%"/> + <param name="rrd-ds" value="ActiveUGS" /> + <param name="comment" + value="the number of active Unsolicited Grant Services"/> + <param name="graph-legend" value="Active UGS" /> + <param name="precedence" value="600" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="UGS" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + </iftrue> + </template> + +</datasources> + + +</configuration> diff --git a/torrus/xmlconfig/vendor/cisco.ios.mac-accounting.xml b/torrus/xmlconfig/vendor/cisco.ios.mac-accounting.xml new file mode 100644 index 000000000..49bc979a3 --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.ios.mac-accounting.xml @@ -0,0 +1,126 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.ios.mac-accounting.xml,v 1.1 2010-12-27 00:04:24 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- + This file defines the template for MAC accounting + on Cisco routers. It may be useful for per-BGP peer statistics + on an Ethernet media. + + See also "examples/cisco-mac-accounting.xml" for a working example. + --> + +<configuration> + +<definitions> + + <!-- CISCO-IP-STAT-MIB:cipMacTable --> + <def name="cipMacHCSwitchedBytes" value="1.3.6.1.4.1.9.9.84.1.2.3.1.2" /> + +</definitions> + + +<datasources> + + <template name="cisco-macacc-subtree"> + <param name="snmp-object"> + $cipMacHCSwitchedBytes.%ifindex-map%.%direction%.%peer-macoid% + </param> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="ext-dstype" value="COUNTER64" /> + + <param name="data-file"> + %system-id%_%interface-nick%_%peer-macaddr%_macacc.rrd + </param> + + <param name="rrd-ds" value="%direction%" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="graph-title" value="%descriptive-nickname%" /> + <param name="graph-lower-limit" value="0" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="traffic"/> + <param name="overview-subleave-name-traffic" value="InOut_bps"/> + <param name="overview-shortcut-text-traffic" + value="All traffic"/> + <param name="overview-shortcut-title-traffic" + value="Show traffic for all interfaces on one page"/> + <param name="overview-page-title-traffic" + value="Input/Output Graphs"/> + </template> + + + <template name="cisco-macacc"> + <leaf name="Bytes_In"> + <param name="comment" value="Input bytes per second" /> + <param name="direction" value="1" /> + <param name="hidden" value="yes" /> + <param name="graph-legend" value="Bytes in" /> + </leaf> + + <leaf name="Bytes_Out"> + <param name="comment" value="Output bytes per second" /> + <param name="direction" value="2" /> + <param name="hidden" value="yes" /> + <param name="graph-legend" value="Bytes out" /> + </leaf> + + <leaf name="In_bps"> + <param name="comment" value="Input bits per second" /> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Bytes_In},8,*" /> + <param name="graph-legend" value="Bits in" /> + </leaf> + + <leaf name="Out_bps"> + <param name="comment" value="Output bits per second" /> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Bytes_Out},8,*" /> + <param name="graph-legend" value="Bits out" /> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bytes_In},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="AREA" /> + <param name="line-color-in" value="#00FF00" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bytes_Out},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="LINE2" /> + <param name="line-color-out" value="#0000FF" /> + <param name="line-order-out" value="2" /> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/cisco.ios.xml b/torrus/xmlconfig/vendor/cisco.ios.xml new file mode 100644 index 000000000..34c7869aa --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.ios.xml @@ -0,0 +1,941 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.ios.xml,v 1.1 2010-12-27 00:04:13 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + +--> + +<!-- Cisco IOS specific definitions --> + +<configuration> + +<definitions> + + <!-- v1/OLD-CISCO-INTERFACES-MIB:lifTable --> + <def name="locIfInBitsSec" value="1.3.6.1.4.1.9.2.2.1.1.6" /> + <def name="locIfOutBitsSec" value="1.3.6.1.4.1.9.2.2.1.1.8" /> + <def name="locIfLoad" value="1.3.6.1.4.1.9.2.2.1.1.24" /> + + <!-- CISCO-RTTMON-MIB --> + <def name="rttMonLatestRttOperCompletionTime" + value="1.3.6.1.4.1.9.9.42.1.2.10.1.1" /> + + <!-- OLD-CISCO-MEMORY-MIB --> + <def name="bufferElFree" value="1.3.6.1.4.1.9.2.1.9.0"/> + <def name="bufferElMax" value="1.3.6.1.4.1.9.2.1.10.0"/> + <def name="bufferElHit" value="1.3.6.1.4.1.9.2.1.11.0"/> + <def name="bufferElMiss" value="1.3.6.1.4.1.9.2.1.12.0"/> + <def name="bufferElCreate" value="1.3.6.1.4.1.9.2.1.13.0"/> + <def name="bufferSmSize" value="1.3.6.1.4.1.9.2.1.14.0"/> + <def name="bufferSmTotal" value="1.3.6.1.4.1.9.2.1.15.0"/> + <def name="bufferSmFree" value="1.3.6.1.4.1.9.2.1.16.0"/> + <def name="bufferSmMax" value="1.3.6.1.4.1.9.2.1.17.0"/> + <def name="bufferSmHit" value="1.3.6.1.4.1.9.2.1.18.0"/> + <def name="bufferSmMiss" value="1.3.6.1.4.1.9.2.1.19.0"/> + <def name="bufferSmTrim" value="1.3.6.1.4.1.9.2.1.20.0"/> + <def name="bufferSmCreate" value="1.3.6.1.4.1.9.2.1.21.0"/> + <def name="bufferMdSize" value="1.3.6.1.4.1.9.2.1.22.0"/> + <def name="bufferMdTotal" value="1.3.6.1.4.1.9.2.1.23.0"/> + <def name="bufferMdFree" value="1.3.6.1.4.1.9.2.1.24.0"/> + <def name="bufferMdMax" value="1.3.6.1.4.1.9.2.1.25.0"/> + <def name="bufferMdHit" value="1.3.6.1.4.1.9.2.1.26.0"/> + <def name="bufferMdMiss" value="1.3.6.1.4.1.9.2.1.27.0"/> + <def name="bufferMdTrim" value="1.3.6.1.4.1.9.2.1.28.0"/> + <def name="bufferMdCreate" value="1.3.6.1.4.1.9.2.1.29.0"/> + <def name="bufferBgSize" value="1.3.6.1.4.1.9.2.1.30.0"/> + <def name="bufferBgTotal" value="1.3.6.1.4.1.9.2.1.31.0"/> + <def name="bufferBgFree" value="1.3.6.1.4.1.9.2.1.32.0"/> + <def name="bufferBgMax" value="1.3.6.1.4.1.9.2.1.33.0"/> + <def name="bufferBgHit" value="1.3.6.1.4.1.9.2.1.34.0"/> + <def name="bufferBgMiss" value="1.3.6.1.4.1.9.2.1.35.0"/> + <def name="bufferBgTrim" value="1.3.6.1.4.1.9.2.1.36.0"/> + <def name="bufferBgCreate" value="1.3.6.1.4.1.9.2.1.37.0"/> + <def name="bufferLgSize" value="1.3.6.1.4.1.9.2.1.38.0"/> + <def name="bufferLgTotal" value="1.3.6.1.4.1.9.2.1.39.0"/> + <def name="bufferLgFree" value="1.3.6.1.4.1.9.2.1.40.0"/> + <def name="bufferLgMax" value="1.3.6.1.4.1.9.2.1.41.0"/> + <def name="bufferLgHit" value="1.3.6.1.4.1.9.2.1.42.0"/> + <def name="bufferLgMiss" value="1.3.6.1.4.1.9.2.1.43.0"/> + <def name="bufferLgTrim" value="1.3.6.1.4.1.9.2.1.44.0"/> + <def name="bufferLgCreate" value="1.3.6.1.4.1.9.2.1.45.0"/> + <def name="bufferFail" value="1.3.6.1.4.1.9.2.1.46.0"/> + <def name="bufferNoMem" value="1.3.6.1.4.1.9.2.1.47.0"/> + <def name="bufferHgSize" value="1.3.6.1.4.1.9.2.1.62.0"/> + <def name="bufferHgTotal" value="1.3.6.1.4.1.9.2.1.63.0"/> + <def name="bufferHgFree" value="1.3.6.1.4.1.9.2.1.64.0"/> + <def name="bufferHgMax" value="1.3.6.1.4.1.9.2.1.65.0"/> + <def name="bufferHgHit" value="1.3.6.1.4.1.9.2.1.66.0"/> + <def name="bufferHgMiss" value="1.3.6.1.4.1.9.2.1.67.0"/> + <def name="bufferHgTrim" value="1.3.6.1.4.1.9.2.1.68.0"/> + <def name="bufferHgCreate" value="1.3.6.1.4.1.9.2.1.69.0"/> + + <!-- CISCO-IPSEC-FLOW-MONITOR-MIB --> + <def name="cipSecGlobalActiveTunnels" + value="1.3.6.1.4.1.9.9.171.1.3.1.1.0"/> + <def name="cipSecGlobalHcInOctets" value="1.3.6.1.4.1.9.9.171.1.3.1.4.0"/> + <def name="cipSecGlobalInPkts" value="1.3.6.1.4.1.9.9.171.1.3.1.9.0"/> + <def name="cipSecGlobalInDrops" value="1.3.6.1.4.1.9.9.171.1.3.1.10.0"/> + <def name="cipSecGlobalHcOutOctets" value="1.3.6.1.4.1.9.9.171.1.3.1.17.0"/> + <def name="cipSecGlobalOutPkts" value="1.3.6.1.4.1.9.9.171.1.3.1.22.0"/> + <def name="cipSecGlobalOutDrops" value="1.3.6.1.4.1.9.9.171.1.3.1.23.0"/> + + <!-- CISCO-BGP4-MIB --> + <def name="cbgpPeerAcceptedPrefixes" + value="1.3.6.1.4.1.9.9.187.1.2.4.1.1"/> + + <!-- CISCO-CAR-MIB --> + <def name="ccarStatCurBurst" + value="1.3.6.1.4.1.9.9.113.1.2.1.1.5"/> + <def name="ccarStatHCSwitchedPkts" + value="1.3.6.1.4.1.9.9.113.1.2.1.1.10"/> + <def name="ccarStatHCSwitchedBytes" + value="1.3.6.1.4.1.9.9.113.1.2.1.1.11"/> + <def name="ccarStatHCFilteredPkts" + value="1.3.6.1.4.1.9.9.113.1.2.1.1.12"/> + <def name="ccarStatHCFilteredBytes" + value="1.3.6.1.4.1.9.9.113.1.2.1.1.13"/> + + <!-- CISCO-VPDN-MGMT-MIB --> + <def name="cvpdnSystemTunnelTotal" + value="1.3.6.1.4.1.9.10.24.1.1.4.1.2"/> + <def name="cvpdnSystemSessionTotal" + value="1.3.6.1.4.1.9.10.24.1.1.4.1.3"/> + <def name="cvpdnSystemDeniedUsersTotal" + value="1.3.6.1.4.1.9.10.24.1.1.4.1.4"/> + +</definitions> + +<datasources> + + <template name="cisco-interface-counters"> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{locIfInBitsSec}" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="AREA" /> + <param name="line-color-in" value="#00FF00" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{locIfOutBitsSec}" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="LINE2" /> + <param name="line-color-out" value="#0000FF" /> + <param name="line-order-out" value="2" /> + </leaf> + + <leaf name="ifInErrors"> + <param name="snmp-object" value="$ifInErrors.$IFIDX_DESCR" /> + <param name="rrd-ds" value="ifInErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" + value="Input error counter for the interface" /> + <param name="graph-legend" value="Errors in" /> + </leaf> + + <leaf name="ifOutErrors"> + <param name="snmp-object" value="$ifOutErrors.$IFIDX_DESCR" /> + <param name="rrd-ds" value="ifOutErrors" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" + value="Output error counter for the interface" /> + <param name="graph-legend" value="Errors out" /> + </leaf> + + <leaf name="locIfInBitsSec"> + <param name="snmp-object" value="$locIfInBitsSec.$IFIDX_DESCR" /> + <param name="rrd-ds" value="locIfInBitsSec" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment" + value="5-minute average of input bits per second"/> + <param name="graph-legend" value="Bits in" /> + </leaf> + + <leaf name="locIfOutBitsSec"> + <param name="snmp-object" value="$locIfOutBitsSec.$IFIDX_DESCR" /> + <param name="rrd-ds" value="locIfOutBitsSec" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment" + value="5-minute average of output bits per second"/> + <param name="graph-legend" value="Bits out" /> + </leaf> + + <leaf name="locIfLoad"> + <param name="snmp-object" value="$locIfLoad.$IFIDX_DESCR" /> + <param name="rrd-ds" value="locIfLoad" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment" + value="The loading factor of the interface" /> + <param name="graph-legend" value="Interface load" /> + </leaf> + + </template> + + <!-- Read-only view to those leaves updated by + cisco-interface-counters template --> + + <template name="read-cisco-interface-counters"> + + <!-- You must specify data-file and data-dir parameters --> + + <leaf name="InOut_bps"> + <param name="comment" value="Input and Output bits per second graphs" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{InBps}" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="AREA" /> + <param name="line-color-in" value="#00FF00" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{OutBps}" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="LINE2" /> + <param name="line-color-out" value="#0000FF" /> + <param name="line-order-out" value="2" /> + </leaf> + + <leaf name="InErrors"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="rrd-ds" value="ifInErrors" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" + value="Input error counter for the interface" /> + <param name="graph-legend" value="Errors in" /> + </leaf> + + <leaf name="OutErrors"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="rrd-ds" value="ifOutErrors" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="comment" + value="Output error counter for the interface" /> + <param name="graph-legend" value="Errors out" /> + </leaf> + + <leaf name="InBps"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="rrd-ds" value="locIfInBitsSec" /> + <param name="comment" + value="5-minute average of input bits per second"/> + <param name="graph-legend" value="Bits in" /> + </leaf> + + <leaf name="OutBps"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-def" /> + <param name="rrd-cf" value="AVERAGE" /> + <param name="rrd-ds" value="locIfOutBitsSec" /> + <param name="comment" + value="5-minute average of output bits per second"/> + <param name="graph-legend" value="Bits out" /> + </leaf> + + </template> + + <!-- Common definitions for SAA/RTTMON subtree --> + <template name="cisco-saa-subtree"> + <param name="comment" value="Cisco Service Assurance Agent"/> + <param name="precedence" value="-400" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="rt"/> + <param name="overview-subleave-name-rt" value="LatestCompletionTime"/> + <param name="overview-shortcut-text-rt" + value="All responce times"/> + <param name="overview-shortcut-title-rt" + value="Show all responce time graphs in one page"/> + <param name="overview-page-title-rt" + value="Responce Time Graphs"/> + + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <!-- RTT Echo statitsics --> + <template name="cisco-rtt-echo-subtree"> + <leaf name="LatestCompletionTime"> + <param name="snmp-object" + value="$rttMonLatestRttOperCompletionTime.%rtt-index%" /> + <param name="rrd-ds" value="complTime" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_rtt_%rtt-index%.rrd" /> + <param name="graph-legend" value="rtr %rtt-index%" /> + <param name="vertical-label" value="milliseconds" /> + <param name="graph-lower-limit" value="0"/> + </leaf> + </template> + + <!-- OLD-CISCO-MEMORY-MIB templates --> + + <template name="old-cisco-memory-buffers"> + <subtree name="Buffer_Usage"> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="data-file" value="%system-id%_cisco-buffers.rrd" /> + <param name="comment" value="Buffer usage statistics" /> + <param name="precedence" value="-100" /> + <leaf name="Buffer_Stats"> + <param name="precedence" value="1000" /> + <param name="comment" value="Hits, Misses and Failures"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="afail,mfail,hit,miss"/> + <!-- afail --> + <param name="ds-expr-afail" value="{Allocation_Failures}"/> + <param name="graph-legend-afail" value="Allocation Failures"/> + <param name="line-style-afail" value="LINE2"/> + <param name="line-color-afail" value="##red"/> + <param name="line-order-afail" value="4"/> + <!-- mfail --> + <param name="ds-expr-mfail" value="{No_Memory_Failures}"/> + <param name="graph-legend-mfail" value="No Memory Failures"/> + <param name="line-style-mfail" value="LINE2"/> + <param name="line-color-mfail" value="##red25"/> + <param name="line-order-mfail" value="3"/> + <!-- miss --> + <param name="ds-expr-miss" value="{Misses}"/> + <param name="graph-legend-miss" value="Misses"/> + <param name="line-style-miss" value="LINE2"/> + <param name="line-color-miss" value="##red75"/> + <param name="line-order-miss" value="2"/> + <!-- hit --> + <param name="ds-expr-hit" value="{Hits}"/> + <param name="graph-legend-hit" value="Hits"/> + <param name="line-style-hit" value="LINE2"/> + <param name="line-color-hit" value="##blue"/> + <param name="line-order-hit" value="1"/> + </leaf> + <leaf name="Allocation_Failures"> + <param name="snmp-object" value="$bufferFail"/> + <param name="rrd-ds" value="bufferFail" /> + <param name="comment" value="Number of Buffer Allocation Failures"/> + <param name="graph-legend" value="Allocation Failures" /> + <param name="precedence" value="-100" /> + <param name="vertical-label" value="fps"/> + </leaf> + <leaf name="No_Memory_Failures"> + <param name="snmp-object" value="$bufferNoMem"/> + <param name="rrd-ds" value="bufferNoMem" /> + <param name="comment"> + Number of Buffer Create Failures due to No Memory + </param> + <param name="graph-legend" value="No Mem Failures" /> + <param name="precedence" value="-100" /> + <param name="vertical-label" value="fps"/> + </leaf> + <leaf name="Free"> + <param name="precedence" value="-200" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferElFree"/> + <param name="rrd-ds" value="bufferElFree" /> + <param name="comment" value="Number of Free Buffers"/> + <param name="graph-legend" value="Free Buffers" /> + <param name="vertical-label" value="Total Free Buffers"/> + </leaf> + <leaf name="Max"> + <param name="precedence" value="-200" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferElMax"/> + <param name="rrd-ds" value="bufferElMax" /> + <param name="comment" value="Max Buffers"/> + <param name="graph-legend" value="Max Buffers" /> + <param name="vertical-label" value="Total Max Buffers"/> + </leaf> + <leaf name="Hits"> + <param name="precedence" value="-200" /> + <param name="snmp-object" value="$bufferElHit"/> + <param name="rrd-ds" value="bufferElHit" /> + <param name="comment" value="Buffer Hits"/> + <param name="graph-legend" value="Buffer Hits" /> + <param name="vertical-label" value="Total hps"/> + </leaf> + <leaf name="Misses"> + <param name="precedence" value="-200" /> + <param name="snmp-object" value="$bufferElMiss"/> + <param name="rrd-ds" value="bufferElMiss" /> + <param name="comment" value="Buffer Misses"/> + <param name="graph-legend" value="Buffer Misses" /> + <param name="vertical-label" value="Total mps"/> + </leaf> + <leaf name="Creates"> + <param name="precedence" value="-200" /> + <param name="snmp-object" value="$bufferElCreate"/> + <param name="rrd-ds" value="bufferElCreate" /> + <param name="comment" value="Buffer Creates"/> + <param name="graph-legend" value="Buffer Creates" /> + <param name="vertical-label" value="Total cps"/> + </leaf> + <subtree name="Small_Buffers"> + <param name="precedence" value="-300" /> + <leaf name="Free"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferSmFree"/> + <param name="rrd-ds" value="bufferSmFree" /> + <param name="comment" value="Number of Free Small Buffers"/> + <param name="graph-legend" value="Free Small Buffers" /> + <param name="vertical-label" value="Free Buffers"/> + </leaf> + <leaf name="Max"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferSmMax"/> + <param name="rrd-ds" value="bufferSmMax" /> + <param name="comment" value="Max Small Buffers"/> + <param name="graph-legend" value="Max Small Buffers" /> + <param name="vertical-label" value="Max Buffers"/> + </leaf> + <leaf name="Hits"> + <param name="snmp-object" value="$bufferSmHit"/> + <param name="rrd-ds" value="bufferSmHit" /> + <param name="comment" value="Small Buffer Hits"/> + <param name="graph-legend" value="Small Buffer Hits" /> + <param name="vertical-label" value="hps"/> + </leaf> + <leaf name="Misses"> + <param name="snmp-object" value="$bufferSmMiss"/> + <param name="rrd-ds" value="bufferSmMiss" /> + <param name="comment" value="Small Buffer Misses"/> + <param name="graph-legend" value="Small Buffer Misses" /> + <param name="vertical-label" value="mps"/> + </leaf> + <leaf name="Creates"> + <param name="snmp-object" value="$bufferSmCreate"/> + <param name="rrd-ds" value="bufferSmCreate" /> + <param name="comment" value="Small Buffer Creates"/> + <param name="graph-legend" value="Small Buffer Creates" /> + <param name="vertical-label" value="cps"/> + </leaf> + <leaf name="Trims"> + <param name="snmp-object" value="$bufferSmTrim"/> + <param name="rrd-ds" value="bufferSmTrim" /> + <param name="comment" value="Small Buffer Trims"/> + <param name="graph-legend" value="Small Buffer Trims" /> + <param name="vertical-label" value="tps"/> + </leaf> + </subtree> + <subtree name="Medium_Buffers"> + <param name="precedence" value="-400" /> + <leaf name="Free"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferMdFree"/> + <param name="rrd-ds" value="bufferMdFree" /> + <param name="comment" value="Number of Free Medium Buffers"/> + <param name="graph-legend" value="Free Medium Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Max"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferMdMax"/> + <param name="rrd-ds" value="bufferMdMax" /> + <param name="comment" value="Max Medium Buffers"/> + <param name="graph-legend" value="Max Medium Buffers" /> + </leaf> + <leaf name="Hits"> + <param name="snmp-object" value="$bufferMdHit"/> + <param name="rrd-ds" value="bufferMdHit" /> + <param name="comment" value="Medium Buffer Hits"/> + <param name="graph-legend" value="Medium Buffer Hits" /> + <param name="vertical-label" value="hps"/> + </leaf> + <leaf name="Misses"> + <param name="snmp-object" value="$bufferMdMiss"/> + <param name="rrd-ds" value="bufferMdMiss" /> + <param name="comment" value="Medium Buffer Misses"/> + <param name="graph-legend" value="Medium Buffer Misses" /> + <param name="vertical-label" value="mps"/> + </leaf> + <leaf name="Creates"> + <param name="snmp-object" value="$bufferMdCreate"/> + <param name="rrd-ds" value="bufferMdCreate" /> + <param name="comment" value="Medium Buffer Creates"/> + <param name="graph-legend" value="Medium Buffer Creates" /> + <param name="vertical-label" value="cps"/> + </leaf> + <leaf name="Trims"> + <param name="snmp-object" value="$bufferMdTrim"/> + <param name="rrd-ds" value="bufferMdTrim" /> + <param name="comment" value="Medium Buffer Trims"/> + <param name="graph-legend" value="Medium Buffer Trims" /> + <param name="vertical-label" value="tps"/> + </leaf> + </subtree> + <subtree name="Big_Buffers"> + <param name="precedence" value="-500" /> + <leaf name="Free"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferBgFree"/> + <param name="rrd-ds" value="bufferBgFree" /> + <param name="comment" value="Number of Free Big Buffers"/> + <param name="graph-legend" value="Free Big Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Max"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferBgMax"/> + <param name="rrd-ds" value="bufferBgMax" /> + <param name="comment" value="Max Big Buffers"/> + <param name="graph-legend" value="Max Big Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Hits"> + <param name="snmp-object" value="$bufferBgHit"/> + <param name="rrd-ds" value="bufferBgHit" /> + <param name="comment" value="Big Buffer Hits"/> + <param name="graph-legend" value="Big Buffer Hits" /> + <param name="vertical-label" value="hps"/> + </leaf> + <leaf name="Misses"> + <param name="snmp-object" value="$bufferBgMiss"/> + <param name="rrd-ds" value="bufferBgMiss" /> + <param name="comment" value="Big Buffer Misses"/> + <param name="graph-legend" value="Big Buffer Misses" /> + <param name="vertical-label" value="mps"/> + </leaf> + <leaf name="Creates"> + <param name="snmp-object" value="$bufferBgCreate"/> + <param name="rrd-ds" value="bufferBgCreate" /> + <param name="comment" value="Big Buffer Creates"/> + <param name="graph-legend" value="Big Buffer Creates" /> + <param name="vertical-label" value="cps"/> + </leaf> + <leaf name="Trims"> + <param name="snmp-object" value="$bufferBgTrim"/> + <param name="rrd-ds" value="bufferBgTrim" /> + <param name="comment" value="Big Buffer Trims"/> + <param name="graph-legend" value="Big Buffer Trims" /> + <param name="vertical-label" value="tps"/> + </leaf> + </subtree> + <subtree name="Large_Buffers"> + <param name="precedence" value="-600" /> + <leaf name="Free"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferLgFree"/> + <param name="rrd-ds" value="bufferLgFree" /> + <param name="comment" value="Number of Free Large Buffers"/> + <param name="graph-legend" value="Free Large Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Max"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferLgMax"/> + <param name="rrd-ds" value="bufferLgMax" /> + <param name="comment" value="Max Large Buffers"/> + <param name="graph-legend" value="Max Large Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Hits"> + <param name="snmp-object" value="$bufferLgHit"/> + <param name="rrd-ds" value="bufferLgHit" /> + <param name="comment" value="Large Buffer Hits"/> + <param name="graph-legend" value="Large Buffer Hits" /> + <param name="vertical-label" value="hps"/> + </leaf> + <leaf name="Misses"> + <param name="snmp-object" value="$bufferLgMiss"/> + <param name="rrd-ds" value="bufferLgMiss" /> + <param name="comment" value="Large Buffer Misses"/> + <param name="graph-legend" value="Large Buffer Misses" /> + <param name="vertical-label" value="mps"/> + </leaf> + <leaf name="Creates"> + <param name="snmp-object" value="$bufferLgCreate"/> + <param name="rrd-ds" value="bufferLgCreate" /> + <param name="comment" value="Large Buffer Creates"/> + <param name="graph-legend" value="Large Buffer Creates" /> + <param name="vertical-label" value="cps"/> + </leaf> + <leaf name="Trims"> + <param name="snmp-object" value="$bufferLgTrim"/> + <param name="rrd-ds" value="bufferLgTrim" /> + <param name="comment" value="Large Buffer Trims"/> + <param name="graph-legend" value="Large Buffer Trims" /> + <param name="vertical-label" value="tps"/> + </leaf> + </subtree> + <subtree name="Huge_Buffers"> + <param name="precedence" value="-700" /> + <leaf name="Free"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferHgFree"/> + <param name="rrd-ds" value="bufferHgFree" /> + <param name="comment" value="Number of Free Huge Buffers"/> + <param name="graph-legend" value="Free Huge Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Max"> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="snmp-object" value="$bufferHgMax"/> + <param name="rrd-ds" value="bufferHgMax" /> + <param name="comment" value="Max Huge Buffers"/> + <param name="graph-legend" value="Max Huge Buffers" /> + <param name="vertical-label" value="Count"/> + </leaf> + <leaf name="Hits"> + <param name="snmp-object" value="$bufferHgHit"/> + <param name="rrd-ds" value="bufferHgHit" /> + <param name="comment" value="Huge Buffer Hits"/> + <param name="graph-legend" value="Huge Buffer Hits" /> + <param name="vertical-label" value="hps"/> + </leaf> + <leaf name="Misses"> + <param name="snmp-object" value="$bufferHgMiss"/> + <param name="rrd-ds" value="bufferHgMiss" /> + <param name="comment" value="Huge Buffer Misses"/> + <param name="graph-legend" value="Huge Buffer Misses" /> + <param name="vertical-label" value="mps"/> + </leaf> + <leaf name="Creates"> + <param name="snmp-object" value="$bufferHgCreate"/> + <param name="rrd-ds" value="bufferHgCreate" /> + <param name="comment" value="Huge Buffer Creates"/> + <param name="graph-legend" value="Huge Buffer Creates" /> + <param name="vertical-label" value="cps"/> + </leaf> + <leaf name="Trims"> + <param name="snmp-object" value="$bufferHgTrim"/> + <param name="rrd-ds" value="bufferHgTrim" /> + <param name="comment" value="Huge Buffer Trims"/> + <param name="graph-legend" value="Huge Buffer Trims" /> + <param name="vertical-label" value="tps"/> + </leaf> + </subtree> + </subtree> + </template> + + + <template name="cisco-ipsec-flow-globals"> + <subtree name="IPSec_Statistics"> + <param name="node-display-name" value="IPSec Statistics" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="data-file" value="%system-id%_cisco-ipsec-globals.rrd" /> + <param name="comment" value="IPSec traffic statistics" /> + <param name="precedence" value="-200" /> + + <leaf name="Active_Tunnels"> + <param name="snmp-object" value="$cipSecGlobalActiveTunnels"/> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="rrd-ds" value="ActiveTunnels" /> + <param name="comment" value="Currently active IPSec tunnels" /> + <param name="graph-legend" value="Active tunnels" /> + <param name="vertical-label" value="" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="1000" /> + </leaf> + + <leaf name="InOut_bps"> + <param name="comment" + value="Input and Output encrypted bits per second" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="900" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bytes_In},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bytes_Out},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + + <leaf name="Bytes_In"> + <param name="snmp-object" value="$cipSecGlobalHcInOctets"/> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="InOctets" /> + <param name="comment" value="Input bytecount of encrypted packets" /> + <param name="graph-legend" value="Bytes in" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="990" /> + </leaf> + + <leaf name="Bytes_Out"> + <param name="snmp-object" value="$cipSecGlobalHcOutOctets"/> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="rrd-ds" value="OutOctets" /> + <param name="comment" value="Output bytecount of encrypted packets" /> + <param name="graph-legend" value="Bytes out" /> + <param name="vertical-label" value="Bps" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="980" /> + </leaf> + + <leaf name="Packets_In"> + <param name="snmp-object" value="$cipSecGlobalInPkts"/> + <param name="rrd-ds" value="InPkts" /> + <param name="comment" value="Input counter of encrypted packets" /> + <param name="graph-legend" value="Packets in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="890" /> + </leaf> + + <leaf name="Packets_Out"> + <param name="snmp-object" value="$cipSecGlobalOutPkts"/> + <param name="rrd-ds" value="OutPkts" /> + <param name="comment" value="Output counter of encrypted packets" /> + <param name="graph-legend" value="Packets out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="880" /> + </leaf> + + <leaf name="Dropped_In"> + <param name="snmp-object" value="$cipSecGlobalInDrops"/> + <param name="rrd-ds" value="InDrops" /> + <param name="comment" value="Input count of dropped packets" /> + <param name="graph-legend" value="Dropped in" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="790" /> + </leaf> + + <leaf name="Dropped_Out"> + <param name="snmp-object" value="$cipSecGlobalOutDrops"/> + <param name="rrd-ds" value="OutDrops" /> + <param name="comment" value="Output count of dropped packets" /> + <param name="graph-legend" value="Dropped out" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0"/> + <param name="precedence" value="780" /> + </leaf> + </subtree> + </template> + + <template name="cisco-bgp"> + <param name="data-file"> + %system-id%_%peer-index%_cbgp.rrd + </param> + + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="graph-title" value="%descriptive-nickname%" /> + <param name="graph-lower-limit" value="0" /> + <param name="vertical-label" value="prefixes" /> + <param name="graph-legend" value="Accepted" /> + <param name="snmp-object" + value="$cbgpPeerAcceptedPrefixes.%peer-index%"/> + <param name="rrd-ds" value="Accepted" /> + </template> + + + <template name="cisco-car-subtree"> + <param name="data-file"> + %system-id%_%interface-nick%_%car-direction%_%car-index%_ccar.rrd + </param> + + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + <param name="graph-lower-limit" value="0" /> + </template> + + <template name="cisco-car"> + <leaf name="Current_Burst"> + <param name="comment" value="Current received burst size" /> + <param name="graph-legend" value="Burst" /> + <param name="snmp-object" + value="$ccarStatCurBurst.%ifindex-map%.%car-direction%.%car-index%"/> + <param name="rrd-ds" value="Burst" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="bytes" /> + </leaf> + + <leaf name="Switched_Packets"> + <param name="comment" + value="Packets per second permitted by the rate limit" /> + <param name="graph-legend" value="Switched Packets" /> + <param name="snmp-object"> + $ccarStatHCSwitchedPkts.%ifindex-map%.%car-direction%.%car-index% + </param> + <param name="rrd-ds" value="SwPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="pps" /> + </leaf> + + <leaf name="Switched_Bytes"> + <param name="comment" + value="Bytes per second permitted by the rate limit" /> + <param name="graph-legend" value="Switched Bytes" /> + <param name="snmp-object"> + $ccarStatHCSwitchedBytes.%ifindex-map%.%car-direction%.%car-index% + </param> + <param name="rrd-ds" value="SwBytes" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="bytes/s" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Filtered_Packets"> + <param name="comment" + value="Packets per second filtered by the rate limit" /> + <param name="graph-legend" value="Filtered Packets" /> + <param name="snmp-object"> + $ccarStatHCFilteredPkts.%ifindex-map%.%car-direction%.%car-index% + </param> + <param name="rrd-ds" value="FltrPkts" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="pps" /> + </leaf> + + <leaf name="Filtered_Bytes"> + <param name="comment" + value="Bytes per second filtered by the rate limit" /> + <param name="graph-legend" value="Filtered Bytes" /> + <param name="snmp-object"> + $ccarStatHCFilteredBytes.%ifindex-map%.%car-direction%.%car-index% + </param> + <param name="rrd-ds" value="FltrBytes" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="snmp-object-type" value="COUNTER64" /> + <param name="vertical-label" value="bytes/s" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Switched_Bps"> + <param name="comment" + value="Bit per second permitted by the rate limit" /> + <param name="vertical-label" value="bps" /> + + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="bytes" /> + + <param name="ds-expr-bytes" value="{Switched_Bytes},8,*" /> + <param name="graph-legend-bytes" value="Switched" /> + <param name="line-style-bytes" value="##SingleGraph" /> + <param name="line-color-bytes" value="##SingleGraph" /> + <param name="line-order-bytes" value="1" /> + </leaf> + + <leaf name="Filtered_Bps"> + <param name="comment" + value="Bit per second filtered by the rate limit" /> + <param name="vertical-label" value="bps" /> + + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="bytes" /> + + <param name="ds-expr-bytes" value="{Filtered_Bytes},8,*" /> + <param name="graph-legend-bytes" value="Filtered" /> + <param name="line-style-bytes" value="##SingleGraph" /> + <param name="line-color-bytes" value="##SingleGraph" /> + <param name="line-order-bytes" value="1" /> + </leaf> + </template> + + + <template name="cisco-vpdn-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="tunnel,session,deny"/> + <!-- Total Tunnels --> + <param name="overview-subleave-name-tunnel" value="Tunnel_Total"/> + <param name="overview-shortcut-text-tunnel" + value="All VPDN tunnels"/> + <param name="overview-shortcut-title-tunnel" + value="Show all VPDN tunnels graphs in one page"/> + <param name="overview-page-title-tunnel" + value="VPDN Total Number"/> + <!-- Total Sessions --> + <param name="overview-subleave-name-session" value="Session_Total"/> + <param name="overview-shortcut-text-session" + value="All VPDN sessions"/> + <param name="overview-shortcut-title-session" + value="Show all VPDN session graphs in one page"/> + <param name="overview-page-title-session" + value="VPDN Total Sessions"/> + <!-- Denied Users --> + <param name="overview-subleave-name-deny" value="Denied_Users"/> + <param name="overview-shortcut-text-deny" + value="All denied users"/> + <param name="overview-shortcut-title-deny" + value="Show all denied user graphs in one page"/> + <param name="overview-page-title-deny" + value="VPDN denied users"/> + </template> + + <template name="cisco-vpdn-leaf"> + <param name="data-file" value="%system-id%_cisco-vpdn_%tunFile%.rrd" /> + <param name="precedence" value="-200" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="rrd-create-dstype" value="GAUGE" /> + + <leaf name="Tunnel_Total"> + <param name="snmp-object" + value="$cvpdnSystemTunnelTotal.%tunIndex%" /> + <param name="rrd-ds" value="cvpdnSysTunTotal" /> + <param name="comment" + value="Total number of active VPDN tunnels" /> + <param name="graph-legend" value="Number of VPDN tunnels" /> + <param name="vertical-label" value="tunnels" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="999" /> + </leaf> + + <leaf name="Session_Total"> + <param name="snmp-object" + value="$cvpdnSystemSessionTotal.%tunIndex%" /> + <param name="rrd-ds" value="cvpdnSysSessTotal" /> + <param name="comment" + value="Total number of active sessions in active VPDN tunnels" /> + <param name="graph-legend" value="Number of sessions" /> + <param name="vertical-label" value="sessions" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="998" /> + </leaf> + + <leaf name="Denied_Users"> + <param name="snmp-object" + value="$cvpdnSystemDeniedUsersTotal.%tunIndex%" /> + <param name="rrd-ds" value="cvpdnSysDenyUsers" /> + <param name="comment" + value="Total number of denied users to all VPDN tunnels "/> + <param name="graph-legend" value="Number of denied users" /> + <param name="vertical-label" value="attempts" /> + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="997" /> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/cisco.sce.xml b/torrus/xmlconfig/vendor/cisco.sce.xml new file mode 100644 index 000000000..e1d74937f --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.sce.xml @@ -0,0 +1,668 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2007 Jon Nistor + Copyright (C) 2007 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.sce.xml,v 1.1 2010-12-27 00:04:07 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- Cisco Service Control Engine specific definitions --> + +<configuration> + +<definitions> + <!-- PCUBE-SE-MIB::diskGrp --> + <def name="diskNumUsedBytes" value="1.3.6.1.4.1.5655.4.1.5.1.0" /> + <def name="diskNumFreeBytes" value="1.3.6.1.4.1.5655.4.1.5.2.0" /> + + <!-- PCUBE-SE-MIB::rdrFormatterGrp --> + <def name="rdrFormatterNumReportsDiscarded" + value="1.3.6.1.4.1.5655.4.1.6.4.0" /> + <def name="rdrFormatterReportRate" value="1.3.6.1.4.1.5655.4.1.6.6.0" /> + <def name="rdrFormatterReportRatePeak" value="1.3.6.1.4.1.5655.4.1.6.7.0" /> + <def name="rdrFormatterCategoryNumReportsSent" + value="1.3.6.1.4.1.5655.4.1.6.11.1.3" /> + <def name="rdrFormatterCategoryNumReportsDiscarded" + value="1.3.6.1.4.1.5655.4.1.6.11.1.4" /> + <def name="rdrFormatterCategoryReportRate" + value="1.3.6.1.4.1.5655.4.1.6.11.1.5" /> + <def name="rdrFormatterCategoryReportRatePeak" + value="1.3.6.1.4.1.5655.4.1.6.11.1.6" /> + <def name="rdrFormatterCategoryNumReportsQueued" + value="1.3.6.1.4.1.5655.4.1.6.11.1.8" /> + + <!-- PCUBE-SE-MIB::subscribersInfoEntry --> + <def name="subNumIntroduced" value="1.3.6.1.4.1.5655.4.1.8.1.1.1.1" /> + <def name="subNumFree" value="1.3.6.1.4.1.5655.4.1.8.1.1.2.1" /> + <def name="subNumIpAddrMappings" + value="1.3.6.1.4.1.5655.4.1.8.1.1.3.1" /> + <def name="subNumIpAddrMappingsFree" + value="1.3.6.1.4.1.5655.4.1.8.1.1.4.1" /> + <def name="subNumIpRangeMappings" + value="1.3.6.1.4.1.5655.4.1.8.1.1.5.1" /> + <def name="subNumIpRangeMappingsFree" + value="1.3.6.1.4.1.5655.4.1.8.1.1.6.1" /> + <def name="subNumVlanMappings" value="1.3.6.1.4.1.5655.4.1.8.1.1.7.1" /> + <def name="subNumVlanMappingsFree" + value="1.3.6.1.4.1.5655.4.1.8.1.1.8.1" /> + <def name="subNumActive" value="1.3.6.1.4.1.5655.4.1.8.1.1.9.1" /> + <def name="subNumActivePeak" value="1.3.6.1.4.1.5655.4.1.8.1.1.10.1" /> + <def name="subNumUpdates" value="1.3.6.1.4.1.5655.4.1.8.1.1.12.1" /> + <def name="subNumTpIpRanges" value="1.3.6.1.4.1.5655.4.1.8.1.1.14.1" /> + <def name="subNumTpIpRangesFree" + value="1.3.6.1.4.1.5655.4.1.8.1.1.15.1" /> + <def name="subNumAnonymous" value="1.3.6.1.4.1.5655.4.1.8.1.1.16.1" /> + <def name="subNumWithSessions" value="1.3.6.1.4.1.5655.4.1.8.1.1.17.1" /> + + + <!-- PCUBE-SE-MIB::tpInfoEntry --> + <def name="tpNumActiveFlows" value="1.3.6.1.4.1.5655.4.1.9.1.1.5.1" /> + <def name="tpNumTcpActiveFlows" value="1.3.6.1.4.1.5655.4.1.9.1.1.8.1" /> + <def name="tpNumUdpActiveFlows" value="1.3.6.1.4.1.5655.4.1.9.1.1.11.1" /> + <def name="tpTotalNumDiscardedPacketsDueToBwLimit" + value="1.3.6.1.4.1.5655.4.1.9.1.1.19.1" /> + <def name="tpTotalNumWredDiscardedPackets" + value="1.3.6.1.4.1.5655.4.1.9.1.1.20.1" /> + <def name="tpHandledPacketsRate" value="1.3.6.1.4.1.5655.4.1.9.1.1.29.1" /> + <def name="tpHandledFlowsRate" value="1.3.6.1.4.1.5655.4.1.9.1.1.32.1" /> + <def name="tpCpuUtilization" value="1.3.6.1.4.1.5655.4.1.9.1.1.35.1" /> + <def name="tpFlowsCapacityUtilization" + value="1.3.6.1.4.1.5655.4.1.9.1.1.38.1" /> + + <!-- PCUBE-SE-MIB::txQueuesTable --> + <def name="txQueuesUtilization" + value="1.3.6.1.4.1.5655.4.1.11.1.1.6.1" /> + + <!-- CISCO-SCAS-BB-MIB::linkServiceUsageTable --> + <def name="linkServiceUsageUpVolume" + value="1.3.6.1.4.1.5655.4.2.2.1.1.1.1" /> + <def name="linkServiceUsageDownVolume" + value="1.3.6.1.4.1.5655.4.2.2.1.1.2.1" /> + <def name="linkServiceUsageConcurrentSessions" + value="1.3.6.1.4.1.5655.4.2.2.1.1.5.1" /> + + +</definitions> + + +<datasources> + <template name="cisco-sce-disk"> + <param name="scedisk-datafile" value="%system-id%_SCE_disk.rrd"/> + <subtree name="SCE_Disk"> + <param name="comment"> + Disk usage information + </param> + <param name="data-file" value="%scedisk-datafile%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="Bytes"/> + + <leaf name="Usage"> + <param name="precedence" value="1000"/> + <param name="comment" value="Total vs Used disk space"/> + <param name="graph-title" value="Disk Usage"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <param name="graph-lower-limit" value="0"/> + <!-- total --> + <param name="ds-expr-total" value="{Used},{Free},+"/> + <param name="graph-legend-total" value="Total"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- used --> + <param name="ds-expr-used" value="{Used}"/> + <param name="graph-legend-used" value="Used"/> + <param name="line-style-used" value="##resourceusage"/> + <param name="line-color-used" value="##resourceusage"/> + <param name="line-order-used" value="2"/> + </leaf> + + <leaf name="Used"> + <param name="comment" value="The number of used bytes"/> + <param name="graph-legend" value="Space used"/> + <param name="rrd-ds" value="usedBytes"/> + <param name="snmp-object" value="$diskNumUsedBytes"/> + </leaf> + + <leaf name="Free"> + <param name="comment" value="The number of free bytes"/> + <param name="graph-legend" value="Space available"/> + <param name="rrd-ds" value="freeBytes"/> + <param name="snmp-object" value="$diskNumFreeBytes"/> + </leaf> + </subtree> + </template> + + <template name="cisco-sce-rdr"> + <param name="scerdr-datafile" value="%system-id%_SCE_RDR.rrd"/> + <subtree name="SCE_RDR"> + <param name="comment"> + Raw Data Record information + </param> + <param name="data-file" value="%scerdr-datafile%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="RDRs/s"/> + <leaf name="Report_Rate_vs_Peak"> + <param name="comment" + value="The rate of RDR exports vs the peak recorded"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="rate,peak"/> + <!-- Reports per second Peak --> + <param name="ds-expr-peak" value="{Report_RatePeak}"/> + <param name="graph-legend-peak" value="Reports per second Peak"/> + <param name="line-style-peak" value="##totalresource"/> + <param name="line-color-peak" value="##totalresource"/> + <param name="line-order-peak" value="1"/> + <!-- Reports per second --> + <param name="ds-expr-rate" value="{Report_Rate}"/> + <param name="graph-legend-rate" value="Reports per second"/> + <param name="line-style-rate" value="##resourceusage"/> + <param name="line-color-rate" value="##resourceusage"/> + <param name="line-order-rate" value="2"/> + </leaf> + + <leaf name="Report_Rate"> + <param name="comment" value="The rate of reports sent per second"/> + <param name="graph-legend" value="Reports per second"/> + <param name="rrd-ds" value="reportRate"/> + <param name="snmp-object" value="$rdrFormatterReportRate"/> + </leaf> + + <leaf name="Report_RatePeak"> + <param name="comment" value="The max rate of reports sent"/> + <param name="graph-legend" value="Reports per second peak"/> + <param name="rrd-ds" value="reportRatePeak"/> + <param name="snmp-object" value="$rdrFormatterReportRatePeak"/> + </leaf> + + <leaf name="Reports_Discarded"> + <param name="comment" value="Total number of reports discarded"/> + <param name="graph-legend" value="Num of reports"/> + <param name="rrd-ds" value="reportsDiscarded"/> + <param name="snmp-object" value="$rdrFormatterNumReportsDiscarded"/> + </leaf> + + </subtree> + </template> + + <template name="cisco-sce-rdr-category-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="rate,discards"/> + <!-- Rate --> + <param name="overview-subleave-name-rate" value="Report_Rate"/> + <param name="overview-shortcut-text-rate" + value="All Report Rates"/> + <param name="overview-shortcut-title-rate" + value="Show RDR Report Rate for all categories on one page"/> + <param name="overview-page-title-rate" + value="Category RDR Report Rates"/> + <!-- Discards --> + <param name="overview-subleave-name-discards" value="Reports_Discarded"/> + <param name="overview-shortcut-text-discards" + value="All Report Discards"/> + <param name="overview-shortcut-title-discards" + value="Show discarded RDR rate on one page"/> + <param name="overview-page-title-discards" + value="RDR Reports discarded"/> + </template> + + <template name="cisco-sce-rdr-category"> + <param name="comment" value="%sce-rdr-comment%"/> + <param name="data-file" + value="%system-id%_SCE_RDR_category_%sce-rdr-index%.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="RDRs/s"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-title" value="%system-id%:%sce-rdr-comment%"/> + + <leaf name="Report_Rate_vs_Peak"> + <param name="comment" + value="The rate of RDR exports vs the peak recorded"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="rate,peak"/> + <!-- Reports per second Peak --> + <param name="ds-expr-peak" value="{Report_RatePeak}"/> + <param name="graph-legend-peak" value="Reports per second Peak"/> + <param name="line-style-peak" value="##totalresource"/> + <param name="line-color-peak" value="##totalresource"/> + <param name="line-order-peak" value="1"/> + <!-- Reports per second --> + <param name="ds-expr-rate" value="{Report_Rate}"/> + <param name="graph-legend-rate" value="Reports per second"/> + <param name="line-style-rate" value="##resourceusage"/> + <param name="line-color-rate" value="##resourceusage"/> + <param name="line-order-rate" value="2"/> + </leaf> + + <leaf name="Report_Rate"> + <param name="comment" value="The rate of reports sent per second"/> + <param name="graph-legend" value="Reports per second"/> + <param name="rrd-ds" value="reportRate"/> + <param name="snmp-object" + value="$rdrFormatterCategoryReportRate.%sce-rdr-index%"/> + </leaf> + + <leaf name="Report_RatePeak"> + <param name="comment" value="The max rate of reports sent"/> + <param name="graph-legend" value="Reports per second peak"/> + <param name="rrd-ds" value="reportRatePeak"/> + <param name="snmp-object" + value="$rdrFormatterCategoryReportRatePeak.%sce-rdr-index%"/> + </leaf> + + <leaf name="Reports_Discarded"> + <param name="comment" value="Total number of reports discarded"/> + <param name="graph-legend" value="Num of reports"/> + <param name="rrd-ds" value="reportsDiscarded"/> + <param name="snmp-object" + value="$rdrFormatterCategoryNumReportsDiscarded.%sce-rdr-index%"/> + </leaf> + + </template> + + + <template name="cisco-sce-subscribers"> + <subtree name="SCE_Subscribers"> + <param name="comment"> + Subscriber usage information + </param> + <param name="data-file" value="%system-id%_SCE_subscribers.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="Subscribers"/> + + <leaf name="Introduced"> + <param name="comment" + value="Number of subscribers introduced to the SCE"/> + <param name="graph-legend" value="used"/> + <param name="rrd-ds" value="NumIntroduced"/> + <param name="snmp-object" value="$subNumIntroduced"/> + </leaf> + + <leaf name="Free"> + <param name="comment" value="Number of subscribers available"/> + <param name="graph-legend" value="available"/> + <param name="rrd-ds" value="NumFree"/> + <param name="snmp-object" value="$subNumFree"/> + </leaf> + + <leaf name="IP_Addr_Mappings"> + <param name="comment" value="Number of IP to subscriber mappings"/> + <param name="graph-legend" value="used"/> + <param name="rrd-ds" value="NumIpAddrMap"/> + <param name="snmp-object" value="$subNumIpAddrMappings"/> + </leaf> + + <leaf name="IP_Addr_Mappings_Free"> + <param name="comment" + value="Number of IP to subscriber mappings available"/> + <param name="graph-legend" value="available"/> + <param name="rrd-ds" value="NumIpAddrMapFree"/> + <param name="snmp-object" value="$subNumIpAddrMappingsFree"/> + </leaf> + + <leaf name="IP_Range_Mappings"> + <param name="comment" value="Number of IP-range to subs mappings"/> + <param name="graph-legend" value="used"/> + <param name="rrd-ds" value="NumIpRangeMap"/> + <param name="snmp-object" value="$subNumIpRangeMappings"/> + </leaf> + + <leaf name="IP_Range_Mappings_Free"> + <param name="comment" + value="Number of IP-range to subs mappings available"/> + <param name="graph-legend" value="available"/> + <param name="rrd-ds" value="NumIpRangeMapFree"/> + <param name="snmp-object" value="$subNumIpRangeMappingsFree"/> + </leaf> + + <leaf name="Vlan_Mappings"> + <param name="comment" + value="Number of used 'VLAN to subscribers' mappings"/> + <param name="graph-legend" value="vlans"/> + <param name="rrd-ds" value="NumVlanMap"/> + <param name="snmp-object" value="$subNumVlanMappings"/> + </leaf> + + <leaf name="Vlan_Mappings_Free"> + <param name="comment" + value="Number of free 'VLAN to subscriber' mappings"/> + <param name="graph-legend" value="vlans"/> + <param name="rrd-ds" value="NumVlanMapFree"/> + <param name="snmp-object" value="$subNumVlanMappingsFree"/> + </leaf> + + <leaf name="Subs_Active"> + <param name="comment" value="Number of active subscribers"/> + <param name="graph-legend" value="subs"/> + <param name="rrd-ds" value="NumActive"/> + <param name="snmp-object" value="$subNumActive"/> + </leaf> + + <leaf name="Subs_Active_Peak"> + <param name="comment" + value="Number of peak active subscribers"/> + <param name="graph-legend" value="subs"/> + <param name="rrd-ds" value="NumActivePeak"/> + <param name="snmp-object" value="$subNumActivePeak"/> + </leaf> + + <leaf name="TP_IP_Ranges"> + <param name="comment" + value="Number of 'Traffic Processor IP ranges' used"/> + <param name="graph-legend" value="subs"/> + <param name="rrd-ds" value="NumTpIpRange"/> + <param name="snmp-object" value="$subNumTpIpRanges"/> + </leaf> + + <leaf name="TP_IP_Ranges_Free"> + <param name="comment" + value="Number of free 'Traffic Processor IP ranges'"/> + <param name="graph-legend" value="subs"/> + <param name="rrd-ds" value="NumTpIpRangeFree"/> + <param name="snmp-object" value="$subNumTpIpRangesFree"/> + </leaf> + + <leaf name="Anonymous"> + <param name="comment" value="Number of anonymous subscribers"/> + <param name="graph-legend" value="anonymous subs"/> + <param name="rrd-ds" value="NumAnonymous"/> + <param name="snmp-object" value="$subNumAnonymous"/> + </leaf> + + <leaf name="With_Sessions"> + <param name="comment" + value="Number of subscribers with open sessions"/> + <param name="graph-legend" value="subs"/> + <param name="rrd-ds" value="NumWithSessions"/> + <param name="snmp-object" value="$subNumWithSessions"/> + </leaf> + + </subtree> + </template> + + <template name="cisco-sce-tp-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="util,discards"/> + <!-- Utilization --> + <param name="overview-subleave-name-util" value="CPU_Utilization"/> + <param name="overview-shortcut-text-util" + value="All CPU Utilization"/> + <param name="overview-shortcut-title-util" + value="Show CPU utilization for all TPs on one page"/> + <param name="overview-page-title-util" + value="Traffic Processors Utilization"/> + <!-- Discards --> + <param name="overview-subleave-name-discards" value="Packets_Discarded"/> + <param name="overview-shortcut-text-discards" + value="All Discards"/> + <param name="overview-shortcut-title-discards" + value="Show discarded packet graphs on one page"/> + <param name="overview-page-title-discards" + value="Packets discarded"/> + </template> + + + <template name="cisco-sce-tp"> + <param name="data-file" value="%system-id%_SCE_tp.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Packets"> + <param name="comment" + value="Packet rate processed by TP"/> + <param name="graph-legend" value="Processed"/> + <param name="vertical-label" value="pps"/> + <param name="rrd-ds" value="Packets_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpHandledPacketsRate.%sce-tp-index%"/> + </leaf> + + <leaf name="Packets_Discarded"> + <param name="comment" + value="Discarded packets due to BW limit"/> + <param name="graph-legend" value="Discarded"/> + <param name="vertical-label" value="pps"/> + <param name="rrd-ds" value="PacketsDisc_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpTotalNumDiscardedPacketsDueToBwLimit.%sce-tp-index%"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + + <leaf name="Packets_WRED_Discarded"> + <param name="comment" + value="Discarded packets due to queue overflow"/> + <param name="graph-legend" value="WRED Discarded"/> + <param name="vertical-label" value="pps"/> + <param name="rrd-ds" value="PacketsWred_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpTotalNumWredDiscardedPackets.%sce-tp-index%"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + + <leaf name="Flows_Rate"> + <param name="comment" + value="Flows rate processed by TP"/> + <param name="graph-legend" value="Processed"/> + <param name="vertical-label" value="flows/s"/> + <param name="rrd-ds" value="FlowsRate_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpHandledFlowsRate.%sce-tp-index%"/> + </leaf> + + <leaf name="Flows_Active"> + <param name="comment" + value="Number of active flows"/> + <param name="graph-legend" value="Active"/> + <param name="vertical-label" value="flows"/> + <param name="rrd-ds" value="FlowsActive_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpNumActiveFlows.%sce-tp-index%"/> + </leaf> + + <leaf name="Flows_Active_TCP"> + <param name="comment" + value="Number of active TCP flows"/> + <param name="graph-legend" value="TCP"/> + <param name="vertical-label" value="flows"/> + <param name="rrd-ds" value="FlowsTCP_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpNumTcpActiveFlows.%sce-tp-index%"/> + </leaf> + + <leaf name="Flows_Active_UDP"> + <param name="comment" + value="Number of active UDP flows"/> + <param name="graph-legend" value="UDP"/> + <param name="vertical-label" value="flows"/> + <param name="rrd-ds" value="FlowsUDP_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpNumUdpActiveFlows.%sce-tp-index%"/> + </leaf> + + <leaf name="CPU_Utilization"> + <param name="comment" + value="Utilization of TP"/> + <param name="graph-legend" value="Util"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="Util_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpCpuUtilization.%sce-tp-index%"/> + <param name="line-style" value="##resourceusage" /> + <param name="line-color" value="##resourceusage" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + </leaf> + + <leaf name="Flows_Utilization"> + <param name="comment" + value="Flows capacity utilization"/> + <param name="graph-legend" value="Flows Util"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="FlowsUtil_%sce-tp-index%"/> + <param name="snmp-object" + value="$tpFlowsCapacityUtilization.%sce-tp-index%"/> + <param name="line-style" value="##resourceusage" /> + <param name="line-color" value="##resourceusage" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + </leaf> + + </template> + + + <template name="cisco-sce-queues-subtree"> + <param name="data-file" value="%system-id%_SCE_queues.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="vertical-label" value="Percent"/> + <param name="graph-legend" value="Queue utilization"/> + <param name="graph-title" value="Queue Utilization"/> + <param name="rrd-ds" value="%sce-port-index%_%sce-queue-index%"/> + <param name="snmp-object" + value="$txQueuesUtilization.%sce-port-index%.%sce-queue-index%"/> + <param name="graph-lower-limit" value="0" /> + </template> + + + <template name="cisco-sce-gc-subtree"> + <param name="data-file" + value="%system-id%_SCE_gc_%sce-link-index%_%sce-gc-index%.rrd"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-title" value="%sce-service-name%"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="up,down,sessions"/> + <!-- Up Volume --> + <param name="overview-subleave-name-up" value="Up_bps"/> + <param name="overview-direct-link-up" value="yes"/> + <param name="overview-direct-link-view-up" value="expanded-dir-html"/> + <param name="overview-shortcut-text-up" + value="Upstream Usage"/> + <param name="overview-shortcut-title-up" + value="Show upstream bandwidth usage for all services"/> + <param name="overview-page-title-up" + value="Upstream Usage"/> + <!-- Down Volume --> + <param name="overview-subleave-name-down" value="Down_bps"/> + <param name="overview-direct-link-down" value="yes"/> + <param name="overview-direct-link-view-down" value="expanded-dir-html"/> + <param name="overview-shortcut-text-down" + value="Downstream Usage"/> + <param name="overview-shortcut-title-down" + value="Show downstream bandwidth usage for all services"/> + <param name="overview-page-title-down" + value="Downstream Usage"/> + <!-- Sessions --> + <param name="overview-subleave-name-sessions" value="Concurrent_Sessions"/> + <param name="overview-direct-link-sessions" value="yes"/> + <param name="overview-direct-link-view-sessions" + value="expanded-dir-html"/> + <param name="overview-shortcut-text-sessions" + value="Sessions"/> + <param name="overview-shortcut-title-sessions" + value="Show numbers of concurrent sessions for all services"/> + <param name="overview-page-title-sessions" + value="Concurrent Sessions"/> + + </template> + + <template name="cisco-sce-gcounter"> + <leaf name="Volume"> + <param name="comment" + value="InOut volume in kilobytes/s"/> + <param name="precedence" value="1000"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="down,up"/> + <!-- Volume Download --> + <param name="ds-expr-down" value="{DownVolume},8192,*"/> + <param name="graph-legend-down" value="Bits per second in"/> + <param name="line-style-down" value="##BpsIn"/> + <param name="line-color-down" value="##BpsIn"/> + <param name="line-order-down" value="1"/> + <!-- Volume Upload --> + <param name="ds-expr-up" value="{UpVolume},8192,*"/> + <param name="graph-legend-up" value="Bits per second out"/> + <param name="line-style-up" value="##BpsOut"/> + <param name="line-color-up" value="##BpsOut"/> + <param name="line-order-up" value="2"/> + </leaf> + + <leaf name="UpVolume"> + <param name="comment" + value="Upstream volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="UpVolume"/> + <param name="rrd-create-max" value="200000"/> + <param name="snmp-object" + value="$linkServiceUsageUpVolume.%sce-link-index%.%sce-gc-index%"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="90"/> + </leaf> + + <leaf name="DownVolume"> + <param name="comment" + value="Downstream volume in kilobytes/s"/> + <param name="hidden" value="yes"/> + <param name="rrd-ds" value="DownVolume"/> + <param name="rrd-create-max" value="200000"/> + <param name="snmp-object" + value="$linkServiceUsageDownVolume.%sce-link-index%.%sce-gc-index%"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="precedence" value="85"/> + </leaf> + + <leaf name="Up_bps"> + <param name="comment" + value="Upstream bandwidth usage per service"/> + <param name="graph-legend" value="Upstream BW"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{UpVolume},8192,*" /> + <param name="precedence" value="70"/> + </leaf> + + <leaf name="Down_bps"> + <param name="comment" + value="Downstream bandwidth usage per service"/> + <param name="graph-legend" value="Downstream BW"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{DownVolume},8192,*" /> + <param name="precedence" value="65"/> + </leaf> + + <leaf name="Concurrent_Sessions"> + <param name="comment" + value="Number of concurrent sessions per service"/> + <param name="graph-legend" value="Sessions"/> + <param name="vertical-label" value=""/> + <param name="rrd-ds" value="Sessions"/> + <param name="snmp-object" + value="$linkServiceUsageConcurrentSessions.%sce-link-index%.%sce-gc-index%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="precedence" value="50"/> + </leaf> + + </template> + +</datasources> + +</configuration> + diff --git a/torrus/xmlconfig/vendor/cisco.vdsl-line.xml b/torrus/xmlconfig/vendor/cisco.vdsl-line.xml new file mode 100644 index 000000000..49921c33d --- /dev/null +++ b/torrus/xmlconfig/vendor/cisco.vdsl-line.xml @@ -0,0 +1,168 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2005 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: cisco.vdsl-line.xml,v 1.1 2010-12-27 00:04:07 ivan Exp $ +--> + + +<!-- + Cisco VDSL line statistics + Tested with: Catalyst 2950 LRE +--> + + +<configuration> + +<definitions> + <!-- CISCO-IETF-VDSL-LINE-MIB --> + <def name="cvdslCurrSnrMgn" value="1.3.6.1.4.1.9.10.87.1.1.2.1.5" /> + <def name="cvdslCurrAtn" value="1.3.6.1.4.1.9.10.87.1.1.2.1.6" /> +</definitions> + +<datasources> + + <template name="cvdsl-subtree"> + <param name="precedence" value="-600" /> + <param name="comment" value="VDSL line statistics" /> + + <param name="data-file" + value="%system-id%_%interface-nick%_cvdsl.rrd" /> + + <param name="collector-timeoffset-hashstring" + value="%system-id%:%interface-nick%" /> + <param name="descriptive-nickname" value="%system-id%:%interface-name%"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="snr,atn"/> + + <param name="overview-subleave-name-snr" value="SNR_Margin"/> + <param name="overview-direct-link-snr" value="yes"/> + <param name="overview-direct-link-view-snr" value="expanded-dir-html"/> + <param name="overview-shortcut-text-snr" + value="All SNR"/> + <param name="overview-shortcut-title-snr" + value="Show SNR Margin graphs for all VDSL lines in one page"/> + <param name="overview-page-title-snr" + value="SNR Margin Graphs"/> + + <param name="overview-subleave-name-atn" value="Attenuation"/> + <param name="overview-direct-link-atn" value="yes"/> + <param name="overview-direct-link-view-atn" value="expanded-dir-html"/> + <param name="overview-shortcut-text-atn" + value="All Attenuation"/> + <param name="overview-shortcut-title-atn" + value="Show attenuation graphs for all VDSL lines in one page"/> + <param name="overview-page-title-atn" + value="Attenuation Graphs"/> + + <param name="rrd-hwpredict" value="disabled" /> + </template> + + + <template name="cvdsl-interface"> + + <!-- ******** SNR Margin ************ --> + <leaf name="Vtuc_SnrMgn"> + <param name="comment" value="VTUC SNR Margin" /> + <param name="snmp-object" value="$cvdslCurrSnrMgn.%ifindex-map%.1" /> + <param name="collector-scale" value="DUP,100,GT,10,1,IF,/" /> + <param name="rrd-ds" value="VtucSnrMgn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Vtur_SnrMgn"> + <param name="comment" value="VTUR SNR Margin" /> + <param name="snmp-object" value="$cvdslCurrSnrMgn.%ifindex-map%.2" /> + <param name="collector-scale" value="DUP,100,GT,10,1,IF,/" /> + <param name="rrd-ds" value="VturSnrMgn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="SNR_Margin"> + <param name="comment" value="VTUC and VTUR SNR Margin" /> + <param name="precedence" value="100" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="vtuc,vtur" /> + + <param name="ds-expr-vtuc" value="{Vtuc_SnrMgn}" /> + <param name="graph-legend-vtuc" value="VTUC SNR Margin" /> + <param name="line-style-vtuc" value="##nearend" /> + <param name="line-color-vtuc" value="##nearend" /> + <param name="line-order-vtuc" value="1" /> + + <param name="ds-expr-vtur" value="{Vtur_SnrMgn}" /> + <param name="graph-legend-vtur" value="VTUR SNR Margin" /> + <param name="line-style-vtur" value="##farend" /> + <param name="line-color-vtur" value="##farend" /> + <param name="line-order-vtur" value="2" /> + + <param name="vertical-label" value="dB" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <!-- ******** Attenuation ************ --> + <leaf name="Vtuc_Atn"> + <param name="comment" value="VTUC Attenuation" /> + <param name="snmp-object" value="$cvdslCurrAtn.%ifindex-map%.1" /> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="VtucAtn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Vtur_Atn"> + <param name="comment" value="VTUR Attenuation" /> + <param name="snmp-object" value="$cvdslCurrAtn.%ifindex-map%.2" /> + <param name="collector-scale" value="10,/" /> + <param name="rrd-ds" value="VturAtn" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="hidden" value="yes" /> + </leaf> + + <leaf name="Attenuation"> + <param name="comment" value="VTUC and VTUR Attenuation" /> + <param name="precedence" value="200" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="vtuc,vtur" /> + + <param name="ds-expr-vtuc" value="{Vtuc_Atn}" /> + <param name="graph-legend-vtuc" value="VTUC Attn" /> + <param name="line-style-vtuc" value="##nearend" /> + <param name="line-color-vtuc" value="##nearend" /> + <param name="line-order-vtuc" value="1" /> + + <param name="ds-expr-vtur" value="{Vtur_Atn}" /> + <param name="graph-legend-vtur" value="VTUR Attn" /> + <param name="line-style-vtur" value="##farend" /> + <param name="line-color-vtur" value="##farend" /> + <param name="line-order-vtur" value="2" /> + + <param name="vertical-label" value="dB" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + + + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/compaq.cim.xml b/torrus/xmlconfig/vendor/compaq.cim.xml new file mode 100644 index 000000000..c22539947 --- /dev/null +++ b/torrus/xmlconfig/vendor/compaq.cim.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: compaq.cim.xml,v 1.1 2010-12-27 00:04:25 ivan Exp $ + + Compaq Insight Manager + MIB files available at + http://h18023.www1.hp.com/support/files/server/us/download/19885.html +--> + +<configuration> +<definitions> + <def name="cpqHeTemperatureTable" value="1.3.6.1.4.1.232.6.2.6.8"/> + <def name="cpqHeTemperatureChassis" value="1.3.6.1.4.1.232.6.2.6.8.1.1"/> + <def name="cpqHeTemperatureIndex" value="1.3.6.1.4.1.232.6.2.6.8.1.2"/> + <def name="cpqHeTemperatureLocale" value="1.3.6.1.4.1.232.6.2.6.8.1.3"/> + <def name="cpqHeTemperatureCelsius" value="1.3.6.1.4.1.232.6.2.6.8.1.4"/> + <def name="cpqHeTemperatureHwLocation" value="1.3.6.1.4.1.232.6.2.6.8.1.8"/> + <def name="cpqHeCorrMemTotalErrs" value="1.3.6.1.4.1.232.6.2.3.3.0"/> +</definitions> + +<datasources> + <template name="cpq-cim-temperature-sensor"> + <param name="data-file" + value="%system-id%_cimsensor_%cpq-cim-sensor-nick%.rrd"/> + <param name="rrd-ds" value="sensor"/> + <param name="snmp-object" + value="$cpqHeTemperatureCelsius.%cpq-cim-sensor-index%"/> + <param name="graph-legend" value="DegC"/> + <param name="graph-lower-limit" value="15"/> + <param name="graph-upper-limit" value="70"/> + <param name="vertical-label" value="degrees Celsius"/> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <template name="cpq-cim-corr-mem-errs"> + <leaf name="Memory_Correctable_Errors"> + <param name="data-file" value="%system-id%_cim_memerr.rrd"/> + <param name="comment" value="Correctable Memory Errors"/> + <param name="rrd-ds" value="correctable_errors"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-hwpredict" value="disabled" /> + <param name="snmp-object" value="$cpqHeCorrMemTotalErrs"/> + <param name="graph-legend" value="Correctable Errors"/> + <param name="vertical-label" value="Correctable Errors"/> + <param name="precedence" value="-200"/> + </leaf> + </template> +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/empire.systemedge.ntregperf.xml b/torrus/xmlconfig/vendor/empire.systemedge.ntregperf.xml new file mode 100644 index 000000000..e549835d3 --- /dev/null +++ b/torrus/xmlconfig/vendor/empire.systemedge.ntregperf.xml @@ -0,0 +1,1204 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: empire.systemedge.ntregperf.xml,v 1.1 2010-12-27 00:04:07 ivan Exp $ + + Compaq Insight Manager + +--> + +<configuration> +<definitions> + <!-- Index is INDEX.0 for 1-128 --> + <def name="empireNtregperf" value="1.3.6.1.4.1.546.5.7"/> +</definitions> + +<datasources> + + + <template name="EmpireSystemedge::NTREGPERF_1.0"> + <param name="snmp-object" value="$empireNtregperf.1.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="1"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_2.0"> + <param name="snmp-object" value="$empireNtregperf.2.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="2"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_3.0"> + <param name="snmp-object" value="$empireNtregperf.3.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="3"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_4.0"> + <param name="snmp-object" value="$empireNtregperf.4.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="4"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_5.0"> + <param name="snmp-object" value="$empireNtregperf.5.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="5"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_6.0"> + <param name="snmp-object" value="$empireNtregperf.6.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="6"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_7.0"> + <param name="snmp-object" value="$empireNtregperf.7.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="7"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_8.0"> + <param name="snmp-object" value="$empireNtregperf.8.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="8"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_9.0"> + <param name="snmp-object" value="$empireNtregperf.9.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="9"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_10.0"> + <param name="snmp-object" value="$empireNtregperf.10.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="10"/> + <apply-template name="EmpireSystemedge::NTREGPERF::TCPConnectionsActive"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_11.0"> + <param name="snmp-object" value="$empireNtregperf.11.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="11"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::TCPConnectionsEstablished"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_12.0"> + <param name="snmp-object" value="$empireNtregperf.12.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="12"/> + <apply-template name="EmpireSystemedge::NTREGPERF::TCPConnectionsPassive"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_13.0"> + <param name="snmp-object" value="$empireNtregperf.13.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="13"/> + <apply-template name="EmpireSystemedge::NTREGPERF::TCPConnectionsReset"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_14.0"> + <param name="snmp-object" value="$empireNtregperf.14.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="14"/> + <apply-template name="EmpireSystemedge::NTREGPERF::TCPConnectionFailures"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_15.0"> + <param name="snmp-object" value="$empireNtregperf.15.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="15"/> + <apply-template name="EmpireSystemedge::NTREGPERF::ProcessorInterruptsSec"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_16.0"> + <param name="snmp-object" value="$empireNtregperf.16.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="16"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_17.0"> + <param name="snmp-object" value="$empireNtregperf.17.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="17"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_18.0"> + <param name="snmp-object" value="$empireNtregperf.18.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="18"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_19.0"> + <param name="snmp-object" value="$empireNtregperf.19.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="19"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_20.0"> + <param name="snmp-object" value="$empireNtregperf.20.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="20"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_21.0"> + <param name="snmp-object" value="$empireNtregperf.21.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="21"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_22.0"> + <param name="snmp-object" value="$empireNtregperf.22.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="22"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_23.0"> + <param name="snmp-object" value="$empireNtregperf.23.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="23"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_24.0"> + <param name="snmp-object" value="$empireNtregperf.24.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="24"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_25.0"> + <param name="snmp-object" value="$empireNtregperf.25.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="25"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_26.0"> + <param name="snmp-object" value="$empireNtregperf.26.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="26"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_27.0"> + <param name="snmp-object" value="$empireNtregperf.27.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="27"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_28.0"> + <param name="snmp-object" value="$empireNtregperf.28.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="28"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_29.0"> + <param name="snmp-object" value="$empireNtregperf.29.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="29"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_30.0"> + <param name="snmp-object" value="$empireNtregperf.30.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="30"/> + <apply-template name="EmpireSystemedge::NTREGPERF::DNSTotalQueryReceived"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_31.0"> + <param name="snmp-object" value="$empireNtregperf.31.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="31"/> + <apply-template name="EmpireSystemedge::NTREGPERF::DNSTotalResponseSent"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_32.0"> + <param name="snmp-object" value="$empireNtregperf.32.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="32"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_33.0"> + <param name="snmp-object" value="$empireNtregperf.33.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="33"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_34.0"> + <param name="snmp-object" value="$empireNtregperf.34.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="34"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_35.0"> + <param name="snmp-object" value="$empireNtregperf.35.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="35"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_36.0"> + <param name="snmp-object" value="$empireNtregperf.36.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="36"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_37.0"> + <param name="snmp-object" value="$empireNtregperf.37.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="37"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_38.0"> + <param name="snmp-object" value="$empireNtregperf.38.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="38"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_39.0"> + <param name="snmp-object" value="$empireNtregperf.39.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="39"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_40.0"> + <param name="snmp-object" value="$empireNtregperf.40.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="40"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_41.0"> + <param name="snmp-object" value="$empireNtregperf.41.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="41"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_42.0"> + <param name="snmp-object" value="$empireNtregperf.42.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="42"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_43.0"> + <param name="snmp-object" value="$empireNtregperf.43.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="43"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_44.0"> + <param name="snmp-object" value="$empireNtregperf.44.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="44"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_45.0"> + <param name="snmp-object" value="$empireNtregperf.45.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="45"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_46.0"> + <param name="snmp-object" value="$empireNtregperf.46.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="46"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_47.0"> + <param name="snmp-object" value="$empireNtregperf.47.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="47"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_48.0"> + <param name="snmp-object" value="$empireNtregperf.48.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="48"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_49.0"> + <param name="snmp-object" value="$empireNtregperf.49.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="49"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_50.0"> + <param name="snmp-object" value="$empireNtregperf.50.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="50"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_51.0"> + <param name="snmp-object" value="$empireNtregperf.51.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="51"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_52.0"> + <param name="snmp-object" value="$empireNtregperf.52.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="52"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_53.0"> + <param name="snmp-object" value="$empireNtregperf.53.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="53"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_54.0"> + <param name="snmp-object" value="$empireNtregperf.54.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="54"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_55.0"> + <param name="snmp-object" value="$empireNtregperf.55.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="55"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_56.0"> + <param name="snmp-object" value="$empireNtregperf.56.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="56"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_57.0"> + <param name="snmp-object" value="$empireNtregperf.57.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="57"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_58.0"> + <param name="snmp-object" value="$empireNtregperf.58.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="58"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_59.0"> + <param name="snmp-object" value="$empireNtregperf.59.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="59"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_60.0"> + <param name="snmp-object" value="$empireNtregperf.60.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="60"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_61.0"> + <param name="snmp-object" value="$empireNtregperf.61.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="61"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_62.0"> + <param name="snmp-object" value="$empireNtregperf.62.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="62"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_63.0"> + <param name="snmp-object" value="$empireNtregperf.63.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="63"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_64.0"> + <param name="snmp-object" value="$empireNtregperf.64.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="64"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_65.0"> + <param name="snmp-object" value="$empireNtregperf.65.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="65"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_66.0"> + <param name="snmp-object" value="$empireNtregperf.66.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="66"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_67.0"> + <param name="snmp-object" value="$empireNtregperf.67.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="67"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_68.0"> + <param name="snmp-object" value="$empireNtregperf.68.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="68"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_69.0"> + <param name="snmp-object" value="$empireNtregperf.69.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="69"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_70.0"> + <param name="snmp-object" value="$empireNtregperf.70.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="70"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISActiveUserCount"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_71.0"> + <param name="snmp-object" value="$empireNtregperf.71.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="71"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISVirusFilesScanned"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_72.0"> + <param name="snmp-object" value="$empireNtregperf.72.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="72"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISVirusFilesQuarantined"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_73.0"> + <param name="snmp-object" value="$empireNtregperf.73.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="73"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISVirusFilesCleaned"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_74.0"> + <param name="snmp-object" value="$empireNtregperf.74.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="74"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxMessagesSubmitted"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_75.0"> + <param name="snmp-object" value="$empireNtregperf.75.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="75"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxMessagesDelivered"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_76.0"> + <param name="snmp-object" value="$empireNtregperf.76.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="76"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxReceiveQueue"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_77.0"> + <param name="snmp-object" value="$empireNtregperf.77.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="77"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxSendQueueSize"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_78.0"> + <param name="snmp-object" value="$empireNtregperf.78.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="78"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_79.0"> + <param name="snmp-object" value="$empireNtregperf.79.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="79"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_80.0"> + <param name="snmp-object" value="$empireNtregperf.80.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="80"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_81.0"> + <param name="snmp-object" value="$empireNtregperf.81.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="81"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_82.0"> + <param name="snmp-object" value="$empireNtregperf.82.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="82"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_83.0"> + <param name="snmp-object" value="$empireNtregperf.83.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="83"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_84.0"> + <param name="snmp-object" value="$empireNtregperf.84.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="84"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_85.0"> + <param name="snmp-object" value="$empireNtregperf.85.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="85"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::MSExchangeISVMTotal16MBFree"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_86.0"> + <param name="snmp-object" value="$empireNtregperf.86.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="86"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_87.0"> + <param name="snmp-object" value="$empireNtregperf.87.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="87"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_88.0"> + <param name="snmp-object" value="$empireNtregperf.88.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="88"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_89.0"> + <param name="snmp-object" value="$empireNtregperf.89.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="89"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_90.0"> + <param name="snmp-object" value="$empireNtregperf.90.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="90"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::SMTPDSTotalMessagesSent"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_91.0"> + <param name="snmp-object" value="$empireNtregperf.91.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="91"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::SMTPDSCurrentActiveConnections"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_92.0"> + <param name="snmp-object" value="$empireNtregperf.92.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="92"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::SMTPRSTotalMessagesReceived"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_93.0"> + <param name="snmp-object" value="$empireNtregperf.93.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="93"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::SMTPRSActiveConnections"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_94.0"> + <param name="snmp-object" value="$empireNtregperf.94.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="94"/> + <apply-template + name="EmpireSystemedge::NTREGPERF::SMTPSSUncheckedmessagescount"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_95.0"> + <param name="snmp-object" value="$empireNtregperf.95.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="95"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_96.0"> + <param name="snmp-object" value="$empireNtregperf.96.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="96"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_97.0"> + <param name="snmp-object" value="$empireNtregperf.97.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="97"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_98.0"> + <param name="snmp-object" value="$empireNtregperf.98.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="98"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_99.0"> + <param name="snmp-object" value="$empireNtregperf.99.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="99"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_100.0"> + <param name="snmp-object" value="$empireNtregperf.100.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="100"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_101.0"> + <param name="snmp-object" value="$empireNtregperf.101.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="101"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_102.0"> + <param name="snmp-object" value="$empireNtregperf.102.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="102"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_103.0"> + <param name="snmp-object" value="$empireNtregperf.103.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="103"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_104.0"> + <param name="snmp-object" value="$empireNtregperf.104.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="104"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_105.0"> + <param name="snmp-object" value="$empireNtregperf.105.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="105"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_106.0"> + <param name="snmp-object" value="$empireNtregperf.106.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="106"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_107.0"> + <param name="snmp-object" value="$empireNtregperf.107.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="107"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_108.0"> + <param name="snmp-object" value="$empireNtregperf.108.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="108"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_109.0"> + <param name="snmp-object" value="$empireNtregperf.109.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="109"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_110.0"> + <param name="snmp-object" value="$empireNtregperf.110.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="110"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_111.0"> + <param name="snmp-object" value="$empireNtregperf.111.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="111"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_112.0"> + <param name="snmp-object" value="$empireNtregperf.112.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="112"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_113.0"> + <param name="snmp-object" value="$empireNtregperf.113.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="113"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_114.0"> + <param name="snmp-object" value="$empireNtregperf.114.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="114"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_115.0"> + <param name="snmp-object" value="$empireNtregperf.115.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="115"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_116.0"> + <param name="snmp-object" value="$empireNtregperf.116.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="116"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_117.0"> + <param name="snmp-object" value="$empireNtregperf.117.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="117"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_118.0"> + <param name="snmp-object" value="$empireNtregperf.118.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="118"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_119.0"> + <param name="snmp-object" value="$empireNtregperf.119.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="119"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_120.0"> + <param name="snmp-object" value="$empireNtregperf.120.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="120"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_121.0"> + <param name="snmp-object" value="$empireNtregperf.121.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="121"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_122.0"> + <param name="snmp-object" value="$empireNtregperf.122.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="122"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_123.0"> + <param name="snmp-object" value="$empireNtregperf.123.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="123"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_124.0"> + <param name="snmp-object" value="$empireNtregperf.124.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="124"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_125.0"> + <param name="snmp-object" value="$empireNtregperf.125.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="125"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_126.0"> + <param name="snmp-object" value="$empireNtregperf.126.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="126"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_127.0"> + <param name="snmp-object" value="$empireNtregperf.127.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="127"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF_128.0"> + <param name="snmp-object" value="$empireNtregperf.128.0"/> + <param name="rrd-ds" value="ntregperf"/> + <param name="INDEX" value="128"/> + <apply-template name="EmpireSystemedge::NTREGPERF::"/> + </template> + + <template name="EmpireSystemedge::NTREGPERF::"> + </template> + +<!-- Value Measurements --> + + <template name="EmpireSystemedge::NTREGPERF::TCPConnectionsActive"> + <leaf name="TCPConnectionsActive"> + <param name="data-file" + value="%snmp-host%_ntregperf_TCPConnectionsActive.rrd"/> + <param name="comment" value="TCP Connections Active"/> + <param name="graph-legend" value="TCP Connections Active"/> + <param name="vertical-label" value="Active"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::TCPConnectionsEstablished"> + <leaf name="TCPConnectionsEstablished"> + <param name="data-file" + value="%snmp-host%_ntregperf_TCPConnectionsEstablished.rrd"/> + <param name="comment" value="TCP Connections Established"/> + <param name="graph-legend" value="TCP Connections Established"/> + <param name="vertical-label" value="Established"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::TCPConnectionsPassive"> + <leaf name="TCPConnectionsPassive"> + <param name="data-file" + value="%snmp-host%_ntregperf_TCPConnectionsPassive.rrd"/> + <param name="comment" value="TCP Connections Passive"/> + <param name="graph-legend" value="TCP Connections Passive"/> + <param name="vertical-label" value="Passive"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::TCPConnectionsReset"> + <leaf name="TCPConnectionsReset"> + <param name="data-file" + value="%snmp-host%_ntregperf_TCPConnectionsReset.rrd"/> + <param name="comment" value="TCP Connections Reset"/> + <param name="graph-legend" value="TCP Connections Reset"/> + <param name="vertical-label" value="Reset"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::TCPConnectionFailures"> + <leaf name="TCPConnectionFailures"> + <param name="data-file" + value="%snmp-host%_ntregperf_TCPConnectionFailures.rrd"/> + <param name="comment" value="TCP Connection Failures"/> + <param name="graph-legend" value="TCP Connection Failures"/> + <param name="vertical-label" value="Failures"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::ProcessorInterruptsSec"> + <leaf name="ProcessorInterruptsSec"> + <param name="data-file" + value="%snmp-host%_ntregperf_ProcessorInterruptssec.rrd"/> + <param name="comment" value="Processor Interrupts/sec"/> + <param name="graph-legend" value="Processor Interrupts/sec"/> + <param name="vertical-label" value="Interrupts/sec"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::DNSTotalQueryReceived"> + <leaf name="DNSTotalQueryReceived"> + <param name="data-file" + value="%snmp-host%_ntregperf_DNSTotalQueryReceived.rrd"/> + <param name="comment" value="DNS Total Query Received"/> + <param name="graph-legend" value="DNS Total Query Received"/> + <param name="vertical-label" value="Received"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::DNSTotalResponseSent"> + <leaf name="DNSTotalResponseSent"> + <param name="data-file" + value="%snmp-host%_ntregperf_DNSTotalResponseSent.rrd"/> + <param name="comment" value="DNS Total Response Sent"/> + <param name="graph-legend" value="DNS Total Response Sent"/> + <param name="vertical-label" value="Sent"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISActiveUserCount"> + <leaf name="MSExchangeISActiveUserCount"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISActiveUserCount.rrd"/> + <param name="comment" value="MSExchangeIS Active User Count"/> + <param name="graph-legend" value="MSExchangeIS Active User Count"/> + <param name="vertical-label" value="Count"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISVirusFilesScanned"> + <leaf name="MSExchangeISVirusFilesScanned"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISVirusFilesScanned.rrd"/> + <param name="comment" value="MSExchangeIS Virus Files Scanned"/> + <param name="graph-legend" value="MSExchangeIS Virus Files Scanned"/> + <param name="vertical-label" value="Scanned"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISVirusFilesQuarantined"> + <leaf name="MSExchangeISVirusFilesQuarantined"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISVirusFilesQuarantined.rrd"/> + <param name="comment" value="MSExchangeIS Virus Files Quarantined"/> + <param name="graph-legend" value="MSExchangeIS Virus Files Quarantined"/> + <param name="vertical-label" value="Quarantined"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISVirusFilesCleaned"> + <leaf name="MSExchangeISVirusFilesCleaned"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISVirusFilesCleaned.rrd"/> + <param name="comment" value="MSExchangeIS Virus Files Cleaned"/> + <param name="graph-legend" value="MSExchangeIS Virus Files Cleaned"/> + <param name="vertical-label" value="Cleaned"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template + name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxMessagesSubmitted"> + <leaf name="MSExchangeISMailboxMessagesSubmitted"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISMailboxMessagesSubmitted.rrd"/> + <param name="comment" + value="MSExchangeIS Mailbox MessagesSubmitted"/> + <param name="graph-legend" + value="MSExchangeIS Mailbox Messages Submitted"/> + <param name="vertical-label" value="Messages"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template + name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxMessagesDelivered"> + <leaf name="MSExchangeISMailboxMessagesDelivered"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISMailboxMessagesDelivered.rrd"/> + <param name="comment" + value="MSExchangeIS Mailbox Messages Delivered"/> + <param name="graph-legend" + value="MSExchangeIS Mailbox Messages Delivered"/> + <param name="vertical-label" value="Messages"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxReceiveQueue"> + <leaf name="MSExchangeISMailboxReceiveQueue"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISMailboxReceiveQueue.rrd"/> + <param name="comment" + value="MSExchangeIS Mailbox Receive Queue Size"/> + <param name="graph-legend" + value="MSExchangeIS Mailbox Receive Queue Size"/> + <param name="vertical-label" value="Queue"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISMailboxSendQueueSize"> + <leaf name="MSExchangeISMailboxSendQueueSize"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISMailboxSendQueueSize.rrd"/> + <param name="comment" value="MSExchangeIS Mailbox Send Queue Size"/> + <param name="graph-legend" value="MSExchangeIS Mailbox Send Queue Size"/> + <param name="vertical-label" value="Size"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::MSExchangeISVMTotal16MBFree"> + <leaf name="MSExchangeISVMTotal16MBFree"> + <param name="data-file" + value="%snmp-host%_ntregperf_MSExchangeISVMTotal16MBFree.rrd"/> + <param name="comment" value="MSExchangeIS VM Total 16MB Free"/> + <param name="graph-legend" value="MSExchangeIS VM Total 16MB Free"/> + <param name="vertical-label" value="Free"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="monitor" value="fail_le"/> + <param name="monitor-vars" value="fail=3"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::SMTPDSTotalMessagesSent"> + <leaf name="SMTPDSTotalMessagesSent"> + <param name="data-file" + value="%snmp-host%_ntregperf_SMTPDSTotalMessagesSent.rrd"/> + <param name="comment" value="SMTPDS Total Messages Sent"/> + <param name="graph-legend" value="SMTPDS Total Messages Sent"/> + <param name="vertical-label" value="Sent"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::SMTPDSCurrentActiveConnections"> + <leaf name="SMTPDSCurrentActiveConnections"> + <param name="data-file" + value="%snmp-host%_ntregperf_SMTPDSCurrentActiveConnections.rrd"/> + <param name="comment" value="SMTPDS Current Active Connections"/> + <param name="graph-legend" value="SMTPDS Current Active Connections"/> + <param name="vertical-label" value="Connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::SMTPRSTotalMessagesReceived"> + <leaf name="SMTPRSTotalMessagesReceived"> + <param name="data-file" + value="%snmp-host%_ntregperf_SMTPRSTotalMessagesReceived.rrd"/> + <param name="comment" value="SMTPRS Total Messages Received"/> + <param name="graph-legend" value="SMTPRS Total Messages Received"/> + <param name="vertical-label" value="Received"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::SMTPRSActiveConnections"> + <leaf name="SMTPRSActiveConnections"> + <param name="data-file" + value="%snmp-host%_ntregperf_SMTPRSActiveConnections.rrd"/> + <param name="comment" value="SMTPRS Active Connections"/> + <param name="graph-legend" value="SMTPRS Active Connections"/> + <param name="vertical-label" value="Connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + + <template name="EmpireSystemedge::NTREGPERF::SMTPSSUncheckedmessagescount"> + <leaf name="SMTPSSUncheckedmessagescount"> + <param name="data-file" + value="%snmp-host%_ntregperf_SMTPSSUncheckedmessagescount.rrd"/> + <param name="comment" value="SMTPSS Unchecked messages count"/> + <param name="graph-legend" value="SMTPSS Unchecked messages count"/> + <param name="vertical-label" value="count"/> + <param name="rrd-create-dstype" value="COUNTER"/> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/empire.systemedge.xml b/torrus/xmlconfig/vendor/empire.systemedge.xml new file mode 100644 index 000000000..f3c80fa6e --- /dev/null +++ b/torrus/xmlconfig/vendor/empire.systemedge.xml @@ -0,0 +1,1959 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (C) 2003 Shawn Ferry + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + +Author: Shawn Ferry +Vendor: EMPIRE +Tested Versions: Sysedge 4.1p3 + +$Id: empire.systemedge.xml,v 1.1 2010-12-27 00:04:09 ivan Exp $ +--> +<!-- +Generic definitions and templates for: +Empire (Concord) SystemEDGE MIB +http://www.empire.com/products/systemedge/index.htm +http://www.concord.com/solutions/products/sysedge.shtml +--> +<configuration> + <include filename="generic/monitors.xml"/> + <definitions> + <!-- + + STILL NEED SETUP + + --> + <!-- flag --> + <def name="empire_sysedgeMode" value="1.3.6.1.4.1.546.1.1.1.17.0"/> + <!-- + + + STILL NEED SETUP + + + --> + <!-- Memory --> + <def name="empire_memory" value="1.3.6.1.4.1.546.1.1.1.3.0"/> + <def name="empire_totalSwap" value="1.3.6.1.4.1.546.1.1.1.9.12.0"/> + <def name="empire_swapInUse" value="1.3.6.1.4.1.546.1.1.7.8.13.0"/> + <def name="empire_virtualMem" value="1.3.6.1.4.1.546.1.1.1.9.7.0"/> + <def name="empire_memInUse" value="1.3.6.1.4.1.546.1.1.7.8.9.0"/> + <def name="empire_activeMem" value="1.3.6.1.4.1.546.1.1.7.8.10.0"/> + <def name="empire_swapCapacity" value="1.3.6.1.4.1.546.1.1.7.8.30.0"/> + <def name="empire_memCapacity" value="1.3.6.1.4.1.546.1.1.7.8.31.0"/> + <def name="empire_memInUseCapacity" value="1.3.6.1.4.1.546.1.1.7.8.32.0"/> + <!-- Low level counters --> + <!-- process counters --> + <def name="empire_numSwitches" value="1.3.6.1.4.1.546.1.1.7.8.14.0"/> + <def name="empire_numTraps" value="1.3.6.1.4.1.546.1.1.7.8.15.0"/> + <def name="empire_numSyscalls" value="1.3.6.1.4.1.546.1.1.7.8.16.0"/> + <def name="empire_numInterrupts" value="1.3.6.1.4.1.546.1.1.7.8.17.0"/> + <!-- swap counters --> + <def name="empire_numPageSwapIns" value="1.3.6.1.4.1.546.1.1.7.8.18.0"/> + <def name="empire_numPageSwapOuts" value="1.3.6.1.4.1.546.1.1.7.8.19.0"/> + <def name="empire_numSwapIns" value="1.3.6.1.4.1.546.1.1.7.8.20.0"/> + <def name="empire_numSwapOuts" value="1.3.6.1.4.1.546.1.1.7.8.21.0"/> + <def name="empire_numPageIns" value="1.3.6.1.4.1.546.1.1.7.8.22.0"/> + <def name="empire_numPageOuts" value="1.3.6.1.4.1.546.1.1.7.8.23.0"/> + <def name="empire_numPageReclaims" value="1.3.6.1.4.1.546.1.1.7.8.24.0"/> + <def name="empire_numPageFaults" value="1.3.6.1.4.1.546.1.1.7.8.25.0"/> + <!-- Counters --> + <def name="empire_numProcs" value="1.3.6.1.4.1.546.1.1.7.8.11.0"/> + <def name="empire_numOpenFiles" value="1.3.6.1.4.1.546.1.1.7.8.12.0"/> + <!-- Process Status --> + <def name="empire_runQLen" value="1.3.6.1.4.1.546.1.1.7.8.4.0"/> + <def name="empire_pageWaitNum" value="1.3.6.1.4.1.546.1.1.7.8.5.0"/> + <def name="empire_diskWaitNum" value="1.3.6.1.4.1.546.1.1.7.8.6.0"/> + <def name="empire_swapActive" value="1.3.6.1.4.1.546.1.1.7.8.7.0"/> + <def name="empire_sleepActive" value="1.3.6.1.4.1.546.1.1.7.8.8.0"/> + <!-- Individual CPU Stats --> + <def name="empire_cpuTable" value="1.3.6.1.4.1.546.13.1.1"/> + <def name="empire_cpuIndex" value="1.3.6.1.4.1.546.13.1.1.1"/> + <def name="empire_cpuDescr" value="1.3.6.1.4.1.546.13.1.1.2"/> + <def name="empire_cpuIdle" value="1.3.6.1.4.1.546.13.1.1.3"/> + <def name="empire_cpuUser" value="1.3.6.1.4.1.546.13.1.1.4"/> + <def name="empire_cpuSys" value="1.3.6.1.4.1.546.13.1.1.5"/> + <def name="empire_cpuWait" value="1.3.6.1.4.1.546.13.1.1.6"/> + <def name="empire_cpuLastUpdate" value="1.3.6.1.4.1.546.13.1.1.7"/> + <def name="empire_cpuIdlePercent" value="1.3.6.1.4.1.546.13.1.1.8"/> + <def name="empire_cpuUserPercent" value="1.3.6.1.4.1.546.13.1.1.9"/> + <def name="empire_cpuSysPercent" value="1.3.6.1.4.1.546.13.1.1.10"/> + <def name="empire_cpuWaitPercent" value="1.3.6.1.4.1.546.13.1.1.11"/> + <def name="empire_cpu_IDX" value="M($empire_cpuIndex,%INDEX%)"/> + <!-- Load Average --> + <def name="empire_loadAverage1Min" value="1.3.6.1.4.1.546.1.1.7.8.26.0"/> + <def name="empire_loadAverage5Min" value="1.3.6.1.4.1.546.1.1.7.8.27.0"/> + <def name="empire_loadAverage15Min" value="1.3.6.1.4.1.546.1.1.7.8.28.0"/> + <!-- Overall CPU stats --> + <def name="empire_cpuTotalIdle" value="1.3.6.1.4.1.546.13.2.0"/> + <def name="empire_cpuTotalUser" value="1.3.6.1.4.1.546.13.3.0"/> + <def name="empire_cpuTotalSys" value="1.3.6.1.4.1.546.13.4.0"/> + <def name="empire_cpuTotalWait" value="1.3.6.1.4.1.546.13.5.0"/> + <def name="empire_cpuTotalIdlePercent" value="1.3.6.1.4.1.546.13.7.0"/> + <def name="empire_cpuTotalUserPercent" value="1.3.6.1.4.1.546.13.8.0"/> + <def name="empire_cpuTotalSysPercent" value="1.3.6.1.4.1.546.13.9.0"/> + <def name="empire_cpuTotalWaitPercent" value="1.3.6.1.4.1.546.13.10.0"/> + <!-- Storage Table--> + <def name="empire_devIndex" value="1.3.6.1.4.1.546.1.1.1.7.1.1"/> + <def name="empire_devDevice" value="1.3.6.1.4.1.546.1.1.1.7.1.2"/> + <def name="empire_devMntPt" value="1.3.6.1.4.1.546.1.1.1.7.1.3"/> + <def name="empire_devBsize" value="1.3.6.1.4.1.546.1.1.1.7.1.4"/> + <def name="empire_devTblks" value="1.3.6.1.4.1.546.1.1.1.7.1.5"/> + <def name="empire_devFblks" value="1.3.6.1.4.1.546.1.1.1.7.1.6"/> + <def name="empire_devTfiles" value="1.3.6.1.4.1.546.1.1.1.7.1.7"/> + <def name="empire_devFfiles" value="1.3.6.1.4.1.546.1.1.1.7.1.8"/> + <def name="empire_devCapacity" value="1.3.6.1.4.1.546.1.1.1.7.1.14"/> + <def name="empire_devInodeCapacity" value="1.3.6.1.4.1.546.1.1.1.7.1.15"/> + <def name="empire_dev_IDX" value="M($empire_devMntPt,%storage-description%)"/> + <!-- "Disk" Stats Table --> + <def name="empire_diskStatsIndex" value="1.3.6.1.4.1.546.12.1.1.1"/> + <def name="empire_diskStatsQueueLength" value="1.3.6.1.4.1.546.12.1.1.2"/> + <def name="empire_diskStatsServiceTime" value="1.3.6.1.4.1.546.12.1.1.3"/> + <def name="empire_diskStatsUtilization" value="1.3.6.1.4.1.546.12.1.1.4"/> + <def name="empire_diskStatsKBTransfered" value="1.3.6.1.4.1.546.12.1.1.5"/> + <def name="empire_diskStatsTransfers" value="1.3.6.1.4.1.546.12.1.1.6"/> + <def name="empire_diskStatsReads" value="1.3.6.1.4.1.546.12.1.1.7"/> + <def name="empire_diskStatsWrites" value="1.3.6.1.4.1.546.12.1.1.8"/> + <def name="empire_diskStatsHostIndex" value="1.3.6.1.4.1.546.12.1.1.9"/> + <def name="empire_disk_stats_IDX" value="M($empire_diskStatsHostIndex,%HRINDEX%)"/> + </definitions> + <datasources> + + <template name="sysedge_opmode"> + <leaf name="SysedgeOpMode"> + <param name="vertical-label" value="Mode"/> + <param name="comment"> + Sysedge Operation Mode 1=Full 2=Not Licensed + </param> + <param name="data-file" value="%system-id%_sysedge_opmode.rrd"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_sysedgeMode"/> + <param name="rrd-ds" value="sysedge_opmode"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="line-style" value="LINE2"/> + <param name="graph-legend" value="SysedgeOpMode"/> + <param name="rrd-cf" value="LAST"/> + <param name="rrd-create-rra" value="RRA:LAST:0:1:10080"/> + <param name="monitor" value="fail_eq"/> + <param name="monitor-vars" value="fail=2"/> + </leaf> + </template> + <!-- + + Empire Memory + + --> + <template name="empire-memory"> + <subtree name="Memory"> + <param name="comment" value="System Memory Stats and Usage"/> + <leaf name="MemoryUsage"> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="comment" value="Memory: Total, Used and Active"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,inuse,active"/> + <!-- Active --> + <param name="ds-expr-total" value="{Memory}"/> + <param name="graph-legend-total" value="Memory"/> + <param name="line-style-total" value="AREA"/> + <param name="line-color-total" value="##two"/> + <param name="line-order-total" value="1"/> + <!-- InUse --> + <param name="ds-expr-inuse" value="{MemInUse}"/> + <param name="graph-legend-inuse" value="MemInUse"/> + <param name="line-style-inuse" value="AREA"/> + <param name="line-color-inuse" value="##three"/> + <param name="line-order-inuse" value="2"/> + <!-- Active --> + <param name="ds-expr-active" value="{ActiveMem}"/> + <param name="graph-legend-active" value="ActiveMem"/> + <param name="line-style-active" value="AREA"/> + <param name="line-color-active" value="##four"/> + <param name="line-order-active" value="3"/> + </leaf> + <leaf name="MemoryActive"> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="comment" value="Memory, Used vs Active"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="active,inuse"/> + <!-- Active --> + <param name="ds-expr-active" value="{ActiveMem}"/> + <param name="graph-legend-active" value="ActiveMem"/> + <param name="line-style-active" value="AREA"/> + <param name="line-color-active" value="##four"/> + <param name="line-order-active" value="2"/> + <!-- InUse --> + <param name="ds-expr-inuse" value="{MemInUse}"/> + <param name="graph-legend-inuse" value="MemInUse"/> + <param name="line-style-inuse" value="AREA"/> + <param name="line-color-inuse" value="##three"/> + <param name="line-order-inuse" value="1"/> + </leaf> + <leaf name="SwapUsage"> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="comment" value="Swap, Total vs Used"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,used"/> + <!-- Total --> + <param name="ds-expr-total" value="{TotalSwap}"/> + <param name="graph-legend-total" value="TotalSwap"/> + <param name="line-style-total" value="AREA"/> + <param name="line-color-total" value="##two"/> + <param name="line-order-total" value="1"/> + <!-- InUse --> + <param name="ds-expr-used" value="{SwapInUse}"/> + <param name="graph-legend-used" value="SwapInUse"/> + <param name="line-style-used" value="AREA"/> + <param name="line-color-used" value="##three"/> + <param name="line-order-used" value="2"/> + </leaf> + <leaf name="TotalSwap"> + <param name="data-file" value="%system-id%_empire-totalswap.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Total Swap Space"/> + <param name="leaf-type" value="rrd-def"/> + <param name="collector-scale" value="1024,*"/> + <param name="snmp-object" value="$empire_totalSwap"/> + <param name="rrd-ds" value="totalSwap"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="TotalSwap"/> + </leaf> + <leaf name="SwapInUse"> + <param name="data-file" value="%system-id%_empire-swapinuse.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Used Swap Space"/> + <param name="leaf-type" value="rrd-def"/> + <param name="collector-scale" value="1024,*"/> + <param name="snmp-object" value="$empire_swapInUse"/> + <param name="rrd-ds" value="swapInUse"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="SwapInUse"/> + </leaf> + <leaf name="Memory"> + <param name="data-file" value="%system-id%_empire-memory.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Real Memory"/> + <param name="leaf-type" value="rrd-def"/> + <param name="collector-scale" value="1024,*"/> + <param name="snmp-object" value="$empire_memory"/> + <param name="rrd-ds" value="memory"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Memory"/> + </leaf> + <leaf name="MemInUse"> + <param name="data-file" value="%system-id%_empire-meminuse.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Real Memory In Use"/> + <param name="leaf-type" value="rrd-def"/> + <param name="collector-scale" value="1024,*"/> + <param name="snmp-object" value="$empire_memInUse"/> + <param name="rrd-ds" value="memInUse"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="line-style" value="AREA"/> + <param name="graph-legend" value="MemInUse"/> + </leaf> + <leaf name="ActiveMem"> + <param name="data-file" value="%system-id%_empire-activemem.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Active Real Memory"/> + <param name="leaf-type" value="rrd-def"/> + <param name="collector-scale" value="1024,*"/> + <param name="snmp-object" value="$empire_activeMem"/> + <param name="rrd-ds" value="activeMem"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="line-style" value="AREA"/> + <param name="graph-legend" value="ActiveMem"/> + </leaf> + <leaf name="SwapCapacity"> + <param name="data-file" value="%system-id%_empire-swapcap.rrd"/> + <param name="vertical-label" value="Percent Used"/> + <param name="comment" value="Percentage of Swap Used"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_swapCapacity"/> + <param name="rrd-ds" value="swapCapacity"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="line-style" value="AREA"/> + <param name="graph-legend" value="SwapCapacity"/> + </leaf> + <leaf name="MemInUseCapacity"> + <param name="data-file" value="%system-id%_empire-meminusecap.rrd"/> + <param name="vertical-label" value="Percent Used"/> + <param name="comment" value="Percentage of Memory Used"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_memCapacity"/> + <param name="rrd-ds" value="memCapacity"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="line-style" value="AREA"/> + <param name="graph-legend" value="MemCapacity"/> + <param name="monitor" value="fail_gt"/> + <param name="monitor-vars" value="fail=97"/> + </leaf> + </subtree> + </template> + <!-- + Empire Swap Counters + empire-swap-counters-numpagefaults + empire-swap-counters-numpagereclaims + empire-swap-counters-numswapouts + empire-swap-counters-numswapouts-multi + empire-swap-counters-numswapins + empire-swap-counters-numswapins-multi + empire-swap-counters-numpageswapouts + empire-swap-counters-numpageswapouts-multi + empire-swap-counters-numpageswapins + empire-swap-counters-numpageswapins-multi + + + + + --> + <!-- Windows does not support swap counters --> + <template name="empire-swap-counters-nt"> + <apply-template name="empire-swap-counters-common"/> + <subtree name="Memory"> + <leaf name="SwapCounters"> + <param name="ds-names" value="pagein,pageout"/> + <apply-template name="empire-swap-counters-numpageins-multi"/> + <apply-template name="empire-swap-counters-numpageouts-multi"/> + </leaf> + <apply-template name="empire-swap-counters-numpageins"/> + <apply-template name="empire-swap-counters-numpageouts"/> + <apply-template name="empire-swap-counters-numpagefaults"/> + </subtree> + </template> + <template name="empire-swap-counters-nt40Intel"> + <apply-template name="empire-swap-counters-nt"/> + </template> + <template name="empire-swap-counters-nt50Intel"> + <apply-template name="empire-swap-counters-nt"/> + </template> + <template name="empire-swap-counters-unix"> + <apply-template name="empire-swap-counters-common"/> + <subtree name="Memory"> + <leaf name="SwapCounters"> + <param name="ds-names" value="pagein,pageout,swapin,swapout"/> + <apply-template name="empire-swap-counters-numpageswapins-multi"/> + <apply-template name="empire-swap-counters-numpageswapouts-multi"/> + <apply-template name="empire-swap-counters-numswapins-multi"/> + <apply-template name="empire-swap-counters-numswapouts-multi"/> + </leaf> + <apply-template name="empire-swap-counters-numpageswapins"/> + <apply-template name="empire-swap-counters-numpageswapouts"/> + <apply-template name="empire-swap-counters-numswapins"/> + <apply-template name="empire-swap-counters-numswapouts"/> + <apply-template name="empire-swap-counters-numpagefaults"/> + <apply-template name="empire-swap-counters-numpagereclaims"/> + </subtree> + </template> + <template name="empire-swap-counters-solarisSparc"> + <apply-template name="empire-swap-counters-unix"/> + </template> + <template name="empire-swap-counters-aix5RS6000"> + <apply-template name="empire-swap-counters-common"/> + <subtree name="Memory"> + <leaf name="SwapCounters"> + <param name="ds-names" value="pagein,pageout"/> + <apply-template name="empire-swap-counters-numpageswapins-multi"/> + <apply-template name="empire-swap-counters-numpageswapouts-multi"/> + </leaf> + <apply-template name="empire-swap-counters-numpageswapins"/> + <apply-template name="empire-swap-counters-numpageswapouts"/> + <apply-template name="empire-swap-counters-numpagefaults"/> + <apply-template name="empire-swap-counters-numpagereclaims"/> + </subtree> + </template> + <template name="empire-swap-counters-linuxIntel"> + <apply-template name="empire-swap-counters-common"/> + <subtree name="Memory"> + <leaf name="SwapCounters"> + <param name="ds-names" value="pagein,pageout"/> + <apply-template name="empire-swap-counters-numpageswapins-multi"/> + <apply-template name="empire-swap-counters-numpageswapouts-multi"/> + </leaf> + <apply-template name="empire-swap-counters-numpageswapins"/> + <apply-template name="empire-swap-counters-numpageswapouts"/> + </subtree> + </template> + <template name="empire-swap-counters-common"> + <subtree name="Memory"> + <leaf name="SwapCounters"> + <param name="vertical-label" value="Count"/> + <param name="comment" value="System Swap Stats"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ignore-limits" value="yes"/> + </leaf> + </subtree> + </template> + <template name="empire-swap-counters-numswapins-multi"> + <!-- in --> + <param name="ds-expr-swapin" value="{NumSwapIns},-1,*"/> + <param name="graph-legend-swapin" value="SwapIns"/> + <param name="line-style-swapin" value="AREA"/> + <param name="line-color-swapin" value="##green"/> + <param name="line-order-swapin" value="1"/> + </template> + <template name="empire-swap-counters-numpageswapins-multi"> + <!-- pageswapin --> + <param name="ds-expr-pagein" value="{NumPageSwapIns},-1,*"/> + <param name="graph-legend-pagein" value="ProcessSwapIns"/> + <param name="line-style-pagein" value="LINE2"/> + <param name="line-color-pagein" value="##green75"/> + <param name="line-order-pagein" value="3"/> + </template> + <template name="empire-swap-counters-numpageins-multi"> + <!-- pagein --> + <param name="ds-expr-pagein" value="{NumPageIns},-1,*"/> + <param name="graph-legend-pagein" value="PageIns"/> + <param name="line-style-pagein" value="LINE2"/> + <param name="line-color-pagein" value="##green75"/> + <param name="line-order-pagein" value="3"/> + </template> + <template name="empire-swap-counters-numswapouts-multi"> + <!-- out --> + <param name="ds-expr-swapout" value="{NumSwapOuts}"/> + <param name="graph-legend-swapout" value="SwapOuts"/> + <param name="line-style-swapout" value="AREA"/> + <param name="line-color-swapout" value="##blue"/> + <param name="line-order-swapout" value="2"/> + </template> + <template name="empire-swap-counters-numpageswapouts-multi"> + <!-- pageout --> + <param name="ds-expr-pageout" value="{NumPageSwapOuts}"/> + <param name="graph-legend-pageout" value="ProcessSwapOuts"/> + <param name="line-style-pageout" value="LINE2"/> + <param name="line-color-pageout" value="##blue75"/> + <param name="line-order-pageout" value="4"/> + </template> + <template name="empire-swap-counters-numpageouts-multi"> + <!-- pageout --> + <param name="ds-expr-pageout" value="{NumPageOuts}"/> + <param name="graph-legend-pageout" value="PageOuts"/> + <param name="line-style-pageout" value="LINE2"/> + <param name="line-color-pageout" value="##blue75"/> + <param name="line-order-pageout" value="4"/> + </template> + <template name="empire-swap-counters-numpageins"> + <leaf name="NumPageIns"> + <param name="data-file" value="%system-id%_empire-numpageins.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Page Ins"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numPageIns"/> + <param name="rrd-ds" value="numPageIns"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="PageIns"/> + </leaf> + </template> + <template name="empire-swap-counters-numpageouts"> + <leaf name="NumPageOuts"> + <param name="data-file" value="%system-id%_empire-numpageouts.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Page Outs"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numPageOuts"/> + <param name="rrd-ds" value="numPageOuts"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="PageOuts"/> + </leaf> + </template> + <template name="empire-swap-counters-numpageswapins"> + <leaf name="NumPageSwapIns"> + <param name="data-file" value="%system-id%_empire-numpageswapins.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Page Swap Ins"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numPageSwapIns"/> + <param name="rrd-ds" value="numPageSwapIns"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="PageSwapIns"/> + </leaf> + </template> + <template name="empire-swap-counters-numpageswapouts"> + <leaf name="NumPageSwapOuts"> + <param name="data-file" value="%system-id%_empire-numpageswapouts.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Page Swap Outs"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numPageSwapOuts"/> + <param name="rrd-ds" value="numPageSwapOuts"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="PageSwapOuts"/> + </leaf> + </template> + <template name="empire-swap-counters-numswapins"> + <leaf name="NumSwapIns"> + <param name="data-file" value="%system-id%_empire-numswapins.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Process Swap Ins"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numSwapIns"/> + <param name="rrd-ds" value="numSwapIns"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="SwapIns"/> + </leaf> + </template> + <template name="empire-swap-counters-numswapouts"> + <leaf name="NumSwapOuts"> + <param name="data-file" value="%system-id%_empire-numswapouts.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Process Swap Outs"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numSwapOuts"/> + <param name="rrd-ds" value="numSwapOuts"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="SwapOuts"/> + </leaf> + </template> + <template name="empire-swap-counters-numpagereclaims"> + <leaf name="NumPageReclaims"> + <param name="data-file" value="%system-id%_empire-numpagereclaims.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="comment"> + Number of Pages Reclaimed from the free list + </param> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numPageReclaims"/> + <param name="rrd-ds" value="numPageReclaims"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="PageReclaims"/> + </leaf> + </template> + <template name="empire-swap-counters-numpagefaults"> + <leaf name="NumPageFaults"> + <param name="data-file" value="%system-id%_empire-numpagefaults.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="comment"> + Number of attemps to access a page not in memory + </param> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numPageFaults"/> + <param name="rrd-ds" value="numPageFaults"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="PageFaults"/> + </leaf> + </template> + <!-- + + Empire Counters + Templates: + empire-counters-numtraps + empire-counters-numtraps-multi + empire-counters-numswitches + empire-counters-numswitches-multi + empire-counters-numsyscalls + empire-counters-numsyscalls-multi + empire-counters-numinterrupts + empire-counters-numinterrupts-multi + (in common)empire-counters-numprocs + (in common)empire-counters-numopenfiles + + + --> + <!-- windows does not support traps --> + <template name="empire-counters-nt"> + <apply-template name="empire-counters-common"/> + <subtree name="Counters"> + <leaf name="ProcessCounters"> + <param name="comment" value="Switches, Syscalls, Interrupts"/> + <param name="ds-names" value="switches,syscalls,interrupts"/> + <apply-template name="empire-counters-numswitches-multi"/> + <apply-template name="empire-counters-numsyscalls-multi"/> + <apply-template name="empire-counters-numinterrupts-multi"/> + </leaf> + <apply-template name="empire-counters-numswitches"/> + <apply-template name="empire-counters-numsyscalls"/> + <apply-template name="empire-counters-numinterrupts"/> + </subtree> + </template> + <template name="empire-counters-nt40Intel"> + <apply-template name="empire-counters-nt"/> + </template> + <template name="empire-counters-nt50Intel"> + <apply-template name="empire-counters-nt"/> + </template> + <template name="empire-counters-unix"> + <apply-template name="empire-counters-common"/> + <subtree name="Counters"> + <leaf name="ProcessCounters"> + <param name="comment" value="Switches, Syscalls, Interrupts"/> + <param name="ds-names" value="switches,syscalls,interrupts"/> + <apply-template name="empire-counters-numswitches-multi"/> + <apply-template name="empire-counters-numsyscalls-multi"/> + <apply-template name="empire-counters-numinterrupts-multi"/> + </leaf> + <apply-template name="empire-counters-numswitches"/> + <apply-template name="empire-counters-numsyscalls"/> + <apply-template name="empire-counters-numinterrupts"/> + </subtree> + </template> + <template name="empire-counters-solarisSparc"> + <apply-template name="empire-counters-common"/> + <subtree name="Counters"> + <leaf name="ProcessCounters"> + <param name="comment"> + Switches, Syscalls, Interrupts and Traps + </param> + <param name="ds-names" value="switches,syscalls,interrupts,traps"/> + <apply-template name="empire-counters-numswitches-multi"/> + <apply-template name="empire-counters-numsyscalls-multi"/> + <apply-template name="empire-counters-numinterrupts-multi"/> + <apply-template name="empire-counters-numtraps-multi"/> + </leaf> + <apply-template name="empire-counters-numswitches"/> + <apply-template name="empire-counters-numsyscalls"/> + <apply-template name="empire-counters-numinterrupts"/> + <apply-template name="empire-counters-numtraps"/> + </subtree> + </template> + <template name="empire-counters-aix5RS6000"> + <apply-template name="empire-counters-unix"/> + <subtree name="Counters"> + <leaf name="ProcessCounters"> + <param name="comment"> + Switches, Syscalls, Interrupts and Traps + </param> + <param name="ds-names" value="switches,syscalls,interrupts,traps"/> + <apply-template name="empire-counters-numtraps-multi"/> + </leaf> + <apply-template name="empire-counters-numtraps"/> + </subtree> + </template> + + <template name="empire-counters-linuxIntel"> + <apply-template name="empire-counters-common"/> + <subtree name="Counters"> + <leaf name="ProcessCounters"> + <param name="comment" value="Switches,Interrupts"/> + <param name="ds-names" value="switches,interrupts"/> + <apply-template name="empire-counters-numswitches-multi"/> + <apply-template name="empire-counters-numinterrupts-multi"/> + </leaf> + <apply-template name="empire-counters-numswitches"/> + <apply-template name="empire-counters-numinterrupts"/> + </subtree> + </template> + <!-- Counter Sub Templates --> + <template name="empire-counters-common"> + <subtree name="Counters"> + <param name="comment" value="System Counters"/> + <leaf name="ProcessCounters"> + <param name="vertical-label" value="Count"/> + <param name="ds-type" value="rrd-multigraph"/> + </leaf> + <apply-template name="empire-counters-numprocs"/> + <apply-template name="empire-counters-numopenfiles"/> + </subtree> + </template> + <template name="empire-counters-numswitches-multi"> + <!-- Switches --> + <param name="ds-expr-switches" value="{NumSwitches}"/> + <param name="graph-legend-switches" value="Switches"/> + <param name="line-style-switches" value="LINE2"/> + <param name="line-color-switches" value="##one"/> + <param name="line-order-switches" value="1"/> + </template> + <template name="empire-counters-numsyscalls-multi"> + <!-- Syscalls --> + <param name="ds-expr-syscalls" value="{NumSyscalls}"/> + <param name="graph-legend-syscalls" value="Syscalls"/> + <param name="line-style-syscalls" value="LINE2"/> + <param name="line-color-syscalls" value="##three"/> + <param name="line-order-syscalls" value="3"/> + </template> + <template name="empire-counters-numinterrupts-multi"> + <!-- Interrupts --> + <param name="ds-expr-interrupts" value="{NumInterrupts}"/> + <param name="graph-legend-interrupts" value="Interrupts"/> + <param name="line-style-interrupts" value="LINE2"/> + <param name="line-color-interrupts" value="##four"/> + <param name="line-order-interrupts" value="4"/> + </template> + <template name="empire-counters-numtraps-multi"> + <!-- Traps --> + <param name="ds-expr-traps" value="{NumTraps}"/> + <param name="graph-legend-traps" value="Traps"/> + <param name="line-style-traps" value="LINE2"/> + <param name="line-color-traps" value="##two"/> + <param name="line-order-traps" value="2"/> + </template> + <template name="empire-counters-numtraps"> + <leaf name="NumTraps"> + <param name="data-file" value="%system-id%_empire-numtraps.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Traps"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numTraps"/> + <param name="rrd-ds" value="numTraps"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Traps"/> + </leaf> + </template> + <template name="empire-counters-numswitches"> + <leaf name="NumSwitches"> + <param name="data-file" value="%system-id%_empire-numswitches.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Context Switches"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numSwitches"/> + <param name="rrd-ds" value="numSwitches"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Context Switches"/> + </leaf> + </template> + <template name="empire-counters-numsyscalls"> + <leaf name="NumSyscalls"> + <param name="data-file" value="%system-id%_empire-numsyscalls.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of System Calls"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numSyscalls"/> + <param name="rrd-ds" value="numSyscalls"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="SystemCalls"/> + </leaf> + </template> + <template name="empire-counters-numinterrupts"> + <leaf name="NumInterrupts"> + <param name="data-file" value="%system-id%_empire-numinterrupts.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="yes"/> + <param name="comment" value="Number of Interrupts"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numInterrupts"/> + <param name="rrd-ds" value="numSyscalls"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="NumInterrupts"/> + </leaf> + </template> + <template name="empire-counters-numprocs"> + <leaf name="NumProcs"> + <param name="data-file" value="%system-id%_empire-numprocs.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="comment" value="Number of Processes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numProcs"/> + <param name="rrd-ds" value="numProcs"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Processes"/> + </leaf> + </template> + <template name="empire-counters-numopenfiles"> + <leaf name="NumOpenFiles"> + <param name="data-file" value="%system-id%_empire-numopenfiles.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="comment" value="Number of Open Files"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_numOpenFiles"/> + <param name="rrd-ds" value="numOpenFiles"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Open Files"/> + </leaf> + </template> + <!-- + + Empire Process Stats + + --> + <template name="empire-runq"> + <subtree name="ProcessStats"> + <param name="comment" value="System Level Process Stats"/> + <leaf name="RunQLength"> + <param name="vertical-label" value="Count"/> + <param name="data-file" value="%system-id%_empire-runq.rrd"/> + <param name="comment" value="Jobs waiting in Run Queue"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_runQLen"/> + <param name="rrd-ds" value="runQlen"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Jobs in Queue"/> + </leaf> + </subtree> + </template> + <template name="empire-pagewait"> + <subtree name="ProcessStats"> + <leaf name="PageWaitNum"> + <param name="vertical-label" value="Count"/> + <param name="data-file" value="%system-id%_empire-pagewait.rrd"/> + <param name="comment" value="Jobs Waiting on Page I/O"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_pageWaitNum"/> + <param name="rrd-ds" value="pageWaitNum"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Page Wait"/> + </leaf> + </subtree> + </template> + <template name="empire-diskwait"> + <subtree name="ProcessStats"> + <leaf name="DiskWaitNum"> + <param name="vertical-label" value="Count"/> + <param name="data-file" value="%system-id%_empire-diskwait.rrd"/> + <param name="comment" value="Jobs Waiting on Disk I/O"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskWaitNum"/> + <param name="rrd-ds" value="diskWaitNum"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Disk Wait"/> + </leaf> + </subtree> + </template> + <template name="empire-swapactive"> + <subtree name="ProcessStats"> + <leaf name="SwapActive"> + <param name="vertical-label" value="Count"/> + <param name="data-file" value="%system-id%_empire-swapactive.rrd"/> + <param name="comment" value="Active Swapped out Jobs"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_swapActive"/> + <param name="rrd-ds" value="swapActive"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Swapped Jobs"/> + </leaf> + </subtree> + </template> + <template name="empire-sleepactive"> + <subtree name="ProcessStats"> + <leaf name="SleepActive"> + <param name="vertical-label" value="Count"/> + <param name="data-file" value="%system-id%_empire-sleepactive.rrd"/> + <param name="comment" value="Active Sleeping Jobs"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_sleepActive"/> + <param name="rrd-ds" value="sleepActive"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="graph-legend" value="Sleeping Jobs"/> + </leaf> + </subtree> + </template> + <!-- + + Empire Load Average + + --> + <template name="empire-load"> + <subtree name="LoadAverage"> + <param name="comment" value="System Load Averages"/> + <leaf name="LoadAverage"> + <param name="vertical-label" value="Load Average"/> + <param name="comment" value="1, 5, and 15 Minute Load Average"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="one,five,fifteen"/> + <!-- SYS --> + <param name="ds-expr-one" value="{loadAverage1Min},100,/"/> + <param name="graph-legend-one" value="1 Minute"/> + <param name="line-style-one" value="LINE2"/> + <param name="line-color-one" value="##one"/> + <param name="line-order-one" value="1"/> + <!-- USER --> + <param name="ds-expr-five" value="{loadAverage5Min},100,/"/> + <param name="graph-legend-five" value="5 Minutes"/> + <param name="line-style-five" value="LINE2"/> + <param name="line-color-five" value="##two"/> + <param name="line-order-five" value="2"/> + <!-- WAIT --> + <param name="ds-expr-fifteen" value="{loadAverage15Min},100,/"/> + <param name="graph-legend-fifteen" value="15 Minute"/> + <param name="line-style-fifteen" value="LINE2"/> + <param name="line-color-fifteen" value="##three"/> + <param name="line-order-fifteen" value="3"/> + </leaf> + <!-- Component --> + <leaf name="loadAverage1Min"> + <param name="vertical-label" value="Load Average"/> + <param name="data-file" value="%system-id%_empire-load1m.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_loadAverage1Min"/> + <param name="rrd-ds" value="loadAverage1Min"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="comment" value="One Minute Load Average"/> + <param name="graph-legend" value="1 Min"/> + </leaf> + <leaf name="loadAverage5Min"> + <param name="vertical-label" value="Load Average"/> + <param name="data-file" value="%system-id%_empire-load5m.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_loadAverage5Min"/> + <param name="rrd-ds" value="loadAverage5Min"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##two"/> + <param name="comment" value="Five Minute Load Average"/> + <param name="graph-legend" value="5 Min"/> + </leaf> + <leaf name="loadAverage15Min"> + <param name="vertical-label" value="Load Average"/> + <param name="data-file" value="%system-id%_empire-load15m.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_loadAverage15Min"/> + <param name="rrd-ds" value="loadAverage15Min"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##three"/> + <param name="comment" value="Fifteen Minute Load Average"/> + <param name="graph-legend" value="15 Min"/> + </leaf> + </subtree> + </template> + <!-- + + + Empire Total CPU Percent + empire-total-cpu-sysp + empire-total-cpu-sysp-multi + empire-total-cpu-userp + empire-total-cpu-userp-multi + empire-total-cpu-idlep + empire-total-cpu-idlep-multi + empire-total-cpu-waitp + empire-total-cpu-waitp-multi + --> + <template name="empire-total-cpu-unix"> + <apply-template name="empire-total-cpu-common"/> + <subtree name="TotalCpu"> + <leaf name="CpuTotalPercentUsage"> + <param name="comment"> + Cpu Idle, Sys, User and Wait Percentage + </param> + <param name="ds-names" value="sys,user,wait,idle"/> + <apply-template name="empire-total-cpu-sysp-multi"/> + <apply-template name="empire-total-cpu-userp-multi"/> + <apply-template name="empire-total-cpu-idlep-multi"/> + <apply-template name="empire-total-cpu-waitp-multi"/> + </leaf> + <apply-template name="empire-total-cpu-sysp"/> + <apply-template name="empire-total-cpu-userp"/> + <apply-template name="empire-total-cpu-idlep"/> + <apply-template name="empire-total-cpu-waitp"/> + </subtree> + </template> + <template name="empire-total-cpu-solarisSparc"> + <apply-template name="empire-total-cpu-unix"/> + </template> + <template name="empire-total-cpu-aix5RS6000"> + <apply-template name="empire-total-cpu-unix"/> + </template> + <template name="empire-total-cpu-linuxIntel"> + <apply-template name="empire-total-cpu-common"/> + <subtree name="TotalCpu"> + <leaf name="CpuTotalPercentUsage"> + <param name="comment" value="Cpu Idle, Sys and User Percentage"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-total-cpu-sysp-multi"/> + <apply-template name="empire-total-cpu-userp-multi"/> + <apply-template name="empire-total-cpu-idlep-multi"/> + </leaf> + <apply-template name="empire-total-cpu-sysp"/> + <apply-template name="empire-total-cpu-userp"/> + <apply-template name="empire-total-cpu-idlep"/> + </subtree> + </template> + <template name="empire-total-cpu-nt"> + <apply-template name="empire-total-cpu-common"/> + <subtree name="TotalCpu"> + <leaf name="CpuTotalPercentUsage"> + <param name="comment" value="Cpu Idle, Sys and User Percentage"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-total-cpu-sysp-multi"/> + <apply-template name="empire-total-cpu-userp-multi"/> + <apply-template name="empire-total-cpu-idlep-multi"/> + </leaf> + <apply-template name="empire-total-cpu-sysp"/> + <apply-template name="empire-total-cpu-userp"/> + <apply-template name="empire-total-cpu-idlep"/> + </subtree> + </template> + <template name="empire-total-cpu-nt40Intel"> + <apply-template name="empire-total-cpu-nt"/> + </template> + <template name="empire-total-cpu-nt50Intel"> + <apply-template name="empire-total-cpu-nt"/> + </template> + <template name="empire-total-cpu-common"> + <subtree name="TotalCpu"> + <param name="comment" value="Combined Stats for All CPUs"/> + <leaf name="CpuTotalPercentUsage"> + <param name="vertical-label" value="Percent"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="ds-type" value="rrd-multigraph"/> + </leaf> + </subtree> + </template> + <template name="empire-total-cpu-waitp-multi"> + <!-- WAIT --> + <param name="ds-expr-wait" value="{cpuTotalWaitPercent}"/> + <param name="graph-legend-wait" value="Percent Wait"/> + <param name="line-style-wait" value="STACK"/> + <param name="line-color-wait" value="##three"/> + <param name="line-order-wait" value="3"/> + </template> + <template name="empire-total-cpu-waitp"> + <leaf name="cpuTotalWaitPercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-tcpu-waitp.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalWaitPercent"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="TotalWaitPercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment"> + Percentage of CPU Held by Waiting Processes (CPU /USED/ Waiting) + </param> + <param name="graph-legend" value="Percent Wait"/> + </leaf> + </template> + <template name="empire-total-cpu-sysp-multi"> + <!-- SYS --> + <param name="ds-expr-sys" value="{cpuTotalSysPercent}"/> + <param name="graph-legend-sys" value="Percent sys"/> + <param name="line-style-sys" value="AREA"/> + <param name="line-color-sys" value="##one"/> + <param name="line-order-sys" value="1"/> + </template> + <template name="empire-total-cpu-userp-multi"> + <!-- USER --> + <param name="ds-expr-user" value="{cpuTotalUserPercent}"/> + <param name="graph-legend-user" value="Percent user"/> + <param name="line-style-user" value="STACK"/> + <param name="line-color-user" value="##two"/> + <param name="line-order-user" value="2"/> + </template> + <template name="empire-total-cpu-idlep-multi"> + <!-- IDLE --> + <param name="ds-expr-idle" value="{cpuTotalIdlePercent}"/> + <param name="graph-legend-idle" value="Percent Idle"/> + <param name="line-style-idle" value="STACK"/> + <param name="line-color-idle" value="##gray"/> + <param name="line-order-idle" value="4"/> + </template> + <template name="empire-total-cpu-sysp"> + <leaf name="cpuTotalSysPercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-tcpu-sysp.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalSysPercent"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="TotalSysPercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment"> + Percentage of CPU used by System Operation + </param> + <param name="graph-legend" value="Percent Sys"/> + </leaf> + </template> + <template name="empire-total-cpu-userp"> + <leaf name="cpuTotalUserPercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-tcpu-userp.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalUserPercent"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="TotalUserPercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment"> + Percentage of CPU used by User Processes + </param> + <param name="graph-legend" value="Percent User"/> + </leaf> + </template> + <template name="empire-total-cpu-idlep"> + <leaf name="cpuTotalIdlePercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-tcpu-idlep.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalIdlePercent"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="TotalIdlePercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Percentage of CPU unused"/> + <param name="graph-legend" value="Percent Idle"/> + </leaf> + </template> + <!-- + + + Empire Total CPU Raw + empire-total-cpu-sys + empire-total-cpu-sys-multi + empire-total-cpu-user + empire-total-cpu-user-multi + empire-total-cpu-idle + empire-total-cpu-idle-multi + empire-total-cpu-wait + empire-total-cpu-wait-multi + + + --> + <template name="empire-total-cpu-raw-unix"> + <apply-template name="empire-total-cpu-raw-common"/> + <subtree name="TotalRawCpu"> + <leaf name="RawCpuTime"> + <param name="comment" value="Cpu Idle, Sys, User and Wait usage"/> + <param name="ds-names" value="sys,user,wait,idle"/> + <apply-template name="empire-total-cpu-sys-multi"/> + <apply-template name="empire-total-cpu-user-multi"/> + <apply-template name="empire-total-cpu-wait-multi"/> + <apply-template name="empire-total-cpu-idle-multi"/> + </leaf> + <apply-template name="empire-total-cpu-sys"/> + <apply-template name="empire-total-cpu-user"/> + <apply-template name="empire-total-cpu-wait"/> + <apply-template name="empire-total-cpu-idle"/> + </subtree> + </template> + <template name="empire-total-cpu-raw-solarisSparc"> + <apply-template name="empire-total-cpu-raw-unix"/> + </template> + <template name="empire-total-cpu-raw-aix5RS6000"> + <apply-template name="empire-total-cpu-raw-unix"/> + </template> + <template name="empire-total-cpu-raw-linuxIntel"> + <apply-template name="empire-total-cpu-raw-common"/> + <subtree name="TotalRawCpu"> + <leaf name="RawCpuTime"> + <param name="comment" value="Cpu Idle, Sys and User Usage"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-total-cpu-sys-multi"/> + <apply-template name="empire-total-cpu-user-multi"/> + <apply-template name="empire-total-cpu-idle-multi"/> + </leaf> + <apply-template name="empire-total-cpu-sys"/> + <apply-template name="empire-total-cpu-user"/> + <apply-template name="empire-total-cpu-idle"/> + </subtree> + </template> + <template name="empire-total-cpu-raw-nt"> + <apply-template name="empire-total-cpu-raw-common"/> + <subtree name="TotalRawCpu"> + <leaf name="RawCpuTime"> + <param name="comment" value="Cpu Idle, Sys and User Usage"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-total-cpu-sys-multi"/> + <apply-template name="empire-total-cpu-user-multi"/> + <apply-template name="empire-total-cpu-idle-multi"/> + </leaf> + <apply-template name="empire-total-cpu-sys"/> + <apply-template name="empire-total-cpu-user"/> + <apply-template name="empire-total-cpu-idle"/> + </subtree> + </template> + <template name="empire-total-cpu-raw-nt40Intel"> + <apply-template name="empire-total-cpu-raw-nt"/> + </template> + <template name="empire-total-cpu-raw-nt50Intel"> + <apply-template name="empire-total-cpu-raw-nt"/> + </template> + <template name="empire-total-cpu-raw-common"> + <subtree name="TotalRawCpu"> + <param name="comment" value="Total System CPU Stats in Ticks"/> + <param name="hidden" value="yes"/> + <leaf name="RawCpuTime"> + <param name="vertical-label" value="Ticks"/> + <param name="ds-type" value="rrd-multigraph"/> + </leaf> + </subtree> + </template> + <template name="empire-total-cpu-sys-multi"> + <!-- SYS --> + <param name="ds-expr-sys" value="{cpuTotalSys}"/> + <param name="graph-legend-sys" value="sys"/> + <param name="line-style-sys" value="AREA"/> + <param name="line-color-sys" value="##one"/> + <param name="line-order-sys" value="1"/> + </template> + <template name="empire-total-cpu-user-multi"> + <!-- USER --> + <param name="ds-expr-user" value="{cpuTotalUser}"/> + <param name="graph-legend-user" value="user"/> + <param name="line-style-user" value="STACK"/> + <param name="line-color-user" value="##two"/> + <param name="line-order-user" value="2"/> + <param name="line-order-wait" value="3"/> + </template> + <template name="empire-total-cpu-idle-multi"> + <!-- IDLE --> + <param name="ds-expr-idle" value="{cpuTotalIdle}"/> + <param name="graph-legend-idle" value="Idle"/> + <param name="line-style-idle" value="STACK"/> + <param name="line-color-idle" value="##gray"/> + <param name="line-order-idle" value="4"/> + </template> + <template name="empire-total-cpu-wait-multi"> + <!-- WAIT --> + <param name="ds-expr-wait" value="{cpuTotalWait}"/> + <param name="graph-legend-wait" value="Wait"/> + <param name="line-style-wait" value="STACK"/> + <param name="line-color-wait" value="##three"/> + </template> + <template name="empire-total-cpu-sys"> + <leaf name="cpuTotalSys"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_empire-tcpu-raw-sys.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalSys"/> + <param name="rrd-ds" value="TotalSys"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU used by System Operation"/> + <param name="graph-legend" value="Sys"/> + </leaf> + </template> + <template name="empire-total-cpu-user"> + <leaf name="cpuTotalUser"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_empire-tcpu-raw-user.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalUser"/> + <param name="rrd-ds" value="TotalUser"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU used by User Processes"/> + <param name="graph-legend" value="User"/> + </leaf> + </template> + <template name="empire-total-cpu-idle"> + <leaf name="cpuTotalIdle"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_empire-tcpu-raw-idle.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalIdle"/> + <param name="rrd-ds" value="TotalIdle"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU unused"/> + <param name="graph-legend" value="Idle"/> + </leaf> + </template> + <template name="empire-total-cpu-wait"> + <leaf name="cpuTotalWait"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_empire-tcpu-raw-wait.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuTotalWait"/> + <param name="rrd-ds" value="TotalWait"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + CPU Held by Waiting Processes (CPU /USED/ Waiting) + </param> + <param name="graph-legend" value="Wait"/> + </leaf> + </template> + <!-- + + Empire Per CPU Percent + empire-cpu-syspct + empire-cpu-syspct-multi + empire-cpu-userpct + empire-cpu-userpct-multi + empire-cpu-idlepct + empire-cpu-idlepct-multi + empire-cpu-waitpct + empire-cpu-waitpct-multi + + --> + <template name="empire-cpu-subtree"> + <param name="comment" value="Per-CPU Usage"/> + <param name="precedence" value="-400"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="cpu"/> + <param name="overview-subleave-name-cpu" value="CpuPercentUsage"/> + <param name="overview-shortcut-text-cpu" + value="All CPUs"/> + <param name="overview-shortcut-title-cpu" + value="Show Percent CPU usage for each cpu"/> + <param name="overview-page-title-cpu" value="CPU Percent Usage Graphs"/> + </template> + <template name="empire-cpu-nt"> + <apply-template name="empire-cpu-common"/> + <leaf name="CpuPercentUsage"> + <param name="comment" value="Cpu Idle, Sys and User Percentage"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-cpu-syspct-multi"/> + <apply-template name="empire-cpu-idlepct-multi"/> + <apply-template name="empire-cpu-userpct-multi"/> + </leaf> + <apply-template name="empire-cpu-syspct"/> + <apply-template name="empire-cpu-idlepct"/> + <apply-template name="empire-cpu-userpct"/> + </template> + <template name="empire-cpu-nt40Intel"> + <apply-template name="empire-cpu-nt"/> + </template> + <template name="empire-cpu-nt50Intel"> + <apply-template name="empire-cpu-nt"/> + </template> + <template name="empire-cpu-unix"> + <apply-template name="empire-cpu-common"/> + <leaf name="CpuPercentUsage"> + <param name="comment"> + Cpu Idle, Sys, User and Wait Percentage + </param> + <param name="ds-names" value="sys,user,idle,wait"/> + <apply-template name="empire-cpu-syspct-multi"/> + <apply-template name="empire-cpu-idlepct-multi"/> + <apply-template name="empire-cpu-userpct-multi"/> + <apply-template name="empire-cpu-waitpct-multi"/> + </leaf> + <apply-template name="empire-cpu-syspct"/> + <apply-template name="empire-cpu-idlepct"/> + <apply-template name="empire-cpu-userpct"/> + <apply-template name="empire-cpu-waitpct"/> + </template> + <template name="empire-cpu-solarisSparc"> + <apply-template name="empire-cpu-unix"/> + </template> + <template name="empire-cpu-aix5RS6000"> + <apply-template name="empire-cpu-unix"/> + </template> + <template name="empire-cpu-linuxIntel"> + <apply-template name="empire-cpu-common"/> + <leaf name="CpuPercentUsage"> + <param name="comment" value="Cpu Idle, Sys and User Percentage"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-cpu-syspct-multi"/> + <apply-template name="empire-cpu-idlepct-multi"/> + <apply-template name="empire-cpu-userpct-multi"/> + </leaf> + <apply-template name="empire-cpu-syspct"/> + <apply-template name="empire-cpu-idlepct"/> + <apply-template name="empire-cpu-userpct"/> + </template> + <template name="empire-cpu-common"> + <leaf name="CpuPercentUsage"> + <param name="vertical-label" value="Percent"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="ds-type" value="rrd-multigraph"/> + </leaf> + </template> + <template name="empire-cpu-syspct-multi"> + <!-- SYS --> + <param name="ds-expr-sys" value="{cpuSysPercent}"/> + <param name="graph-legend-sys" value="Percent sys"/> + <param name="line-style-sys" value="AREA"/> + <param name="line-color-sys" value="##one"/> + <param name="line-order-sys" value="1"/> + </template> + <template name="empire-cpu-userpct-multi"> + <!-- USER --> + <param name="ds-expr-user" value="{cpuUserPercent}"/> + <param name="graph-legend-user" value="Percent user"/> + <param name="line-style-user" value="STACK"/> + <param name="line-color-user" value="##two"/> + <param name="line-order-user" value="2"/> + </template> + <template name="empire-cpu-idlepct-multi"> + <!-- IDLE --> + <param name="ds-expr-idle" value="{cpuIdlePercent}"/> + <param name="graph-legend-idle" value="Percent Idle"/> + <param name="line-style-idle" value="STACK"/> + <param name="line-color-idle" value="##gray"/> + <param name="line-order-idle" value="4"/> + </template> + <template name="empire-cpu-waitpct-multi"> + <!-- WAIT --> + <param name="ds-expr-wait" value="{cpuWaitPercent}"/> + <param name="graph-legend-wait" value="Percent Wait"/> + <param name="line-style-wait" value="STACK"/> + <param name="line-color-wait" value="##three"/> + <param name="line-order-wait" value="3"/> + </template> + <template name="empire-cpu-syspct"> + <leaf name="cpuSysPercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-syspct.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuSysPercent.$empire_cpu_IDX"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="SysPercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment"> + Percentage of CPU used by System Operation + </param> + <param name="graph-legend" value="Percent Sys"/> + </leaf> + </template> + <template name="empire-cpu-userpct"> + <leaf name="cpuUserPercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-userpct.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuUserPercent.$empire_cpu_IDX"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="UserPercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment"> + Percentage of CPU used by User Processes + </param> + <param name="graph-legend" value="Percent User"/> + </leaf> + </template> + <template name="empire-cpu-idlepct"> + <leaf name="cpuIdlePercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-idlepct.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuIdlePercent.$empire_cpu_IDX"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="IdlePercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Percentage of CPU unused"/> + <param name="graph-legend" value="Percent Idle"/> + </leaf> + </template> + <template name="empire-cpu-waitpct"> + <leaf name="cpuWaitPercent"> + <param name="vertical-label" value="Percent"/> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-waitpct.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuWaitPercent.$empire_cpu_IDX"/> + <param name="graph-upper-limit" value="100"/> + <param name="graph-rigid-boundaries" value="yes"/> + <param name="rrd-ds" value="WaitPercent"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment"> + Percentage of CPU Held by Waiting Processes (CPU /USED/ Waiting) + </param> + <param name="graph-legend" value="Percent Wait"/> + </leaf> + </template> + <!-- + + Empire CPU Raw + empire-cpu-sys + empire-cpu-sys-multi + empire-cpu-user + empire-cpu-user-multi + empire-cpu-idle + empire-cpu-idle-multi + empire-cpu-wait + empire-cpu-wait-multi + + --> + <template name="empire-cpu-raw-unix"> + <apply-template name="empire-cpu-raw-common"/> + <subtree name="RawCpu"> + <leaf name="RawCpuTime"> + <param name="comment" value="Cpu Idle, Sys, User and Wait Time"/> + <param name="ds-names" value="sys,user,wait,idle"/> + <apply-template name="empire-cpu-sys-multi"/> + <apply-template name="empire-cpu-user-multi"/> + <apply-template name="empire-cpu-wait-multi"/> + <apply-template name="empire-cpu-idle-multi"/> + </leaf> + <apply-template name="empire-cpu-sys"/> + <apply-template name="empire-cpu-user"/> + <apply-template name="empire-cpu-wait"/> + <apply-template name="empire-cpu-idle"/> + </subtree> + </template> + <template name="empire-cpu-raw-solarisSparc"> + <apply-template name="empire-cpu-raw-unix"/> + </template> + <template name="empire-cpu-raw-aix5RS6000"> + <apply-template name="empire-cpu-raw-unix"/> + </template> + <template name="empire-cpu-raw-linuxIntel"> + <apply-template name="empire-cpu-raw-common"/> + <subtree name="RawCpu"> + <leaf name="RawCpuTime"> + <param name="comment" value="Cpu Idle, Sys, and User Time"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-cpu-sys-multi"/> + <apply-template name="empire-cpu-user-multi"/> + <apply-template name="empire-cpu-idle-multi"/> + </leaf> + <apply-template name="empire-cpu-sys"/> + <apply-template name="empire-cpu-user"/> + <apply-template name="empire-cpu-idle"/> + </subtree> + </template> + <template name="empire-cpu-raw-nt"> + <apply-template name="empire-cpu-raw-common"/> + <subtree name="RawCpu"> + <leaf name="RawCpuTime"> + <param name="comment" value="Cpu Idle, Sys and User"/> + <param name="ds-names" value="sys,user,idle"/> + <apply-template name="empire-cpu-sys-multi"/> + <apply-template name="empire-cpu-user-multi"/> + <apply-template name="empire-cpu-idle-multi"/> + </leaf> + <apply-template name="empire-cpu-sys"/> + <apply-template name="empire-cpu-user"/> + <apply-template name="empire-cpu-idle"/> + </subtree> + </template> + <template name="empire-cpu-raw-nt40Intel"> + <apply-template name="empire-cpu-raw-nt"/> + </template> + <template name="empire-cpu-raw-nt50Intel"> + <apply-template name="empire-cpu-raw-nt"/> + </template> + <template name="empire-cpu-raw-common"> + <subtree name="RawCpu"> + <param name="comment" value="Per-Cpu Stats in Ticks"/> + <param name="hidden" value="yes"/> + <leaf name="RawCpuTime"> + <param name="vertical-label" value="Ticks"/> + <param name="ds-type" value="rrd-multigraph"/> + </leaf> + </subtree> + </template> + <template name="empire-cpu-sys-multi"> + <!-- SYS --> + <param name="ds-expr-sys" value="{cpuSys}"/> + <param name="graph-legend-sys" value="sys"/> + <param name="line-style-sys" value="AREA"/> + <param name="line-color-sys" value="##one"/> + <param name="line-order-sys" value="1"/> + </template> + <template name="empire-cpu-user-multi"> + <!-- USER --> + <param name="ds-expr-user" value="{cpuUser}"/> + <param name="graph-legend-user" value="user"/> + <param name="line-style-user" value="STACK"/> + <param name="line-color-user" value="##two"/> + <param name="line-order-user" value="2"/> + </template> + <template name="empire-cpu-idle-multi"> + <!-- IDLE --> + <param name="ds-expr-idle" value="{cpuIdle}"/> + <param name="graph-legend-idle" value="Idle"/> + <param name="line-style-idle" value="STACK"/> + <param name="line-color-idle" value="##gray"/> + <param name="line-order-idle" value="4"/> + </template> + <template name="empire-cpu-wait-multi"> + <!-- WAIT --> + <param name="ds-expr-wait" value="{cpuWait}"/> + <param name="graph-legend-wait" value="Wait"/> + <param name="line-style-wait" value="STACK"/> + <param name="line-color-wait" value="##three"/> + <param name="line-order-wait" value="3"/> + </template> + <template name="empire-cpu-sys"> + <leaf name="cpuSys"> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-raw-sys.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuSys.$empire_cpu_IDX"/> + <param name="rrd-ds" value="Sys"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU used by System Operation"/> + <param name="graph-legend" value="Sys"/> + </leaf> + </template> + <template name="empire-cpu-user"> + <leaf name="cpuUser"> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-raw-user.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuUser.$empire_cpu_IDX"/> + <param name="rrd-ds" value="User"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU used by User Processes"/> + <param name="graph-legend" value="User"/> + </leaf> + </template> + <template name="empire-cpu-idle"> + <leaf name="cpuIdle"> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-raw-idle.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuIdle.$empire_cpu_IDX"/> + <param name="rrd-ds" value="Idle"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU unused"/> + <param name="graph-legend" value="Idle"/> + </leaf> + </template> + <template name="empire-cpu-wait"> + <leaf name="cpuWait"> + <param name="data-file" value="%system-id%_empire-cpu%cpu%-raw-wait.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_cpuWait.$empire_cpu_IDX"/> + <param name="rrd-ds" value="Wait"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> CPU Held by Waiting Processes (CPU /USED/ + Waiting) </param> + <param name="graph-legend" value="Wait"/> + </leaf> + </template> + <!-- + + + Empire Device Template (Disks) + + + --> + <template name="empire-device-subtree"> + <param name="comment" value="Per-Mount Usage"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="disk"/> + <param name="overview-subleave-name-disk" value="DiskSpace"/> + <param name="overview-shortcut-text-disk" + value="All Disk Space"/> + <param name="overview-shortcut-title-disk" + value="Show Disk Space usage for Each Mount"/> + <param name="overview-page-title-disk" value="Disk Space Usage Graphs"/> + </template> + <template name="empire-device"> + <leaf name="DiskSpace"> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="comment" value="Total vs. Used Disk Space"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="used,total"/> + <param name="ds-expr-total"> {devTblks} </param> + <param name="graph-legend-total" value="Disk Space Total"/> + <param name="line-style-total" value="AREA"/> + <param name="line-color-total" value="##two"/> + <param name="line-order-total" value="1"/> + <!-- USED --> + <param name="ds-expr-used"> {devTblks},{devFblks},- </param> + <param name="graph-legend-used" value="Disk Space Used"/> + <param name="line-style-used" value="AREA"/> + <param name="line-color-used" value="##three"/> + <param name="line-order-used" value="2"/> + </leaf> + <leaf name="devFblks"> + <param name="data-file" value="%system-id%_empire-%storage-nick%-fblocks.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_devFblks.$empire_dev_IDX"/> + <param name="rrd-ds" value="empire_devFblks"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Disk Space Free (Bytes)"/> + <param name="graph-legend" value="Disk Space Free"/> + </leaf> + <leaf name="devTblks"> + <param name="data-file" value="%system-id%_empire-%storage-nick%-tblocks.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_devTblks.$empire_dev_IDX"/> + <param name="rrd-ds" value="empire_devTblks"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Total Disk Space (Bytes)"/> + <param name="graph-legend" value="Total Disk Space"/> + </leaf> + </template> + <!-- + + Empire Disk Stats Template + empire-disk-stats-queuelength + empire-disk-stats-servicetime + empire-disk-stats-utilization + empire-disk-stats-bytestransfered + empire-disk-stats-transferes + empire-disk-stats-reads + empire-disk-stats-writes + + --> + <template name="empire-disk-stats-subtree"> + <param name="comment" value="Per-Disk Utilization"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="util"/> + <param name="overview-subleave-name-util" value="Utilization"/> + <param name="overview-shortcut-text-util" + value="All disks"/> + <param name="overview-shortcut-title-util" + value="Show Stats for all Disks"/> + <param name="overview-page-title-util" value="Device for all Disks"/> + </template> + + <template name="empire-disk-stats-unix"> + <apply-template name="empire-disk-stats-queuelength"/> + <apply-template name="empire-disk-stats-servicetime"/> + <apply-template name="empire-disk-stats-utilization"/> + <apply-template name="empire-disk-stats-bytestransfered"/> + <apply-template name="empire-disk-stats-transferes"/> + <apply-template name="empire-disk-stats-reads"/> + <apply-template name="empire-disk-stats-writes"/> + </template> + + <template name="empire-disk-stats-solarisSparc"> + <apply-template name="empire-disk-stats-queuelength"/> + <apply-template name="empire-disk-stats-servicetime"/> + <apply-template name="empire-disk-stats-utilization"/> + <apply-template name="empire-disk-stats-bytestransfered"/> + <apply-template name="empire-disk-stats-transferes"/> + <apply-template name="empire-disk-stats-reads"/> + <apply-template name="empire-disk-stats-writes"/> + </template> + + <template name="empire-disk-stats-aix5RS6000"> + <apply-template name="empire-disk-stats-servicetime"/> + <apply-template name="empire-disk-stats-utilization"/> + <apply-template name="empire-disk-stats-bytestransfered"/> + <apply-template name="empire-disk-stats-transferes"/> + <apply-template name="empire-disk-stats-reads"/> + <apply-template name="empire-disk-stats-writes"/> + </template> + + <template name="empire-disk-stats-linuxIntel"> + <apply-template name="empire-disk-stats-bytestransfered"/> + <apply-template name="empire-disk-stats-transferes"/> + <apply-template name="empire-disk-stats-reads"/> + <apply-template name="empire-disk-stats-writes"/> + </template> + + <template name="empire-disk-stats-nt"> + <apply-template name="empire-disk-stats-queuelength"/> + <apply-template name="empire-disk-stats-servicetime"/> + <apply-template name="empire-disk-stats-utilization"/> + <apply-template name="empire-disk-stats-bytestransfered"/> + <apply-template name="empire-disk-stats-transferes"/> + <apply-template name="empire-disk-stats-reads"/> + <apply-template name="empire-disk-stats-writes"/> + </template> + + <template name="empire-disk-stats-nt40Intel"> + <apply-template name="empire-disk-stats-nt"/> + </template> + + <template name="empire-disk-stats-nt50Intel"> + <apply-template name="empire-disk-stats-nt"/> + </template> + + <template name="empire-disk-stats-queuelength"> + <leaf name="QueueLength"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-qlen.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskStatsQueueLength.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="QueueLength"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Ave. Events Waiting in Service Queue"/> + <param name="graph-legend" value="Device Queue Length"/> + </leaf> + </template> + <template name="empire-disk-stats-servicetime"> + <leaf name="ServiceTime"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-svct.rrd"/> + <param name="vertical-label" value="Time"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskStatsServiceTime.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="ServiceTime"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Ave. Time to Service a Request (ms)"/> + <param name="graph-legend" value="Device Service Time"/> + </leaf> + </template> + <template name="empire-disk-stats-utilization"> + <leaf name="Utilization"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-util.rrd"/> + <param name="vertical-label" value="Percent"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskStatsUtilization.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="Utilization"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Percent of time disk was busy"/> + <param name="graph-legend" value="Device Utilization"/> + </leaf> + </template> + <template name="empire-disk-stats-bytestransfered"> + <leaf name="BytesTransfered"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-bytest.rrd"/> + <param name="vertical-label" value="Bytes"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="collector-scale" value="1024,*"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="snmp-object" value="$empire_diskStatsKBTransfered.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="KBTransfered"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Bytes Transfered"/> + <param name="graph-legend" value="Bytes Transfered"/> + </leaf> + </template> + <template name="empire-disk-stats-transferes"> + <leaf name="Transfers"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-xfers.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskStatsTransfers.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="Transfers"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Transfers"/> + <param name="graph-legend" value="Transfers"/> + </leaf> + </template> + <template name="empire-disk-stats-reads"> + <leaf name="Reads"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-reads.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskStatsReads.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="Reads"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Reads"/> + <param name="graph-legend" value="Reads"/> + </leaf> + </template> + <template name="empire-disk-stats-writes"> + <leaf name="Writes"> + <param name="data-file" value="%system-id%_empire-%disk-stats-nick%-writes.rrd"/> + <param name="vertical-label" value="Count"/> + <param name="hidden" value="no"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$empire_diskStatsWrites.$empire_disk_stats_IDX"/> + <param name="rrd-ds" value="Writes"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Writes"/> + <param name="graph-legend" value="Writes"/> + </leaf> + </template> + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/f5.bigip.xml b/torrus/xmlconfig/vendor/f5.bigip.xml new file mode 100644 index 000000000..dd74973c2 --- /dev/null +++ b/torrus/xmlconfig/vendor/f5.bigip.xml @@ -0,0 +1,842 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: f5.bigip.xml,v 1.1 2010-12-27 00:04:25 ivan Exp $ + Shawn Ferry <sferry at sevenspace dot com> <lalartu at obscure dot org> + + Tested With: BIG-IP Version 4.5PTF-03 Build2 + +--> + +<!-- Cisco Firewall specific definitions --> + +<configuration> + +<definitions> + + <!-- LOAD-BAL-SYSTEM-MIB --> + <!-- 4.x --> + <!-- F5 1.3.6.1.4.1.3375 --> + <!-- f5systems 1.3.6.1.4.1.3375.1 --> + <!-- loadbal 1.3.6.1.4.1.3375.1.1 --> + <!-- globals 1.3.6.1.4.1.3375.1.1.1 --> + <def name="globalStatCurrentConn" value="1.3.6.1.4.1.3375.1.1.1.2.10.0"/> + <def name="globalStatMaxConn" value="1.3.6.1.4.1.3375.1.1.1.2.11.0"/> + <def name="globalStatTotalConn" value="1.3.6.1.4.1.3375.1.1.1.2.12.0"/> + + <def name="globalStatMemoryPoolTotal" value="1.3.6.1.4.1.3375.1.1.1.2.14.0"/> + <def name="globalStatMemoryPoolUsed" value="1.3.6.1.4.1.3375.1.1.1.2.15.0"/> + <def name="globalStatVirtualServerDupSynSSL" + value="1.3.6.1.4.1.3375.1.1.1.2.22.0"/> <!-- new --> + + <def name="globalStatMaxConnPortDeny" value="1.3.6.1.4.1.3375.1.1.1.2.26.0"/> + <def name="globalStatSSLTimeouts" value="1.3.6.1.4.1.3375.1.1.1.2.35.0"/> + <!-- new --> + <def name="globalStatMemoryErrors" value="1.3.6.1.4.1.3375.1.1.1.2.42.0"/> + <def name="globalStatMemoryInUse" value="1.3.6.1.4.1.3375.1.1.1.2.44.0"/> + <def name="globalStatMemoryCurrentSize" + value="1.3.6.1.4.1.3375.1.1.1.2.46.0"/> + + <!-- Virtual Servers 1.3.6.1.4.1.3375.1.1.3 --> + <def name="virtualServerConnLimit" value="1.3.6.1.4.1.3375.1.1.3.2.1.4"/> + <def name="virtualServerOctetsIn" value="1.3.6.1.4.1.3375.1.1.3.2.1.13"/> + <def name="virtualServerOctetsOut" value="1.3.6.1.4.1.3375.1.1.3.2.1.14"/> + <def name="virtualServerPacketsIn" value="1.3.6.1.4.1.3375.1.1.3.2.1.15"/> + <def name="virtualServerPacketsOut" value="1.3.6.1.4.1.3375.1.1.3.2.1.16"/> + <def name="virtualServerCurrentConn" value="1.3.6.1.4.1.3375.1.1.3.2.1.17"/> + <def name="virtualServerMaxConn" value="1.3.6.1.4.1.3375.1.1.3.2.1.18"/> + <def name="virtualServerTotalConn" value="1.3.6.1.4.1.3375.1.1.3.2.1.19"/> + + + <!-- Pool 1.3.6.1.4.1.3375.1.1.7 --> + <def name="poolBitsin" value="1.3.6.1.4.1.3375.1.1.7.2.1.5"/> + <def name="poolBitsout" value="1.3.6.1.4.1.3375.1.1.7.2.1.6"/> + <def name="poolPktsin" value="1.3.6.1.4.1.3375.1.1.7.2.1.9"/> + <def name="poolPktsout" value="1.3.6.1.4.1.3375.1.1.7.2.1.10"/> + <def name="poolCurrentConn" value="1.3.6.1.4.1.3375.1.1.7.2.1.14"/> + <def name="poolTotalConn" value="1.3.6.1.4.1.3375.1.1.7.2.1.15"/> + + <!-- Pool Member 1.3.6.1.4.1.3375.1.1.8 --> + <def name="poolMemberBitsin" value="1.3.6.1.4.1.3375.1.1.8.2.1.9"/> + <def name="poolMemberBitsout" value="1.3.6.1.4.1.3375.1.1.8.2.1.10"/> + <def name="poolMemberPktsin" value="1.3.6.1.4.1.3375.1.1.8.2.1.13"/> + <def name="poolMemberPktsout" value="1.3.6.1.4.1.3375.1.1.8.2.1.14"/> + <def name="poolMemberConnLimit" value="1.3.6.1.4.1.3375.1.1.8.2.1.17"/> + <def name="poolMemberCurrentConn" value="1.3.6.1.4.1.3375.1.1.8.2.1.19"/> + <def name="poolMemberTotalConn" value="1.3.6.1.4.1.3375.1.1.8.2.1.20"/> + + <!-- SSL Proxy 1.3.6.1.4.1.3375.1.1.9 --> + <!-- SSL sslProxyTable 1.3.6.1.4.1.3375.1.1.9.2 --> + <!-- SSL sslProxyEntry 1.3.6.1.4.1.3375.1.1.9.2.1 --> + <def name="sslProxyOrigIpAddress" value="1.3.6.1.4.1.3375.1.1.9.2.1.1"/> + <def name="sslProxyOrigPort" value="1.3.6.1.4.1.3375.1.1.9.2.1.2"/> + <def name="sslProxyDestIpAddress" value="1.3.6.1.4.1.3375.1.1.9.2.1.3"/> + <def name="sslProxyDestPort" value="1.3.6.1.4.1.3375.1.1.9.2.1.4"/> + <def name="sslProxyBitsin" value="1.3.6.1.4.1.3375.1.1.9.2.1.17"/> + <def name="sslProxyBitsout" value="1.3.6.1.4.1.3375.1.1.9.2.1.18"/> + <def name="sslProxyPktsin" value="1.3.6.1.4.1.3375.1.1.9.2.1.19"/> + <def name="sslProxyPktsout" value="1.3.6.1.4.1.3375.1.1.9.2.1.20"/> + <def name="sslProxyConnLimit" value="1.3.6.1.4.1.3375.1.1.9.2.1.23"/> + <def name="sslProxyMaxConn" value="1.3.6.1.4.1.3375.1.1.9.2.1.24"/> + <def name="sslProxyCurrentConn" value="1.3.6.1.4.1.3375.1.1.9.2.1.25"/> + <def name="sslProxyTotalConn" value="1.3.6.1.4.1.3375.1.1.9.2.1.26"/> + <def name="sslProxyClientInvalidVersions" + value="1.3.6.1.4.1.3375.1.1.9.2.1.32"/> + <def name="sslProxyServerInvalidVersions" + value="1.3.6.1.4.1.3375.1.1.9.2.1.33"/> + + + <!-- 3.x --> + <def name="contot" value="1.3.6.1.4.1.3375.1.1.51.0"/> + <def name="conmax" value="1.3.6.1.4.1.3375.1.1.53.0"/> + <def name="memoryUsed" value="1.3.6.1.4.1.3375.1.1.77.0"/> + <def name="memoryTotal" value="1.3.6.1.4.1.3375.1.1.78.0"/> + +</definitions> + +<datasources> + + <template name="BigIp_4.x"> + <leaf name="MaxConnections"> + <param name="hidden" value="yes"/> + <param name="comment"> + Max Connections per second + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_cons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMaxConn"/> + <param name="rrd-ds" value="MaxConn"/> + <param name="graph-legend" value="MaxConns"/> + </leaf> + <leaf name="ConnectionRate"> + <param name="comment"> + Connections per second + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_cons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatTotalConn"/> + <param name="rrd-ds" value="ConnRate"/> + <param name="graph-legend" value="Connections per second"/> + </leaf> + <leaf name="ActiveConnections"> + <param name="comment"> + Active Connections + </param> + <param name="vertical-label" value="connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_cons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatCurrentConn"/> + <param name="rrd-ds" value="ActvConn"/> + <param name="graph-legend" value="Active Connections"/> + </leaf> + <leaf name="MemoryPoolTotal"> + <param name="comment"> + Total memory pool available on system. + </param> + <param name="rrd-scaling-base" value="1024"/> + <param name="vertical-label" value="Memory Total"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_mem.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMemoryPoolTotal"/> + <param name="rrd-ds" value="MemPoolTotal"/> + <param name="graph-legend" value="MemPoolTotal"/> + </leaf> + <leaf name="MemoryPoolUsed"> + <param name="comment"> + Total memory pool currently in use by system. + </param> + <param name="rrd-scaling-base" value="1024"/> + <param name="vertical-label" value="Memory Used"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_mem.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMemoryPoolUsed"/> + <param name="rrd-ds" value="MemPoolUsed"/> + <param name="graph-legend" value="MemPoolUsed"/> + </leaf> + <leaf name="MaxConnPortDeny"> + <param name="comment"> + Total number of connections denied because maximum connections + count exceeded. + </param> + <param name="vertical-label" value="denies/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_cons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMaxConnPortDeny"/> + <param name="rrd-ds" value="MaxConnDeny"/> + <param name="graph-legend" value="Denies"/> + </leaf> + <leaf name="MemoryErrors"> + <param name="comment"> + Memory allocation errors per second + </param> + <param name="vertical-label" value="Memory Errors/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_mem.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMemoryErrors"/> + <param name="rrd-ds" value="MemErrors"/> + <param name="graph-legend" value="MemErrors"/> + </leaf> + <leaf name="MemoryInUse"> + <param name="hidden" value="yes"/> + <param name="comment"> + Current amount of memory in use. + </param> + <param name="rrd-scaling-base" value="1024"/> + <param name="vertical-label" value="Memory Used"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_mem.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMemoryInUse"/> + <param name="rrd-ds" value="MemInUse"/> + <param name="graph-legend" value="MemInUse"/> + </leaf> + <leaf name="MemorySize"> + <param name="hidden" value="yes"/> + <param name="comment"> + Current memory size. + </param> + <param name="rrd-scaling-base" value="1024"/> + <param name="vertical-label" value="Memory Size"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_mem.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatMemoryCurrentSize"/> + <param name="rrd-ds" value="MemSize"/> + <param name="graph-legend" value="MemSize"/> + </leaf> + </template> + + <template name="BigIp_4.x_pool-actvconn-overview"> + <param name="comment" value="Per Poo; Active Connections"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="active"/> + <param name="overview-subleave-name-active" value="ActiveConnections"/> + <param name="overview-shortcut-text-active" + value="All Active Connections"/> + <param name="overview-shortcut-title-active" + value="Show Active Connections Per Pool"/> + <param name="overview-page-title-active" + value="Active Connections Per Pool"/> + </template> + + <template name="BigIp_4.x_pool"> + <param name="comment" value="%descr%"/> + <leaf name="ConnectionRate"> + <param name="comment"> + Connections per second to %descr% + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_pool_%nick%.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$poolTotalConn.%INDEX%"/> + <param name="rrd-ds" value="ConnRate"/> + <param name="graph-legend" value="Connections per second"/> + </leaf> + <leaf name="ActiveConnections"> + <param name="comment"> + Active Connections to %descr% + </param> + <param name="vertical-label" value="connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_pool_%nick%.rrd"/> + <param name="precedence" value="-300"/> + <param name="snmp-object" value="$poolCurrentConn.%INDEX%"/> + <param name="rrd-ds" value="ActvConn"/> + <param name="graph-legend" value="Active Connections"/> + </leaf> + <leaf name="inoutBps"> + <param name="comment" value="input and output bits/s %descr%" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="-400" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bitsin},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bitsout},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + <leaf name="Bitsin"> + <param name="comment"> + Bits IN for %descr% + </param> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bits IN"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_pool_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolBitsin.%INDEX%"/> + <param name="rrd-ds" value="Bitsin"/> + </leaf> + <leaf name="Bitsout"> + <param name="comment"> + Bits OUT for %descr% + </param> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bits OUT"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_pool_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolBitsout.%INDEX%"/> + <param name="rrd-ds" value="Bitsout"/> + </leaf> + <leaf name="inoutPackets"> + <param name="comment" value="input and output Packets/s for %descr%" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="-400" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Packetsin}" /> + <param name="graph-legend-in" value="Packets per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Packetsout}" /> + <param name="graph-legend-out" value="Packets per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + <leaf name="Packetsin"> + <param name="comment"> + Packets IN for %descr% + </param> + <param name="vertical-label" value="pps"/> + <param name="graph-legend" value="Packets IN"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_pool_%nick%.rrd"/> + <param name="precedence" value="-1100"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolPktsin.%INDEX%"/> + <param name="rrd-ds" value="Packetsin"/> + </leaf> + <leaf name="Packetsout"> + <param name="comment"> + Packets OUT for %descr% + </param> + <param name="vertical-label" value="pps"/> + <param name="graph-legend" value="Packets OUT"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_pool_%nick%.rrd"/> + <param name="precedence" value="-1100"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolPktsout.%INDEX%"/> + <param name="rrd-ds" value="Packetsout"/> + </leaf> + </template> + + <template name="BigIp_4.x_virtualServer-actvconn-overview"> + <param name="comment" + value="Per Virtual Server(VIP) Active Connections"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="active"/> + <param name="overview-subleave-name-active" value="ActiveConnections"/> + <param name="overview-shortcut-text-active" + value="All Active Connections"/> + <param name="overview-shortcut-title-active" + value="Show Active Connections Per Virtual Server(VIP)"/> + <param name="overview-page-title-active" + value="Active Connections Per Virtual Server(VIP)"/> + </template> + <template name="BigIp_4.x_virtualServer-connrate-overview"> + <param name="comment" value="Per Virtual Server(VIP) Connections/s"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="rate"/> + <param name="overview-subleave-name-rate" value="ConnectionRate"/> + <param name="overview-shortcut-text-rate" + value="All Connection Rates"/> + <param name="overview-shortcut-title-rate" + value="Show Connections/s Per Virtual Server(VIP)"/> + <param name="overview-page-title-rate" + value="Connections/s Per Virtual Server(VIP)"/> + </template> + + <template name="BigIp_4.x_virtualServer"> + <param name="comment" value="%descr%"/> + <leaf name="ConnectionLimit"> + <param name="comment"> + Max Allowed Connections to %descr% + </param> + <param name="vertical-label" value="connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_VSstat_%nick%.rrd"/> + <param name="precedence" value="-300"/> + <param name="snmp-object" value="$virtualServerConnLimit.%INDEX%"/> + <param name="rrd-ds" value="ConnLimit"/> + <param name="graph-legend" value="Connection Limit"/> + </leaf> + <leaf name="ConnectionRate"> + <param name="comment"> + Connections per second to %descr% + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_VSstat_%nick%.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$virtualServerTotalConn.%INDEX%"/> + <param name="rrd-ds" value="ConnRate"/> + <param name="graph-legend" value="Connections per second"/> + </leaf> + <leaf name="ActiveConnections"> + <param name="comment"> + Active Connections to %descr% + </param> + <param name="vertical-label" value="connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_VSstat_%nick%.rrd"/> + <param name="precedence" value="-300"/> + <param name="snmp-object" value="$virtualServerCurrentConn.%INDEX%"/> + <param name="rrd-ds" value="ActvConn"/> + <param name="graph-legend" value="Active Connections"/> + </leaf> + <leaf name="InOutBps"> + <param name="comment" value="Input and Output bits/s %descr%" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="-400" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{OctetsIn},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{OctetsOut},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + <leaf name="OctetsIn"> + <param name="comment"> + Octets IN for %descr% + </param> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bytes IN"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_VSstat_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$virtualServerOctetsIn.%INDEX%"/> + <param name="rrd-ds" value="OctetsIn"/> + </leaf> + <leaf name="OctetsOut"> + <param name="comment"> + Octets OUT for %descr% + </param> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bytes OUT"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_VSstat_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$virtualServerOctetsOut.%INDEX%"/> + <param name="rrd-ds" value="OctetsOut"/> + </leaf> + <leaf name="InOutPackets"> + <param name="comment" value="Input and Output Packets/s for %descr%" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="-400" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{PacketsIn}" /> + <param name="graph-legend-in" value="Packets per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{PacketsOut}" /> + <param name="graph-legend-out" value="Packets per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + <leaf name="PacketsIn"> + <param name="comment"> + Packets IN for %descr% + </param> + <param name="vertical-label" value="pps"/> + <param name="graph-legend" value="Packets IN"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_VSstat_%nick%.rrd"/> + <param name="precedence" value="-1100"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$virtualServerPacketsIn.%INDEX%"/> + <param name="rrd-ds" value="PacketsIn"/> + </leaf> + <leaf name="PacketsOut"> + <param name="comment"> + Packets OUT for %descr% + </param> + <param name="vertical-label" value="pps"/> + <param name="graph-legend" value="Packets OUT"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_VSstat_%nick%t.rrd"/> + <param name="precedence" value="-1100"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$virtualServerPacketsOut.%INDEX%"/> + <param name="rrd-ds" value="PacketsOut"/> + </leaf> + </template> + + + <template name="BigIp_4.x_poolMember-actvconn-overview"> + <param name="comment" value="Per Pool Member Active Connections"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="active"/> + <param name="overview-subleave-name-active" value="ActiveConnections"/> + <param name="overview-shortcut-text-active" + value="All Active Connections"/> + <param name="overview-shortcut-title-active" + value="Show Active Connections Per Pool Member"/> + <param name="overview-page-title-active" + value="Active Connections Per Pool Member"/> + </template> + + <template name="BigIp_4.x_poolMember"> + <param name="comment" value="%descr%"/> + <leaf name="ConnectionLimit"> + <param name="comment"> + Max Allowed Connections to %descr% + </param> + <param name="vertical-label" value="connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-300"/> + <param name="snmp-object" value="$poolMemberConnLimit.%INDEX%"/> + <param name="rrd-ds" value="ConnLimit"/> + <param name="graph-legend" value="Connection Limit"/> + </leaf> + <leaf name="ConnectionRate"> + <param name="comment"> + Connections per second to %descr% + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$poolMemberTotalConn.%INDEX%"/> + <param name="rrd-ds" value="ConnRate"/> + <param name="graph-legend" value="Connections per second"/> + </leaf> + <leaf name="ActiveConnections"> + <param name="comment"> + Active Connections to %descr% + </param> + <param name="vertical-label" value="connections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-300"/> + <param name="snmp-object" value="$poolMemberCurrentConn.%INDEX%"/> + <param name="rrd-ds" value="ActvConn"/> + <param name="graph-legend" value="Active Connections"/> + </leaf> + <leaf name="inoutBps"> + <param name="comment" value="input and output bits/s %descr%" /> + <param name="vertical-label" value="bps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="-400" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Bitsin},8,*" /> + <param name="graph-legend-in" value="Bits per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Bitsout},8,*" /> + <param name="graph-legend-out" value="Bits per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + <leaf name="Bitsin"> + <param name="comment"> + Bits IN for %descr% + </param> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bits IN"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolMemberBitsin.%INDEX%"/> + <param name="rrd-ds" value="Bitsin"/> + </leaf> + <leaf name="Bitsout"> + <param name="comment"> + Bits OUT for %descr% + </param> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bits OUT"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolMemberBitsout.%INDEX%"/> + <param name="rrd-ds" value="Bitsout"/> + </leaf> + <leaf name="inoutPackets"> + <param name="comment" value="input and output Packets/s for %descr%" /> + <param name="vertical-label" value="pps" /> + <param name="graph-lower-limit" value="0" /> + <param name="rrd-hwpredict" value="disabled" /> + <param name="precedence" value="-400" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="in,out" /> + + <param name="ds-expr-in" value="{Packetsin}" /> + <param name="graph-legend-in" value="Packets per second in" /> + <param name="line-style-in" value="##BpsIn" /> + <param name="line-color-in" value="##BpsIn" /> + <param name="line-order-in" value="1" /> + + <param name="ds-expr-out" value="{Packetsout}" /> + <param name="graph-legend-out" value="Packets per second out" /> + <param name="line-style-out" value="##BpsOut" /> + <param name="line-color-out" value="##BpsOut" /> + <param name="line-order-out" value="2" /> + </leaf> + <leaf name="Packetsin"> + <param name="comment"> + Packets IN for %descr% + </param> + <param name="vertical-label" value="pps"/> + <param name="graph-legend" value="Packets IN"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-1100"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolMemberPktsin.%INDEX%"/> + <param name="rrd-ds" value="Packetsin"/> + </leaf> + <leaf name="Packetsout"> + <param name="comment"> + Packets OUT for %descr% + </param> + <param name="vertical-label" value="pps"/> + <param name="graph-legend" value="Packets OUT"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_poolmember_%nick%.rrd"/> + <param name="precedence" value="-1100"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object" value="$poolMemberPktsout.%INDEX%"/> + <param name="rrd-ds" value="Packetsout"/> + </leaf> + </template> + + <template name="BigIp_4.x_sslProxy_Global"> + <leaf name="DupSynSSL"> + <param name="comment" value="Duplicate SYNs for SSL Traffic"/> + <param name="vertical-label" value="SYN/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_globalssl.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatVirtualServerDupSynSSL"/> + <param name="rrd-ds" value="DupSynSSL"/> + <param name="graph-legend" value="DupSynSSL"/> + </leaf> + <leaf name="SSLTimeouts"> + <param name="comment" value="SSL Timeouts/s"/> + <param name="vertical-label" value="Timeouts/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_globalssl.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$globalStatSSLTimeouts"/> + <param name="rrd-ds" value="SSLTimeouts"/> + <param name="graph-legend" value="SSL Timeouts/s"/> + </leaf> + </template> + + <template name="BigIp_4.x_sslProxy-currconn-overview"> + <param name="comment" value="Per SSL Proxy Current Connections"/> + <param name="precedence" value="-400"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="ssl"/> + <param name="overview-subleave-name-ssl" value="CurrentConn"/> + <param name="overview-shortcut-text-ssl" + value="All Current Connections"/> + <param name="overview-shortcut-title-ssl" + value="Show Current Connections Per SSL Proxy"/> + <param name="overview-page-title-ssl" + value="Current Connections Per SSL Proxy"/> + </template> + + <template name="BigIp_4.x_sslProxy"> + <param name="comment" value="%descr% Connection Limit: %connLimit%"/> + <leaf name="BitsIn"> + <param name="comment" value="SSL Proxy %descr% Bits In"/> + <param name="vertical-label" value="BitsIn/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="snmp-object" value="$sslProxyBitsin.%INDEX%"/> + <param name="rrd-ds" value="Bitsin"/> + <param name="graph-legend" value="Bits In/s"/> + </leaf> + <leaf name="BitsOut"> + <param name="comment" value="SSL Proxy %descr% Bits Out"/> + <param name="vertical-label" value="BitsOut/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-1000"/> + <param name="snmp-object" value="$sslProxyBitsout.%INDEX%"/> + <param name="rrd-ds" value="Bitsout"/> + <param name="graph-legend" value="Bits Out"/> + </leaf> + <leaf name="PktsIn"> + <param name="comment" value="SSL Proxy %descr% Packets In"/> + <param name="vertical-label" value="PacketsIn/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-100"/> + <param name="snmp-object" value="$sslProxyPktsin.%INDEX%"/> + <param name="rrd-ds" value="Pktsin"/> + <param name="graph-legend" value="Packets In"/> + </leaf> + <leaf name="PktsOut"> + <param name="comment" value="SSL Proxy %descr% Packets Out"/> + <param name="vertical-label" value="PacketsOut/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-100"/> + <param name="snmp-object" value="$sslProxyPktsout.%INDEX%"/> + <param name="rrd-ds" value="Pktsout"/> + <param name="graph-legend" value="Packets Out"/> + </leaf> + <leaf name="MaxConn"> + <param name="comment" value="SSL Proxy %descr% Max Connections"/> + <param name="vertical-label" value="MaxConnections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-500"/> + <param name="snmp-object" value="$sslProxyMaxConn.%INDEX%"/> + <param name="rrd-ds" value="MaxConn"/> + <param name="graph-legend" value="Max Connections"/> + </leaf> + <leaf name="CurrentConn"> + <param name="comment" value="SSL Proxy %descr% Current Connections"/> + <param name="vertical-label" value="CurrentConnections"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-600"/> + <param name="snmp-object" value="$sslProxyCurrentConn.%INDEX%"/> + <param name="rrd-ds" value="CurrentConn"/> + <param name="graph-legend" value="Current Connections"/> + </leaf> + <leaf name="TotalConn"> + <param name="comment" value="SSL Proxy %descr% Connections/s"/> + <param name="vertical-label" value="Connections/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-700"/> + <param name="snmp-object" value="$sslProxyTotalConn.%INDEX%"/> + <param name="rrd-ds" value="TotalConn"/> + <param name="graph-legend" value="Connections/s"/> + </leaf> + <leaf name="ClientInvalidVersions"> + <param name="comment" value="SSL Proxy %descr% Client Invalid Versions/s"/> + <param name="vertical-label" value="InvalidVersions/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-700"/> + <param name="snmp-object" value="$sslProxyClientInvalidVersions.%INDEX%"/> + <param name="rrd-ds" value="ClientInvalidVer"/> + <param name="graph-legend" value="InvalidVersions/s"/> + </leaf> + <leaf name="ServerInvalidVersions"> + <param name="comment" value="SSL Proxy %descr% Server Invalid Versions/s"/> + <param name="vertical-label" value="InvalidVersions/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_sslproxy_%nick%.rrd"/> + <param name="precedence" value="-700"/> + <param name="snmp-object" value="$sslProxyServerInvalidVersions.%INDEX%"/> + <param name="rrd-ds" value="ServerInvalidVer"/> + <param name="graph-legend" value="InvalidVersions/s"/> + </leaf> + </template> + + + <template name="BigIp_3.x"> + <leaf name="MaxConnections"> + <param name="hidden" value="yes"/> + <param name="comment"> + Max Connections per second + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_3.x_cons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$conmax"/> + <param name="rrd-ds" value="MaxConn"/> + <param name="graph-legend" value="MaxConns"/> + </leaf> + <leaf name="ConnectionRate"> + <param name="comment"> + Connections per second + </param> + <param name="vertical-label" value="connections/s"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_3.x_cons.rrd"/> + <param name="precedence" value="-200"/> + <param name="snmp-object" value="$contot"/> + <param name="rrd-ds" value="ConnRate"/> + <param name="graph-legend" value="Connections per second"/> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/foundry.xml b/torrus/xmlconfig/vendor/foundry.xml new file mode 100644 index 000000000..8fd06a0e4 --- /dev/null +++ b/torrus/xmlconfig/vendor/foundry.xml @@ -0,0 +1,268 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2008 Roman Hochuli + Copyright (C) 2010 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: foundry.xml,v 1.1 2010-12-27 00:04:17 ivan Exp $ + Roman Hochuli <roman@hochu.li> + +--> +<!-- Common Foundry definitions --> +<configuration> + <definitions> + <!-- Froundry Enterprise MIB OID --> + <!-- Temperature of the chassis. Each Unit is 0.5 degrees Celsius --> + <def name="fdrySnChasActualTemperature" + value="1.3.6.1.4.1.1991.1.1.1.1.18.0"/> + <def name="fdrySnAgentTempValues" + value="1.3.6.1.4.1.1991.1.1.2.13.1.1.4"/> + <def name="fdrySnAgentTempValue" + value="1.3.6.1.4.1.1991.1.1.2.13.1.1.4"/> + + <!-- CPU utilization --> + <def name="fdrySnAgGblCpuUtil1SecAvg" + value="1.3.6.1.4.1.1991.1.1.2.1.50.0"/> + <def name="fdrySnAgGblCpuUtil5SecAvg" + value="1.3.6.1.4.1.1991.1.1.2.1.51.0"/> + <def name="fdrySnAgGblCpuUtil1MinAvg" + value="1.3.6.1.4.1.1991.1.1.2.1.52.0"/> + <def name="fdrySnAgentCpuUtilValue" + value="1.3.6.1.4.1.1991.1.1.2.11.1.1.4"/> + <def name="fdrySnAgentCpuUtil100thPercent" + value="1.3.6.1.4.1.1991.1.1.2.11.1.1.6"/> + + <!-- Dynamic memory utilizaion --> + <def name="fdry_snAgGlbDynMemUtil" + value="1.3.6.1.4.1.1991.1.1.2.1.53.0"/> <!-- Percentage --> + <def name="fdry_snAgGlbDynMemTotal" + value="1.3.6.1.4.1.1991.1.1.2.1.54.0"/> <!-- Bytes --> + <def name="fdry_snAgGlbDynMemFree" + value="1.3.6.1.4.1.1991.1.1.2.1.55.0"/> <!-- Bytes --> + + <def name="fdrySnAgentBrdMemoryTotal" + value="1.3.6.1.4.1.1991.1.1.2.2.1.1.24"/> + <def name="fdrySnAgentBrdMemoryAvailable" + value="1.3.6.1.4.1.1991.1.1.2.2.1.1.25"/> + </definitions> + + + <datasources> + + <template name="fdry-chass-temperature"> + <param name="comment" value="management module temperature"/> + <param name="graph-title" value="%system-id%"/> + <param name="data-file" value="%system-id%_chassis_tempstats.rrd"/> + <param name="rrd-ds" value="chassis_actual"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="collector-scale" value="2,/"/> + <param name="snmp-object" value="$fdrySnChasActualTemperature"/> + <param name="graph-legend" value="Chassis temperature"/> + <param name="vertical-label" value="Degrees Celsius"/> + <param name="graph-upper-limit" value="%fdry-chastemp-shutdown%"/> + <param name="upper-limit" value="%fdry-chastemp-warning%"/> + </template> + + <template name="fdry-board-overview"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="all"/> + + <param name="overview-subleave-name-all"> + Memory_Statistics/Memory_Overview, + CPU_Statistics/CPU_Overview, + Temperature_Statistics/Temperature_Overview + </param> + <param name="overview-shortcut-text-all" + value="Overview"/> + <param name="overview-shortcut-title-all" + value="All important graphs on one page"/> + <param name="overview-page-title-all" + value="Linecard overview"/> + <param name="overview-direct-link-all" value="yes"/> + </template> + + <template name="fdry-board-subtree"> + <param name="comment" value="%fdry-board-descr%"/> + <param name="graph-title" + value="%system-id% Linecard %fdry-board-index%"/> + <param name="data-file" + value="%system-id%_linecard_%fdry-board-index%_%fdry-datafile%.rrd"/> + </template> + + <template name="fdry-board-memstats"> + <param name="comment" value="Linecard-specific memory statistics"/> + <param name="fdry-datafile" value="memorystats"/> + <param name="graph-lower-limit" value="0"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + + <leaf name="Memory_Overview"> + <param name="comment" value="Board memory statistics combined"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="total,avail,free"/> + + <param name="ds-expr-free" + value="{Memory_Total},{Memory_Available},-"/> + <param name="graph-legend-free" value="Memory Used"/> + <param name="line-style-free" value="AREA"/> + <param name="line-color-free" value="##three"/> + <param name="line-order-free" value="2"/> + + <param name="ds-expr-avail" value="{Memory_Available}"/> + <param name="graph-legend-avail" value="Memory Available"/> + <param name="line-style-avail" value="AREA"/> + <param name="line-color-avail" value="##one"/> + <param name="line-order-avail" value="3"/> + <param name="line-stack-avail" value="yes"/> + + <param name="ds-expr-total" value="{Memory_Total}"/> + <param name="graph-legend-total" value="Memory Total"/> + <param name="line-style-total" value="LINE2"/> + <param name="line-color-total" value="##two"/> + <param name="line-order-total" value="5"/> + + <param name="vertical-label" value="Bytes"/> + <param name="precedence" value="1000"/> + <param name="graph-lower-limit" value="0"/> + </leaf> + + <leaf name="Memory_Total"> + <param name="precedence" value="999"/> + <param name="rrd-ds" value="MemTotal"/> + <param name="snmp-object" + value="$fdrySnAgentBrdMemoryTotal.%fdry-board-index%"/> + <param name="comment" value="Number of total memory in bytes"/> + <param name="graph-legend" value="Total Memory"/> + </leaf> + + <leaf name="Memory_Available"> + <param name="precedence" value="998"/> + <param name="rrd-ds" value="MemAvail"/> + <param name="snmp-object" + value="$fdrySnAgentBrdMemoryAvailable.%fdry-board-index%"/> + <param name="comment" value="Number of available memory in bytes"/> + <param name="graph-legend" value="Available Memory"/> + </leaf> + </template> + + + + <template name="fdry-board-cpustats"> + <param name="comment" value="Linecard-specific cpu statistics"/> + <param name="fdry-datafile" value="cpustats"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + + <leaf name="CPU_Overview"> + <param name="comment" value="Board cpu statistics combined"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="5sec,1min,5min"/> + + <param name="ds-expr-5sec" value="{CPU_Total_5sec}"/> + <param name="graph-legend-5sec" value="5 second cpu usage"/> + <param name="line-style-5sec" value="LINE1"/> + <param name="line-color-5sec" value="##one"/> + <param name="line-order-5sec" value="1"/> + + <param name="ds-expr-1min" value="{CPU_Total_1min}"/> + <param name="graph-legend-1min" value="1 minute cpu usage"/> + <param name="line-style-1min" value="LINE1"/> + <param name="line-color-1min" value="##two"/> + <param name="line-order-1min" value="2"/> + + <param name="ds-expr-5min" value="{CPU_Total_5min}"/> + <param name="graph-legend-5min" value="5 minute cpu usage"/> + <param name="line-style-5min" value="LINE1"/> + <param name="line-color-5min" value="##three"/> + <param name="line-order-5min" value="3"/> + + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + </leaf> + + <leaf name="CPU_Total_5sec"> + <param name="precedence" value="-200"/> + <param name="snmp-object" + value="%fdry-cpu-base%.%fdry-board-index%.1.5"/> + <param name="rrd-ds" value="Total5sec"/> + <param name="collector-scale" value="0.01,*"/> + <param name="comment"> + The overall CPU busy percentage in the last 5 second period average + </param> + <param name="graph-legend" value="5 second cpu usage"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + </leaf> + + <leaf name="CPU_Total_1min"> + <param name="precedence" value="-201"/> + <param name="snmp-object" + value="%fdry-cpu-base%.%fdry-board-index%.1.60"/> + <param name="rrd-ds" value="Total1min"/> + <param name="collector-scale" value="0.01,*"/> + <param name="comment"> + The overall CPU busy percentage in the last 1 minute period average + </param> + <param name="graph-legend" value="1 minute cpu usage"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + </leaf> + + <leaf name="CPU_Total_5min"> + <param name="precedence" value="-202"/> + <param name="snmp-object" + value="%fdry-cpu-base%.%fdry-board-index%.1.300"/> + <param name="rrd-ds" value="Total5min"/> + <param name="collector-scale" value="0.01,*"/> + <param name="comment"> + The overall CPU busy percentage in the last 5 minute period average + </param> + <param name="graph-legend" value="5 minutes cpu usage"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + </leaf> + </template> + + + <template name="fdry-board-tempstats"> + <param name="comment" value="Linecard-specific temperature sensors"/> + <param name="fdry-datafile" value="tempstats"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + </template> + + + <template name="fdry-board-temp-sensor-halfcelsius"> + <param name="comment" value="%sensor-description%"/> + <param name="precedence" value="%sensor-precedence%"/> + <param name="rrd-ds" value="sensor_%sensor-index%"/> + <param name="collector-scale" value="2,/"/> + <param name="snmp-object" + value="$fdrySnAgentTempValue.%fdry-board-index%.%sensor-index%"/> + <param name="graph-legend" value="%sensor-short%"/> + <param name="vertical-label" value="Degrees Celsius"/> + </template> + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/ftos.xml b/torrus/xmlconfig/vendor/ftos.xml new file mode 100644 index 000000000..45d76bc37 --- /dev/null +++ b/torrus/xmlconfig/vendor/ftos.xml @@ -0,0 +1,155 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2009 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: ftos.xml,v 1.1 2010-12-27 00:04:18 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- Tested on Force10 E300 --> + +<configuration> + +<definitions> + + <!-- F10-CHASSIS-MIB::chSysCardTable --> + <def name="chSysCardUpperTemp" value="1.3.6.1.4.1.6027.3.1.1.2.3.1.8"/> + + <!-- F10-CHASSIS-MIB::chRpmUtilTable --> + <def name="chRpmCpuUtil5Sec" value="1.3.6.1.4.1.6027.3.1.1.3.7.1.3"/> + <def name="chRpmCpuUtil1Min" value="1.3.6.1.4.1.6027.3.1.1.3.7.1.4"/> + <def name="chRpmCpuUtil5Min" value="1.3.6.1.4.1.6027.3.1.1.3.7.1.5"/> + + <def name="chRpmMemUsageUtil" value="1.3.6.1.4.1.6027.3.1.1.3.7.1.6"/> + + <def name="chSysPowerSupplyOperStatus" + value="1.3.6.1.4.1.6027.3.1.1.2.1.1.2"/> + +</definitions> + + +<datasources> + <template name="ftos-cpu-subtree"> + <param name="data-file" value="%system-id%_cpu_%cpu-index%.rrd"/> + <param name="comment" value="Overall CPU busy percentage"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + <param name="graph-title" value="%system-id%: CPU %cpu-index%"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="5sec,1min,5min"/> + <!-- CPU usage / 5 Sec --> + <param name="overview-subleave-name-5sec" value="Util_5_Sec"/> + <param name="overview-shortcut-text-5sec" value="All CPUs usage 5 secs"/> + <param name="overview-shortcut-title-5sec" + value="Show all CPUs utilization for last 5 seconds in one page"/> + <param name="overview-page-title-5sec" value="CPU Usage Graphs"/> + <!-- CPU usage / 1 Min --> + <param name="overview-subleave-name-1min" value="Util_1_Min"/> + <param name="overview-shortcut-text-1min" value="All CPUs usage 1 min"/> + <param name="overview-shortcut-title-1min" + value="Show all CPUs utilization for last 1 minute in one page"/> + <param name="overview-page-title-1min" value="CPU Usage Graphs"/> + <!-- CPU usage / 5 Min --> + <param name="overview-subleave-name-5min" value="Util_5_Min"/> + <param name="overview-shortcut-text-5min" value="All CPUs usage 5 min"/> + <param name="overview-shortcut-title-5min" + value="Show all CPUs utilization for last 5 minute in one page"/> + <param name="overview-page-title-5min" value="CPU Usage Graphs"/> + </template> + + + <template name="ftos-cpu"> + <leaf name="Util_5_Sec"> + <param name="precedence" value="999"/> + <param name="rrd-ds" value="chRpmCpuUtil5Sec"/> + <param name="snmp-object" value="$chRpmCpuUtil5Sec.%cpu-index%"/> + <param name="comment" value="CPU utilization for last 5 seconds"/> + <param name="graph-legend" value="CPU util"/> + </leaf> + <leaf name="Util_1_Min"> + <param name="precedence" value="998"/> + <param name="rrd-ds" value="chRpmCpuUtil1Min"/> + <param name="snmp-object" value="$chRpmCpuUtil1Min.%cpu-index%"/> + <param name="comment" value="CPU utilization for last 1 minute"/> + <param name="graph-legend" value="CPU util"/> + </leaf> + <leaf name="Util_5_Min"> + <param name="precedence" value="997"/> + <param name="rrd-ds" value="chRpmCpuUtil5Min"/> + <param name="snmp-object" value="$chRpmCpuUtil5Min.%cpu-index%"/> + <param name="comment" value="CPU utilization for last 5 minutes"/> + <param name="graph-legend" value="CPU util"/> + </leaf> + </template> + + + <template name="ftos-power-supply-leaf"> + <param name="comment" value="Power supply #%power-index%"/> + <param name="graph-legend" value="Power supply #%power-index%"/> + <param name="graph-title" value="%system-id%: Power %power-index%"/> + <param name="rrd-ds" value="power_%power-index%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled" /> + <param name="snmp-object" + value="$chSysPowerSupplyOperStatus.%power-index%"/> + <param name="vertical-label" value="1 = Normal, 2 = Down"/> + </template> + + + <template name="ftos-temperature-subtree"> + <param name="comment" value="Temperature Sensors"/> + <param name="precedence" value="-500"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled" /> + </template> + + <!-- template to be applied inside the sensor leaf. + Two parameters must be defined: sensor-index and sensor-description --> + <template name="ftos-temperature-sensor"> + <param name="comment" value="%sensor-description%"/> + <param name="rrd-ds" value="sensor_%sensor-index%"/> + <param name="snmp-object" + value="$chSysCardUpperTemp.%sensor-index%"/> + <param name="graph-legend" value="%sensor-description%"/> + <param name="graph-lower-limit" value="15"/> + <param name="graph-upper-limit" value="70"/> + <param name="vertical-label" value="degrees Celsius"/> + </template> + + <!-- Temperature measured in degrees Fahrenheit --> + <template name="ftos-temperature-sensor-fahrenheit"> + <param name="comment" value="%sensor-description%"/> + <param name="rrd-ds" value="sensor_%sensor-index%"/> + <param name="snmp-object" + value="$chSysCardUpperTemp.%sensor-index%"/> + <param name="collector-scale" value="1.8,*,32,+" /> + <param name="graph-legend" value="%sensor-description%"/> + <param name="graph-lower-limit" value="59"/> + <param name="graph-upper-limit" value="158"/> + <param name="vertical-label" value="degrees Fahrenheit"/> + </template> + + + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/hp.hpux.xml b/torrus/xmlconfig/vendor/hp.hpux.xml new file mode 100644 index 000000000..ced0f82c9 --- /dev/null +++ b/torrus/xmlconfig/vendor/hp.hpux.xml @@ -0,0 +1,278 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Stanislav Sinyagin + Copyright (C) 2003 Aaron S. Bush <abush at microelectronics dot com> + + File: vendor/hp.hpux.xml + Description: HPUX System monitor definitions + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. +--> + +<!-- + Tested with HPUX 11.00 +--> + +<configuration> + +<definitions> + <!-- HP MIB --> + <def name="hpuxSystemUserCPU" + value="1.3.6.1.4.1.11.2.3.1.1.13" /> + <def name="hpuxSystemSysCPU" + value="1.3.6.1.4.1.11.2.3.1.1.14" /> + <def name="hpuxSystemIdleCPU" + value="1.3.6.1.4.1.11.2.3.1.1.15" /> + <def name="hpuxSystemNiceCPU" + value="1.3.6.1.4.1.11.2.3.1.1.16" /> + + <!-- returns lvol path; i.e. "/dev/vg00/lvol1" --> + <def name="hpuxFileSystemName" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.3" /> + + <def name="hpuxFileSystemBlock" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.4" /> + <def name="hpuxFileSystemBfree" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.5" /> + <def name="hpuxFileSystemBavail" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.6" /> + <def name="hpuxFileSystemFiles" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.8" /> + <def name="hpuxFileSystemFfree" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.9" /> + + <!-- returns mount point name; i.e. "/stand" --> + <def name="hpuxFileSystemDir" + value="1.3.6.1.4.1.11.2.3.1.2.2.1.10" /> + + <!-- FileSystem indices --> + <def name="FSIDX_DIR" value="M($hpuxFileSystemDir, %filesystem-name%)" /> + <def name="FSIDX_NAME" value="M($hpuxFileSystemName, %filesystem-name%)" /> + +</definitions> + +<datasources> + + <template name="hpux-cpu"> + <param name="data-file" value="%system-id%_CPU_Utilization.rrd" /> + + <leaf name="CPU_Utilization"> + <param name="comment" + value="User, System, Idle, and Nice CPU Utilization" /> + <param name="precedence" value="1000" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="user,system,idle,nice" /> + + <param name="ds-expr-user" value="{User_CPU}" /> + <param name="graph-legend-user" value="User" /> + <param name="line-style-user" value="AREA" /> + <param name="line-order-user" value="1" /> + <param name="line-color-user" value="#FF0000" /> + + <param name="ds-expr-system" value="{System_CPU}" /> + <param name="graph-legend-system" value="System" /> + <param name="line-style-system" value="STACK" /> + <param name="line-order-system" value="2" /> + <param name="line-color-system" value="#FFFF00" /> + + <param name="ds-expr-idle" value="{Idle_CPU}" /> + <param name="graph-legend-idle" value="Idle" /> + <param name="line-style-idle" value="STACK" /> + <param name="line-order-idle" value="3" /> + <param name="line-color-idle" value="#00FF00" /> + + <param name="ds-expr-nice" value="{Nice_CPU}" /> + <param name="graph-legend-nice" value="Nice" /> + <param name="line-style-nice" value="STACK" /> + <param name="line-order-nice" value="4" /> + <param name="line-color-nice" value="#99CCFF" /> + </leaf> <!-- CPU_Utilization --> + + <leaf name="User_CPU"> + <param name="snmp-object" value="$hpuxSystemUserCPU.0"/> + <param name="rrd-ds" value="hpuxSystemUserCPU" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment"> + Average time in seconds spent by all processors in User mode. + </param> + <param name="graph-legend" value="User CPU" /> + </leaf> + + <leaf name="System_CPU"> + <param name="snmp-object" value="$hpuxSystemSysCPU.0"/> + <param name="rrd-ds" value="hpuxSystemSysCPU" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment"> + Average time in seconds spent by all processors in System mode. + </param> + <param name="graph-legend" value="System CPU" /> + </leaf> + + <leaf name="Idle_CPU"> + <param name="snmp-object" value="$hpuxSystemIdleCPU.0"/> + <param name="rrd-ds" value="hpuxSystemIdleCPU" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment"> + Average time in seconds spent by all processors in Idle mode. + </param> + <param name="graph-legend" value="Idle CPU" /> + </leaf> + + <leaf name="Nice_CPU"> + <param name="snmp-object" value="$hpuxSystemNiceCPU.0"/> + <param name="rrd-ds" value="hpuxSystemNiceCPU" /> + <param name="rrd-create-dstype" value="COUNTER" /> + <param name="comment"> + Average time in seconds spent by all processors in Nice mode. + </param> + <param name="graph-legend" value="Nice CPU" /> + </leaf> + </template> <!-- hpux-cpu --> + + + <template name="hpux-filesystem"> + <param name="data-file" value="%system-id%_%filesystem%.rrd" /> + + <leaf name="FileSystem_Usage_Bytes"> + <param name="comment" value="File system usage" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="btotal,bfree,bfreeu" /> + <param name="precedence" value="900" /> + + <param name="ds-expr-btotal" value="{Blocks_Total},1024,*" /> + <param name="graph-legend-btotal" value="Blocks Total" /> + <param name="line-style-btotal" value="AREA" /> + <param name="line-order-btotal" value="1" /> + <param name="line-color-btotal" value="#00FF00" /> + + <param name="ds-expr-bfree" value="{Blocks_Free},1024,*" /> + <param name="graph-legend-bfree" value="Blocks Free" /> + <param name="line-style-bfree" value="AREA" /> + <param name="line-order-bfree" value="2" /> + <param name="line-color-bfree" value="#0000FF" /> + + <param name="ds-expr-bfreeu" value="{Blocks_Avail},1024,*" /> + <param name="graph-legend-bfreeu" + value="Blocks Avail. (non-superuser)" /> + <param name="line-style-bfreeu" value="AREA" /> + <param name="line-order-bfreeu" value="3" /> + <param name="line-color-bfreeu" value="#FFFF00" /> + </leaf> + + <leaf name="Blocks_Total"> + <param name="snmp-object" value="$hpuxFileSystemBlock.$FSIDX_DIR"/> + <param name="rrd-ds" value="hpuxFSBlocks" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment"> + Total blocks in file system. + </param> + <param name="graph-legend" value="Blocks Total" /> + </leaf> + + <leaf name="Bytes_Total"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Blocks_Total},1024,*" /> + <param name="comment"> + Total bytes in files system. + </param> + <param name="graph-legend" value="Bytes Total" /> + </leaf> + + <leaf name="Blocks_Free"> + <param name="snmp-object" value="$hpuxFileSystemBfree.$FSIDX_DIR"/> + <param name="rrd-ds" value="hpuxFSBfree" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment"> + Free blocks in file system. + </param> + <param name="graph-legend" value="Blocks Free" /> + </leaf> + + <leaf name="Bytes_Free"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Blocks_Free},1024,*" /> + <param name="comment"> + Free bytes in files system. + </param> + <param name="graph-legend" value="Bytes Free" /> + </leaf> + + <leaf name="Blocks_Avail"> + <param name="snmp-object" value="$hpuxFileSystemBavail.$FSIDX_DIR"/> + <param name="rrd-ds" value="hpuxFSBavail" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment"> + Free blocks avail to non-superuser. + </param> + <param name="graph-legend" value="Blocks Avail" /> + </leaf> + + <leaf name="Bytes_Avail"> + <param name="ds-type" value="rrd-file" /> + <param name="leaf-type" value="rrd-cdef" /> + <param name="rpn-expr" value="{Blocks_Avail},1024,*" /> + <param name="comment"> + Free bytes avail to non-superuser. + </param> + <param name="graph-legend" value="Bytes Avail" /> + </leaf> + + <leaf name="FileSystem_Node"> + <param name="comment" value="File system inode usage" /> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="itotal,ifree" /> + <param name="precedence" value="800" /> + + <param name="ds-expr-itotal" value="{Nodes_Total}" /> + <param name="graph-legend-itotal" value="inode Total" /> + <param name="graph-legend" + value="%itotal% {itotal} %Nodes_Total% {Nodes_Total}" /> + <param name="line-style-itotal" value="AREA" /> + <param name="line-order-itotal" value="1" /> + <param name="line-color-itotal" value="#00FF00" /> + + <param name="ds-expr-ifree" value="{Nodes_Free}" /> + <param name="graph-legend-ifree" value="inode Free" /> + <param name="line-style-ifree" value="AREA" /> + <param name="line-order-ifree" value="1" /> + <param name="line-color-ifree" value="#0000FF" /> + </leaf> + + <leaf name="Nodes_Total"> + <param name="snmp-object" value="$hpuxFileSystemFiles.$FSIDX_DIR"/> + <param name="rrd-ds" value="hpuxFSFiles" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment"> + Total file nodes in file system. + </param> + <param name="graph-legend" value="Nodes Total" /> + </leaf> + + <leaf name="Nodes_Free"> + <param name="snmp-object" value="$hpuxFileSystemFfree.$FSIDX_DIR"/> + <param name="rrd-ds" value="hpuxFSFfree" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="comment"> + Free file nodes in file system. + </param> + <param name="graph-legend" value="Nodes Free" /> + </leaf> + + </template> <!-- hpux-filesystem --> + +</datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/jacarta.xml b/torrus/xmlconfig/vendor/jacarta.xml new file mode 100644 index 000000000..3dab3eb81 --- /dev/null +++ b/torrus/xmlconfig/vendor/jacarta.xml @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2010 Roman Hochuli + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + Jacarta iMeter-Products + + $Id: jacarta.xml,v 1.1 2010-12-27 00:04:23 ivan Exp $ +--> + + +<configuration> + <definitions> + <def name="jacarta_sensorEntry" + value="1.3.6.1.4.1.19011.2.3.1.1"/> + <def name="jacarta_sensorValue" + value="1.3.6.1.4.1.19011.2.3.1.1.4"/> + </definitions> + + <datasources> + + <template name="imeter-sensor"> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%imeter-sensor-index%" /> + <param name="data-file" + value="%system-id%_sensor_%imeter-sensor-index%.rrd"/> + <param name="rrd-ds" value="value"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="nodeid" + value="sensor//%nodeid-device%//%imeter-sensor-index%"/> + </template> + + <template name="imeter-humi-sensor"> + <apply-template name="imeter-sensor"/> + <param name="snmp-object" + value="$jacarta_sensorValue.%imeter-sensor-index%"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="90" /> + <param name="vertical-label" value="Percent" /> + <param name="comment" value="Humidity sensor" /> + </template> + + <template name="imeter-temp-sensor"> + <apply-template name="imeter-sensor"/> + <param name="snmp-object" + value="$jacarta_sensorValue.%imeter-sensor-index%"/> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="50" /> + <param name="upper-limit" value="35" /> + <param name="vertical-label" value="Degrees Celsius" /> + <param name="comment" value="Temperature sensor" /> + </template> + + <template name="imeter-amps-sensor"> + <apply-template name="imeter-sensor"/> + <param name="snmp-object" + value="$jacarta_sensorValue.%imeter-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="38" /> + <param name="upper-limit" value="32" /> + <param name="vertical-label" value="Ampere" /> + <param name="comment" value="Electrical current meter" /> + </template> + + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/junos.xml b/torrus/xmlconfig/vendor/junos.xml new file mode 100644 index 000000000..5b2af89bd --- /dev/null +++ b/torrus/xmlconfig/vendor/junos.xml @@ -0,0 +1,775 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2007 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: junos.xml,v 1.1 2010-12-27 00:04:23 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- Tested on Juniper Operating system for M/T series routers --> + +<configuration> + +<definitions> + <!-- JUNIPER-MIB::chassis --> + <def name="jnxOperatingTemp" value="1.3.6.1.4.1.2636.3.1.13.1.7"/> + <def name="jnxOperatingCPU" value="1.3.6.1.4.1.2636.3.1.13.1.8"/> + <def name="jnxOperatingISR" value="1.3.6.1.4.1.2636.3.1.13.1.9"/> + <def name="jnxOperatingBuffer" value="1.3.6.1.4.1.2636.3.1.13.1.11"/> + <def name="jnxOperatingHeap" value="1.3.6.1.4.1.2636.3.1.13.1.12"/> + <def name="jnxOperatingMemory" value="1.3.6.1.4.1.2636.3.1.13.1.15"/> + + <!-- JUNIPER-FIREWALL-MIB --> + <def name="jnxFWCounterPacketCount" value="1.3.6.1.4.1.2636.3.5.2.1.4"/> + <def name="jnxFWCounterByteCount" value="1.3.6.1.4.1.2636.3.5.2.1.5"/> + + <!-- JUNIPER-COS-MIB --> + <def name="jnxCosQstatQedPkts" value="1.3.6.1.4.1.2636.3.15.4.1.3"/> + <def name="jnxCosQstatQedPktRate" value="1.3.6.1.4.1.2636.3.15.4.1.4"/> + <def name="jnxCosQstatQedBytes" value="1.3.6.1.4.1.2636.3.15.4.1.5"/> + <def name="jnxCosQstatQedByteRate" value="1.3.6.1.4.1.2636.3.15.4.1.6"/> + + <def name="jnxCosQstatTxedPkts" value="1.3.6.1.4.1.2636.3.15.4.1.7"/> + <def name="jnxCosQstatTxedPktRate" value="1.3.6.1.4.1.2636.3.15.4.1.8"/> + <def name="jnxCosQstatTxedBytes" value="1.3.6.1.4.1.2636.3.15.4.1.9"/> + <def name="jnxCosQstatTxedByteRate" value="1.3.6.1.4.1.2636.3.15.4.1.10"/> + + <def name="jnxCosQstatTailDropPkts" value="1.3.6.1.4.1.2636.3.15.4.1.11"/> + <def name="jnxCosQstatTailDropPktRate" value="1.3.6.1.4.1.2636.3.15.4.1.12"/> + + <def name="jnxCosQstatTotalRedDropPkts" + value="1.3.6.1.4.1.2636.3.15.4.1.13" /> + <def name="jnxCosQstatTotalRedDropPktRate" + value="1.3.6.1.4.1.2636.3.15.4.1.14" /> + <def name="jnxCosQstatLpNonTcpRedDropPkts" + value="1.3.6.1.4.1.2636.3.15.4.1.15" /> + <def name="jnxCosQstatLpNonTcpRDropPktRate" + value="1.3.6.1.4.1.2636.3.15.4.1.16" /> + <def name="jnxCosQstatLpTcpRedDropPkts" + value="1.3.6.1.4.1.2636.3.15.4.1.17" /> + <def name="jnxCosQstatLpTcpRedDropPktRate" + value="1.3.6.1.4.1.2636.3.15.4.1.18" /> + <def name="jnxCosQstatHpNonTcpRedDropPkts" + value="1.3.6.1.4.1.2636.3.15.4.1.19" /> + <def name="jnxCosQstatHpNonTcpRDropPktRate" + value="1.3.6.1.4.1.2636.3.15.4.1.20" /> + <def name="jnxCosQstatHpTcpRedDropPkts" + value="1.3.6.1.4.1.2636.3.15.4.1.21" /> + <def name="jnxCosQstatHpTcpRedDropPktRate" + value="1.3.6.1.4.1.2636.3.15.4.1.22" /> + <def name="jnxCosQstatTotalRedDropBytes" + value="1.3.6.1.4.1.2636.3.15.4.1.23" /> + <def name="jnxCosQstatTotalRedDropByteRate" + value="1.3.6.1.4.1.2636.3.15.4.1.24" /> + <def name="jnxCosQstatLpNonTcpRedDropBytes" + value="1.3.6.1.4.1.2636.3.15.4.1.25" /> + <def name="jnxCosQstatLpNonTcpRDropByteRate" + value="1.3.6.1.4.1.2636.3.15.4.1.26" /> + <def name="jnxCosQstatLpTcpRedDropBytes" + value="1.3.6.1.4.1.2636.3.15.4.1.27" /> + <def name="jnxCosQstatLpTcpRedDropByteRate" + value="1.3.6.1.4.1.2636.3.15.4.1.28" /> + <def name="jnxCosQstatHpNonTcpRedDropBytes" + value="1.3.6.1.4.1.2636.3.15.4.1.29" /> + <def name="jnxCosQstatHpNonTcpRDropByteRate" + value="1.3.6.1.4.1.2636.3.15.4.1.30" /> + <def name="jnxCosQstatHpTcpRedDropBytes" + value="1.3.6.1.4.1.2636.3.15.4.1.31" /> + <def name="jnxCosQstatHpTcpRedDropByteRate" + value="1.3.6.1.4.1.2636.3.15.4.1.32" /> + + <!-- JUNIPER-RPF-MIB::jnxRpfStatsTable --> + <def name="jnxRpfStatsPackets" value="1.3.6.1.4.1.2636.3.17.1.1.1.3"/> + <def name="jnxRpfStatsBytes" value="1.3.6.1.4.1.2636.3.17.1.1.1.4"/> +</definitions> + + +<datasources> + <template name="junos-cos-subtree"> + <param name="comment" value="Class of Service"/> + </template> + + + <template name="junos-cos-subtree-interface"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" + value="queuedPktRate,queuedByteRate,queuedBpsRate, + xmitPktRate,xmitByteRate,xmitBpsRate"/> + <!-- Queued Packet Rate --> + <param name="overview-subleave-name-queuedPktRate" + value="Queued_Packet_Rate"/> + <param name="overview-shortcut-text-queuedPktRate" + value="All queued packet rates"/> + <param name="overview-shortcut-title-queuedPktRate" + value="Show all queued packet rates in one page"/> + <param name="overview-page-title-queuedPktRate" + value="Output queued packet rates per class"/> + <!-- Queued Byte Rate --> + <param name="overview-subleave-name-queuedByteRate" + value="Queued_Byte_Rate"/> + <param name="overview-shortcut-text-queuedByteRate" + value="All queued byte rates"/> + <param name="overview-shortcut-title-queuedByteRate" + value="Show all queued byte rates in one page"/> + <param name="overview-page-title-queuedByteRate" + value="Output queued byte rates per class"/> + <!-- Queued Byte Rate (in BPS) --> + <param name="overview-subleave-name-queuedBpsRate" + value="Queued_Bps_Rate"/> + <param name="overview-shortcut-text-queuedBpsRate" + value="All queued bit rates (in Bps)"/> + <param name="overview-shortcut-title-queuedBpsRate" + value="Show all queued bit rates in one page"/> + <param name="overview-page-title-queuedBpsRate" + value="Output queued byte rates per class"/> + <!-- Transmitted Packet Rate --> + <param name="overview-subleave-name-xmitPktRate" + value="Transmitted_Packet_Rate"/> + <param name="overview-shortcut-text-xmitPktRate" + value="All queue packet transmit rates"/> + <param name="overview-shortcut-title-xmitPktRate" + value="Show all queue packet transmit rates in one page"/> + <param name="overview-page-title-xmitPktRate" + value="Output queue packet transmitted rates per class"/> + <!-- Transmitted Byte Rate --> + <param name="overview-subleave-name-xmitByteRate" + value="Transmitted_Byte_Rate"/> + <param name="overview-shortcut-text-xmitByteRate" + value="All queue byte transmit rates"/> + <param name="overview-shortcut-title-xmitByteRate" + value="Show all queue byte transmit rates in one page"/> + <param name="overview-page-title-xmitByteRate" + value="Output queue byte transmitted rates per class"/> + <!-- Transmitted Byte Rate (in BPS) --> + <param name="overview-subleave-name-xmitBpsRate" + value="Transmitted_Bps_Rate"/> + <param name="overview-shortcut-text-xmitBpsRate" + value="All queue bit transmit rates (in Bps)"/> + <param name="overview-shortcut-title-xmitBpsRate" + value="Show all queue bit transmit rates in one page"/> + <param name="overview-page-title-xmitBpsRate" + value="Output queue bit transmitted rates per class"/> + </template> + + + <template name="junos-cos-leaf"> + <param name="comment" value="%cos-name%"/> + <param name="data-file" + value="%system-id%_cos_%ifName%_out_%cos-name%.rrd"/> + <param name="graph-title" value="%system-id%:%ifName%:%cos-name%"/> + <param name="graph-lower-limit" value="0"/> + <param name="snmp-object-type" value="COUNTER64" /> + + <!-- Queued packet/byte stats --> + <leaf name="Queued_Packets"> + <param name="comment" + value="Total number of packets queued"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="904"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="QedPkts"/> + <param name="snmp-object" + value="$jnxCosQstatQedPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Queued_Packet_Rate"> + <param name="comment" + value="The rate at which packets were queued"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="903"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="QedPktRate"/> + <param name="snmp-object" + value="$jnxCosQstatQedPktRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Queued_Bytes"> + <param name="comment" + value="Number of bytes queued at the output"/> + <param name="graph-legend" value="Bytes"/> + <param name="precedence" value="902"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="QedBytes"/> + <param name="snmp-object" + value="$jnxCosQstatQedBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Queued_Byte_Rate"> + <param name="comment" + value="The rate at which bytes were queued"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="901"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="QedByteRate"/> + <param name="snmp-object" + value="$jnxCosQstatQedByteRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Queued_Bps_Rate"> + <param name="comment" + value="The rate at which bytes were queued (shown in Bps)"/> + <param name="graph-legend" value="Bits per second"/> + <param name="precedence" value="800"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Queued_Byte_Rate},8,*"/> + </leaf> + + <!-- Transmitted packet/byte stats --> + <leaf name="Transitmitted_Packets"> + <param name="comment" + value="Number of packets transmitted on the queue"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="804"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="TxedPkts"/> + <param name="snmp-object" + value="$jnxCosQstatTxedPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Transmitted_Packet_Rate"> + <param name="comment" + value="Output queue's packet transmit rate"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="803"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="TxedPktRate"/> + <param name="snmp-object" + value="$jnxCosQstatTxedPktRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Transmitted_Bytes"> + <param name="comment" + value="Number of bytes transmitted on the queue"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="802"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="TxedBytes"/> + <param name="snmp-object" + value="$jnxCosQstatTxedBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Transmitted_Byte_Rate"> + <param name="comment" + value="The queue's current transmit rate in bytes per second"/> + <param name="graph-legend" value="Bytes per second"/> + <param name="precedence" value="801"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="TxedByteRate"/> + <param name="snmp-object" + value="$jnxCosQstatTxedByteRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Transmitted_Bps_Rate"> + <param name="comment" + value="Queue's current transmit rate in bits per second"/> + <param name="graph-legend" value="Bits per second"/> + <param name="precedence" value="800"/> + <param name="vertical-label" value="bps"/> + <param name="ds-type" value="rrd-file"/> + <param name="leaf-type" value="rrd-cdef"/> + <param name="rpn-expr" value="{Transmitted_Byte_Rate},8,*"/> + </leaf> + </template> + + + <template name="junos-cos-tail"> + <param name="comment" value="%cos-name%"/> + <param name="data-file" + value="%system-id%_cos_tail_%ifName%_out_%cos-name%.rrd"/> + <param name="graph-title" value="%system-id%:%ifName%:%cos-name%"/> + <param name="graph-lower-limit" value="0"/> + + <!-- Tail-dropped packet stats --> + <leaf name="Tail_Dropped_Packets"> + <param name="comment" + value="Number of packets tail dropped"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="702"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="TailDropPkts"/> + <param name="snmp-object" + value="$jnxCosQstatTailDropPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Tail_Dropped_Packet_Rate"> + <param name="comment" + value="Tail drop packet rate for the queue"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="701"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="TailDropPktRate"/> + <param name="snmp-object" + value="$jnxCosQstatTailDropPktRate.%ifIndex%.%cos-index%"/> + </leaf> + </template> + + + <template name="junos-cos-red"> + <param name="comment" value="%cos-name%"/> + <param name="data-file" + value="%system-id%_cos_red_%ifName%_out_%cos-name%.rrd"/> + <param name="graph-title" value="%system-id%:%ifName%:%cos-name%"/> + <param name="graph-lower-limit" value="0"/> + + <!-- RED-dropped packet stats --> + <leaf name="Dropped_Packets"> + <param name="comment" + value="Total number of packets dropped due to RED"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="610"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="TotalRedDropPkts"/> + <param name="snmp-object" + value="$jnxCosQstatTotalRedDropPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Dropped_Packet_Rate"> + <param name="comment" + value="Most recent estimate of per-second RED-dropped pkts"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="609"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="TotalRedDropPktRate"/> + <param name="snmp-object" + value="$jnxCosQstatTotalRedDropPktRate.%ifIndex%.%cos-index%"/> + </leaf> + + + <!-- RED: PLP Packet information --> + <leaf name="Low_priority_Non_TCP_Dropped_Packets"> + <param name="comment" + value="Low Priority - PLP Non-TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="608"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="LpNonTcpRedDropPkts"/> + <param name="snmp-object" + value="$jnxCosQstatLpNonTcpRedDropPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_Non_TCP_Dropped_Packet_Rate"> + <param name="comment" + value="Low Priority - PLP rate of Non-TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="607"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="LpNonTcpRDropPktRat"/> + <param name="snmp-object" + value="$jnxCosQstatLpNonTcpRDropPktRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_TCP_Dropped_Packets"> + <param name="comment" + value="Low Priority - PLP TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="606"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="LpTcpRedDropPkts"/> + <param name="snmp-object" + value="$jnxCosQstatLpTcpRedDropPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_TCP_Dropped_Packet_Rate"> + <param name="comment" + value="Low Priority - PLP rate of TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="605"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="LpTcpRedDropPktRate"/> + <param name="snmp-object" + value="$jnxCosQstatLpTcpRedDropPktRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_Non_TCP_Dropped_Packets"> + <param name="comment" + value="High Priority - PLP Non-TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="604"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="HpNonTcpRedDropPkts"/> + <param name="snmp-object" + value="$jnxCosQstatHpNonTcpRedDropPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_Non_TCP_Dropped_Packet_Rate"> + <param name="comment" + value="High Priority - PLP rate of non-TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="603"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="HpNonTcpRDropPktRat"/> + <param name="snmp-object" + value="$jnxCosQstatHpNonTcpRDropPktRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_TCP_Dropped_Packets"> + <param name="comment" + value="High Priority - PLP TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="602"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="HpTcpRedDropPkts"/> + <param name="snmp-object" + value="$jnxCosQstatHpTcpRedDropPkts.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_TCP_Dropped_Packet_Rate"> + <param name="comment" + value="High Priority - PLP rate of TCP packets RED-dropped"/> + <param name="graph-legend" value="Packets per second"/> + <param name="precedence" value="601"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="HpTcpRedDropPktRate"/> + <param name="snmp-object" + value="$jnxCosQstatHpTcpRedDropPktRate.%ifIndex%.%cos-index%"/> + </leaf> + + + <!-- RED-dropped byte stats --> + <leaf name="Total_Dropped_Bytes"> + <param name="comment" + value="Total number of bytes RED-dropped at the output"/> + <param name="graph-legend" value="Packets"/> + <param name="precedence" value="510"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="TotalRedDropBytes"/> + <param name="snmp-object" + value="$jnxCosQstatTotalRedDropBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Total_Dropped_Byte_Rate"> + <param name="comment" + value="Rate at which bytes were RED-dropped"/> + <param name="graph-legend" value="Bytes per second"/> + <param name="precedence" value="509"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="TotalRedDropByteRat"/> + <param name="snmp-object" + value="$jnxCosQstatTotalRedDropByteRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_Non_TCP_Dropped_Bytes"> + <param name="comment" + value="Low Priority - PLP Non-TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes"/> + <param name="precedence" value="508"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="LpNonTcpRedDropByte"/> + <param name="snmp-object" + value="$jnxCosQstatLpNonTcpRedDropBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_Non_TCP_Dropped_Packet_Rate"> + <param name="comment" + value="Low Priority - PLP rate of non-TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes per second"/> + <param name="precedence" value="507"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="LpNonTcpRDropByteR"/> + <param name="snmp-object" + value="$jnxCosQstatLpNonTcpRDropByteRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_TCP_Dropped_Bytes"> + <param name="comment" + value="Low Priority - PLP TCP byte RED-dropped"/> + <param name="graph-legend" value="Bytes"/> + <param name="precedence" value="506"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="LpTcpRedDropBytes"/> + <param name="snmp-object" + value="$jnxCosQstatLpTcpRedDropBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="Low_priority_TCP_Dropped_Byte_Rate"> + <param name="comment" + value="Low Priority - PLP rate of TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes per second"/> + <param name="precedence" value="505"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="LpTcpRedDropByteRat"/> + <param name="snmp-object" + value="$jnxCosQstatLpTcpRedDropByteRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_Non_TCP_Dropped_Bytes"> + <param name="comment" + value="High Priority - PLP Non-TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes"/> + <param name="precedence" value="504"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="HpNonTcpRedDropByte"/> + <param name="snmp-object" + value="$jnxCosQstatHpNonTcpRedDropBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_Non_TCP_Dropped_Byte_Rate"> + <param name="comment" + value="High Priority - PLP rate of non-TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes per second"/> + <param name="precedence" value="503"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="HpNonTcpRDropByteR"/> + <param name="snmp-object" + value="$jnxCosQstatHpNonTcpRDropByteRate.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_TCP_Dropped_Bytes"> + <param name="comment" + value="High Priority - PLP TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes"/> + <param name="precedence" value="502"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="HpTcpRedDropBytes"/> + <param name="snmp-object" + value="$jnxCosQstatHpTcpRedDropBytes.%ifIndex%.%cos-index%"/> + </leaf> + <leaf name="High_priority_TCP_Dropped_Byte_Rate"> + <param name="comment" + value="High Priority - PLP rate of TCP bytes RED-dropped"/> + <param name="graph-legend" value="Bytes per second"/> + <param name="precedence" value="501"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="HpTcpRedDropByteR"/> + <param name="snmp-object" + value="$jnxCosQstatHpTcpRedDropByteRate.%ifIndex%.%cos-index%"/> + </leaf> + </template> + + + <template name="junos-cpu-subtree"> + <param name="data-file" value="%system-id%_cpu_%cpu-index%.rrd"/> + <param name="comment" value="Overall CPU busy percentage"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="vertical-label" value="Percent"/> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="cpu"/> + <!-- CPU usage --> + <param name="overview-subleave-name-cpu" value="CPU_Total"/> + <param name="overview-shortcut-text-cpu" value="All CPUs usage"/> + <param name="overview-shortcut-title-cpu" + value="Show all CPUs minute average usage in one page"/> + <param name="overview-page-title-cpu" value="CPU Usage Graphs"/> + <param name="descriptive-nickname" + value="%system-id%:CPU #%comment%"/> + </template> + + + <template name="junos-cpu"> + <leaf name="CPU_Total"> + <param name="rrd-ds" value="cpuUsage"/> + <param name="snmp-object" value="$jnxOperatingCPU.%cpu-index%"/> + <param name="comment" value="The overall CPU busy percentage"/> + <param name="graph-legend" value="CPU usage"/> + </leaf> + </template> + + + <template name="junos-firewall-subtree"> + <param name="comment" value="Firewall filter statistics"/> + </template> + + + <template name="junos-firewall-filter-subtree"> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="bps,packets"/> + <param name="graph-title" value="%system-id%:%fw-filter%:%fw-counter%"/> + <!-- Bytes --> + <param name="overview-subleave-name-bps" value="Bps"/> + <param name="overview-shortcut-text-bps" value="All Bps rates"/> + <param name="overview-shortcut-title-bps" + value="Show bps rates on one page"/> + <param name="overview-page-title-bps" + value="Bps rates per firewall filter counter"/> + <!-- Packets --> + <param name="overview-subleave-name-packets" value="Packets"/> + <param name="overview-shortcut-text-packets" value="All packet rates"/> + <param name="overview-shortcut-title-packets" + value="Show packet rates on one page"/> + <param name="overview-page-title-packets" + value="Packet rates per firewall filter counter/policer"/> + </template> + + + <template name="junos-firewall-filter"> + <param name="data-file" + value="%system-id%_fw_%fw-filter%_%fw-counter%.rrd"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64"/> + <param name="rrd-hwpredict" value="disabled"/> + <param name="graph-title" value="%system-id%:%fw-filter%:%fw-counter%"/> + </template> + + + <template name="junos-firewall-filter-counter"> + <leaf name="Bps"> + <param name="comment" value="Bits per second"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="bytes"/> + <!-- Multigraph --> + <param name="ds-expr-bytes" value="{Bytes},8,*"/> + <param name="graph-legend-bytes" value="Bits per second"/> + <param name="line-style-bytes" value="LINE2"/> + <param name="line-color-bytes" value="##two"/> + <param name="line-order-bytes" value="1"/> + </leaf> + <leaf name="Bytes"> + <param name="comment" value="Number of bytes being counted"/> + <param name="rrd-ds" value="Bytes"/> + <param name="graph-legend" value="Bytes"/> + <param name="vertical-label" value="Bytes/s"/> + <param name="snmp-object" value="$jnxFWCounterByteCount.%fw-index%"/> + </leaf> + </template> + + + <template name="junos-firewall-filter-policer"> + <leaf name="Packets"> + <param name="comment" value="Number of packets being counted"/> + <param name="rrd-ds" value="Packets"/> + <param name="graph-legend" value="Packets"/> + <param name="vertical-label" value="pps"/> + <param name="snmp-object" value="$jnxFWCounterPacketCount.%fw-index%"/> + </leaf> + </template> + + + <template name="junos-memory-subtree"> + <param name="data-file" value="%system-id%_mem_%mem-indexFix%.rrd"/> + <param name="comment" value="DRAM, buffer and heap information"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled" /> + <param name="graph-lower-limit" value="0" /> + + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="mem,buffer,heap"/> + <!-- DRAM size --> + <param name="overview-subleave-name-mem" value="Memory"/> + <param name="overview-shortcut-text-mem" value="All memory sizes"/> + <param name="overview-shortcut-title-mem" + value="Show all memory size in one page"/> + <param name="overview-page-title-mem" + value="Memory Size Graphs"/> + <!-- Buffer pool utilization --> + <param name="overview-subleave-name-buffer" value="Buffer_utilization"/> + <param name="overview-shortcut-text-buffer" value="All buffer pool util"/> + <param name="overview-shortcut-title-buffer" + value="Show all buffer pool utilization in one page"/> + <param name="overview-page-title-buffer" + value="Buffer Pool Graphs"/> + <!-- Heap utilization --> + <param name="overview-subleave-name-heap" value="Heap_utilization"/> + <param name="overview-shortcut-text-heap" value="All Heap Utilization"/> + <param name="overview-shortcut-title-heap" + value="Show all heap utilization in one page"/> + <param name="overview-page-title-heap" + value="Heap Utilization Graphs"/> + + <param name="descriptive-nickname" + value="%system-id%: Memory Size"/> + </template> + + + <template name="junos-memory"> + <leaf name="Memory"> + <param name="comment" value="Memory size in bytes"/> + <param name="precedence" value="1000"/> + <param name="snmp-object" value="$jnxOperatingMemory.%mem-index%"/> + <param name="rrd-ds" value="dram_%mem-indexFix%"/> + <param name="graph-legend" value="Memory Size"/> + <param name="line-style" value="##totalresource"/> + <param name="line-color" value="##totalresource"/> + <param name="vertical-label" value="Bytes"/> + </leaf> + <leaf name="Buffer_utilization"> + <param name="comment" value="Buffer pool util in percentage"/> + <param name="snmp-object" value="$jnxOperatingBuffer.%mem-index%"/> + <param name="rrd-ds" value="buffer_%mem-indexFix%"/> + <param name="graph-legend" value="Buffer Pool Utilization"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="line-style" value="##resourceusage" /> + <param name="line-color" value="##resourceusage" /> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="Heap_utilization"> + <param name="comment" value="Heap util in percentage"/> + <param name="snmp-object" value="$jnxOperatingHeap.%mem-index%"/> + <param name="rrd-ds" value="heap_%mem-indexFix%"/> + <param name="graph-legend" value="Heap Utilization"/> + <param name="graph-upper-limit" value="100"/> + <param name="upper-limit" value="80"/> + <param name="line-style" value="##resourceusage" /> + <param name="line-color" value="##resourceusage" /> + <param name="vertical-label" value="Percent"/> + </leaf> + </template> + + + <template name="junos-rpf-subtree"> + <param name="comment" value="Reverse Path Forwarding statistics"/> + <param name="has-overview-shortcuts" value="yes"/> + <param name="overview-shortcuts" value="bytes,packets"/> + <param name="graph-title" value="%system-id%:%ifName%"/> + <!-- Bytes --> + <param name="overview-subleave-name-bytes" value="Bytes"/> + <param name="overview-shortcut-text-bytes" value="Bytes received"/> + <param name="overview-shortcut-title-bytes" + value="Show bytes received on one page"/> + <param name="overview-page-title-bytes" + value="Bytes received on interface"/> + <!-- Packets --> + <param name="overview-subleave-name-packets" value="Packets"/> + <param name="overview-shortcut-text-packets" value="Packets received"/> + <param name="overview-shortcut-title-packets" + value="Show packets on one page"/> + <param name="overview-page-title-packets" + value="Packets received on one page"/> + </template> + + + <template name="junos-rpf"> + <param name="comment" value="%ifAddrType%: %ifName%"/> + <param name="data-file" + value="%system-id%_rpf_%ifAddrType%_%ifNameT%.rrd"/> + <param name="graph-title" value="%system-id%:%ifName%:%ifAddrType%"/> + <param name="graph-lower-limit" value="0"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="snmp-object-type" value="COUNTER64" /> + + <leaf name="Packets"> + <param name="precedence" value="999"/> + <param name="rrd-ds" value="Pkts"/> + <param name="snmp-object" value="$jnxRpfStatsPackets.%rpfIndex%"/> + <param name="comment" + value="Number of packets rejected due to RPF processing"/> + <param name="graph-legend" value="RPF rejects"/> + </leaf> + <leaf name="Bytes"> + <param name="precedence" value="998"/> + <param name="rrd-ds" value="Bytes"/> + <param name="snmp-object" value="$jnxRpfStatsBytes.%rpfIndex%"/> + <param name="comment" + value="Number of bytes rejected due to RPF processing"/> + <param name="graph-legend" value="RPF rejects"/> + </leaf> + </template> + + + <template name="junos-temperature-subtree"> + <param name="data-file" value="%system-id%_sensor_%sensor-indexFix%.rrd"/> + <param name="comment" value="Temperature Sensors"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-hwpredict" value="disabled"/> + <param name="graph-title" value="%system-id%:%sensor-desc%"/> + </template> + + + <template name="junos-temperature-sensor"> + <param name="rrd-ds" value="sensor_%sensor-indexFix%"/> + <param name="snmp-object" value="$jnxOperatingTemp.%sensor-index%"/> + <param name="graph-legend" value="%sensor-desc%"/> + <param name="graph-lower-limit" value="15"/> + <param name="graph-upper-limit" value="70"/> + <param name="vertical-label" value="degrees Celsius"/> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/liebert.xml b/torrus/xmlconfig/vendor/liebert.xml new file mode 100644 index 000000000..223bd0ec9 --- /dev/null +++ b/torrus/xmlconfig/vendor/liebert.xml @@ -0,0 +1,405 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2008 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: liebert.xml,v 1.1 2010-12-27 00:04:25 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- + Liebert HVAC systems + --> + +<configuration> + +<definitions> + <!-- LIEBERT-GP-ENVIRONMENTAL-MIB --> + <!-- Temperature: Fahrenheit (not used due to celcius being converted) --> + <def name="TempSettingDegF" value="1.3.6.1.4.1.476.1.42.3.4.1.2.1.0"/> + <def name="TempToleranceDegF" value="1.3.6.1.4.1.476.1.42.3.4.1.2.2.0"/> + <def name="TempMeasurementDegF" value="1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.0"/> + <def name="TempHighThreshDegF" value="1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.4.0"/> + <def name="TempLowThreshDegF" value="1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.5.0"/> + <!-- Temperature: Celcius (not used due to preferred indexing --> + <def name="TempSettingDegC" value="1.3.6.1.4.1.476.1.42.3.4.1.3.1.0"/> + <def name="TempToleranceDegC" value="1.3.6.1.4.1.476.1.42.3.4.1.3.2.0"/> + <def name="TempMeasurementDegC" value="1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.3.0"/> + <def name="TempHighThreshDegC" value="1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.4.0"/> + <def name="TempLowThreshDegC" value="1.3.6.1.4.1.476.1.42.3.4.1.3.3.1.5.0"/> + + <!-- Temperature: Generic --> + <def name="TempBase" value="1.3.6.1.4.1.476.1.42.3.4.1"/> + <def name="TempSetting" value="$TempBase.%temp-idx%.1.0"/> + <def name="TempTolerance" value="$TempBase.%temp-idx%.2.0"/> + <def name="TempMeasurement" value="$TempBase.%temp-idx%.3.1.3.%sensor-idx%"/> + <def name="TempHighThresh" value="$TempBase.%temp-idx%.3.1.4.%sensor-idx%"/> + <def name="TempLowThresh" value="$TempBase.%temp-idx%.3.1.5.%sensor-idx%"/> + + <!-- Humidity --> + <def name="HumiditySettingRel" value="1.3.6.1.4.1.476.1.42.3.4.2.2.1.0"/> + <def name="HumidityToleranceRel" value="1.3.6.1.4.1.476.1.42.3.4.2.2.2.0"/> + <def name="HumidityMeasurementRel" + value="1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3.%humid-idx%"/> + <def name="HumidityHighThresholdRel" + value="1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.4.%humid-idx%"/> + <def name="HumidityLowThresholdRel" + value="1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.5.%humid-idx%"/> + + <!-- State --> + <def name="StateSystem" value="1.3.6.1.4.1.476.1.42.3.4.3.1.0"/> + <def name="StateCooling" value="1.3.6.1.4.1.476.1.42.3.4.3.2.0"/> + <def name="StateHeating" value="1.3.6.1.4.1.476.1.42.3.4.3.3.0"/> + <def name="StateHumidifying" value="1.3.6.1.4.1.476.1.42.3.4.3.4.0"/> + <def name="StateDehumidifying" value="1.3.6.1.4.1.476.1.42.3.4.3.5.0"/> + <def name="StateEconoCycle" value="1.3.6.1.4.1.476.1.42.3.4.3.6.0"/> + <def name="lgpEnvStateCoolingCapacity" + value="1.3.6.1.4.1.476.1.42.3.4.3.9.0"/> + <def name="lgpEnvStateHeatingCapacity" + value="1.3.6.1.4.1.476.1.42.3.4.3.10.0"/> + + <!-- Statistics --> + <def name="StatsComp1RunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.1.0"/> + <def name="StatsComp2RunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.2.0"/> + <def name="StatsFanRunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.3.0"/> + <def name="StatsHumRunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.4.0"/> + <def name="StatsReheat1RunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.7.0"/> + <def name="StatsReheat2RunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.8.0"/> + <def name="StatsReheat3RunHr" value="1.3.6.1.4.1.476.1.42.3.4.6.9.0"/> + +</definitions> +<datasources> + + <template name="temperature-subtree"> + <param name="comment" value="Temperature in degrees %temp-scale%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Setting"> + <param name="precedence" value="999"/> + <param name="comment" value="Current temperature setting"/> + <param name="graph-legend" value="Setting"/> + <param name="graph-title" value="Temperature setting"/> + <param name="graph-lower-limit" value="%temp-lower%"/> + <param name="graph-upper-limit" value="%temp-upper"/> + <param name="rrd-ds" value="tempSetting"/> + <param name="snmp-object" value="$TempSetting"/> + </leaf> + <leaf name="Tolerance"> + <param name="precedence" value="998"/> + <param name="comment" value="Acceptable variance from setting"/> + <param name="graph-legend" value="Tolerance"/> + <param name="graph-title" value="Temperature tolerance"/> + <param name="collector-scale" value="0.1,*"/> + <param name="rrd-ds" value="tempTolerance"/> + <param name="snmp-object" value="$TempTolerance"/> + </leaf> + </template> + + <template name="temperature-sensor"> + <param name="data-file" value="%system-id%_sensor_%tmp-idx%.rrd"/> + + <leaf name="Overview"> + <param name="precedence" value="1000"/> + <param name="comment" value="Overview of temperatures"/> + <param name="graph-title" value="Ambient Temperature"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="meas,high,low"/> + <param name="graph-lower-limit" value="0"/> + <!-- measurements --> + <param name="ds-expr-meas" value="{Measurement}"/> + <param name="graph-legend-meas" value="Current temperature"/> + <param name="line-style-meas" value="LINE2"/> + <param name="line-color-meas" value="##one"/> + <param name="line-order-meas" value="1"/> + <!-- high threshold --> + <param name="ds-expr-high" value="{High_Threshold}"/> + <param name="graph-legend-high" value="High threshold marker"/> + <param name="line-style-high" value="LINE2"/> + <param name="line-color-high" value="##two"/> + <param name="line-order-high" value="2"/> + <!-- low threshold --> + <param name="ds-expr-low" value="{Low_Threshold}"/> + <param name="graph-legend-low" value="Low threshold marker"/> + <param name="line-style-low" value="LINE2"/> + <param name="line-color-low" value="##three"/> + <param name="line-order-low" value="3"/> + </leaf> + + <leaf name="Measurement"> + <param name="precedence" value="999"/> + <param name="comment" value="Current ambient temperature"/> + <param name="graph-legend" value="Sensor: %temp-idx%"/> + <param name="graph-lower-limit" value="15"/> + <param name="graph-upper-limit" value="70"/> + <param name="vertical-label" value="degrees Celsius"/> + <param name="rrd-ds" value="sensor_%temp-idx%"/> + <param name="snmp-object" value="$TempMeasurement"/> + </leaf> + + <leaf name="High_Threshold"> + <param name="precedence" value="998"/> + <param name="comment" value="High threshold marker"/> + <param name="graph-legend" value="Sensor: %temp-idx%"/> + <param name="vertical-label" value="degrees Celcius"/> + <param name="rrd-ds" value="TempHighThresh"/> + <param name="snmp-object" value="$TempHighThresh"/> + </leaf> + + <leaf name="Low_Threshold"> + <param name="precedence" value="997"/> + <param name="comment" value="Low threshold marker"/> + <param name="graph-legend" value="Sensor: %temp-idx%"/> + <param name="vertical-label" value="degrees Celcius"/> + <param name="rrd-ds" value="TempLowThresh"/> + <param name="snmp-object" value="$TempLowThresh"/> + </leaf> + </template> + + <!-- Temperature measured in degrees Fahrenheit --> + <template name="temperature-sensor-fahrenheit"> + <param name="data-file" + value="%system-id%_sensor_%tmp-idx%_fahrenheit.rrd"/> + + <leaf name="Overview"> + <param name="precedence" value="1000"/> + <param name="comment" value="Overview of temperatures"/> + <param name="graph-title" value="Ambient Temperature"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="meas,high,low"/> + <param name="graph-lower-limit" value="0"/> + <!-- measurements --> + <param name="ds-expr-meas" value="{Measurement}"/> + <param name="graph-legend-meas" value="Current temperature"/> + <param name="line-style-meas" value="LINE2"/> + <param name="line-color-meas" value="##one"/> + <param name="line-order-meas" value="1"/> + <!-- high threshold --> + <param name="ds-expr-high" value="{High_Threshold}"/> + <param name="graph-legend-high" value="High threshold marker"/> + <param name="line-style-high" value="LINE2"/> + <param name="line-color-high" value="##two"/> + <param name="line-order-high" value="2"/> + <!-- low threshold --> + <param name="ds-expr-low" value="{Low_Threshold}"/> + <param name="graph-legend-low" value="Low threshold marker"/> + <param name="line-style-low" value="LINE2"/> + <param name="line-color-low" value="##three"/> + <param name="line-order-low" value="3"/> + </leaf> + + <leaf name="Measurement"> + <param name="precedence" value="999"/> + <param name="comment" value="Current ambient temperature"/> + <param name="graph-legend" value="Sensor: %temp-idx%"/> + <param name="graph-lower-limit" value="15"/> + <param name="graph-upper-limit" value="70"/> + <param name="vertical-label" value="degrees Celsius"/> + <param name="collector-scale" value="1.8,*,32,+" /> + <param name="rrd-ds" value="sensor_%temp-idx%"/> + <param name="snmp-object" value="$TempMeasurement"/> + </leaf> + + <leaf name="High_Threshold"> + <param name="precedence" value="998"/> + <param name="comment" value="High threshold marker"/> + <param name="graph-legend" value="Sensor: %temp-idx%"/> + <param name="vertical-label" value="degrees Fahrenheit"/> + <param name="collector-scale" value="1.8,*,32,+" /> + <param name="rrd-ds" value="TempHighThresh"/> + <param name="snmp-object" value="$TempHighThresh"/> + </leaf> + + <leaf name="Low_Threshold"> + <param name="precedence" value="997"/> + <param name="comment" value="Low threshold marker"/> + <param name="graph-legend" value="Sensor: %temp-idx%"/> + <param name="vertical-label" value="degrees Fahrenheit"/> + <param name="collector-scale" value="1.8,*,32,+" /> + <param name="rrd-ds" value="TempLowThresh"/> + <param name="snmp-object" value="$TempLowThresh"/> + </leaf> + </template> + + <!-- HUMIDITY --> + <template name="humidity-subtree"> + <param name="comment" value="Environmental Humidity Group"/> + <param name="data-file" value="%system-id%_humidity.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Setting"> + <param name="precedence" value="999"/> + <param name="comment" value="Current Realitive Humidity setting"/> + <param name="graph-legend" value="Setting"/> + <param name="graph-title" value="Humidity setting"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="humidSetting"/> + <param name="snmp-object" value="$HumiditySettingRel"/> + </leaf> + <leaf name="Tolerance"> + <param name="precedence" value="998"/> + <param name="comment" value="Acceptable variance from setting"/> + <param name="graph-legend" value="Tolerance"/> + <param name="graph-title" value="Temperature tolerance"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="humidTolerance"/> + <param name="snmp-object" value="$HumidityToleranceRel"/> + </leaf> + </template> + + + <template name="humidity-sensor"> + <param name="data-file" value="%system-id%_sensor_%humid-idx%.rrd"/> + + <leaf name="Overview"> + <param name="precedence" value="1000"/> + <param name="comment" value="Overview of humidity"/> + <param name="graph-title" value="Humidity"/> + <param name="vertical-label" value="percent"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="meas,high,low"/> + <param name="graph-lower-limit" value="0"/> + <!-- measurements --> + <param name="ds-expr-meas" value="{Measurement}"/> + <param name="graph-legend-meas" value="Measured Humidity"/> + <param name="line-style-meas" value="LINE2"/> + <param name="line-color-meas" value="##one"/> + <param name="line-order-meas" value="1"/> + <!-- high threshold --> + <param name="ds-expr-high" value="{High_Threshold}"/> + <param name="graph-legend-high" value="High threshold marker"/> + <param name="line-style-high" value="LINE2"/> + <param name="line-color-high" value="##two"/> + <param name="line-order-high" value="2"/> + <!-- low threshold --> + <param name="ds-expr-low" value="{Low_Threshold}"/> + <param name="graph-legend-low" value="Low threshold marker"/> + <param name="line-style-low" value="LINE2"/> + <param name="line-color-low" value="##three"/> + <param name="line-order-low" value="3"/> + </leaf> + + <leaf name="Measurement"> + <param name="precedence" value="999"/> + <param name="comment" value="Current Realitive Humidity"/> + <param name="graph-legend" value="Sensor: %humid-idx%"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="sensor_%humid-idx%"/> + <param name="snmp-object" value="$HumidityMeasurementRel"/> + </leaf> + + <leaf name="High_Threshold"> + <param name="precedence" value="998"/> + <param name="comment" value="High threshold marker"/> + <param name="graph-legend" value="Sensor: %humid-idx%"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="HumidHighThresh"/> + <param name="snmp-object" value="$HumidityHighThresholdRel"/> + </leaf> + + <leaf name="Low_Threshold"> + <param name="precedence" value="997"/> + <param name="comment" value="Low threshold marker"/> + <param name="graph-legend" value="Sensor: %humid-idx%"/> + <param name="vertical-label" value="percent"/> + <param name="rrd-ds" value="HumidLowThresh"/> + <param name="snmp-object" value="$HumidityLowThresholdRel"/> + </leaf> + </template> + + + <template name="state-subtree"> + <param name="comment" value="Environmental State Group"/> + <param name="data-file" value="%system-id%_state.rrd"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="System"> + <param name="precedence" value="999"/> + <param name="comment" value="State of the system"/> + <param name="graph-legend" value="state: on(1) off(2) standby(3)"/> + <param name="graph-title" value="System State"/> + <param name="rrd-ds" value="StateSystem"/> + <param name="snmp-object" value="$StateSystem"/> + </leaf> + <leaf name="Cooling"> + <param name="precedence" value="998"/> + <param name="comment" value="State of the cooling subsystem"/> + <param name="graph-legend" value="state: on(1) off(2)"/> + <param name="graph-title" value="Cooling State"/> + <param name="rrd-ds" value="StateCooling"/> + <param name="snmp-object" value="$StateCooling"/> + </leaf> + <leaf name="Heating"> + <param name="precedence" value="997"/> + <param name="comment" value="State of the heating subsystem"/> + <param name="graph-legend" value="state: on(1) off(2)"/> + <param name="graph-title" value="Heating State"/> + <param name="rrd-ds" value="StateHeating"/> + <param name="snmp-object" value="$StateHeating"/> + </leaf> + <leaf name="Humidifying"> + <param name="precedence" value="996"/> + <param name="comment" value="State of the humidifier subsystem"/> + <param name="graph-legend" value="state: on(1) off(2)"/> + <param name="graph-title" value="Humidifier State"/> + <param name="rrd-ds" value="StateHumidifying"/> + <param name="snmp-object" value="$StateHumidifying"/> + </leaf> + <leaf name="Dehumidifying"> + <param name="precedence" value="995"/> + <param name="comment" value="State of the dehumidifier subsystem"/> + <param name="graph-legend" value="state: on(1) off(2)"/> + <param name="graph-title" value="Dehumidifier State"/> + <param name="rrd-ds" value="StateDehumidifying"/> + <param name="snmp-object" value="$StateDehumidifying"/> + </leaf> + <leaf name="Econo_Cycle"> + <param name="precedence" value="994"/> + <param name="comment" value="State of the Econ-o-cycle subsystem"/> + <param name="graph-legend" value="state: on(1) off(2)"/> + <param name="graph-title" value="Econ-o-cycle State"/> + <param name="rrd-ds" value="StateEconoCycle"/> + <param name="snmp-object" value="$StateEconoCycle"/> + </leaf> + </template> + + + <template name="state-capacity"> + <leaf name="Cooling"> + <param name="data-file" value="%system-id%_state_capacity.rrd"/> + <param name="precedence" value="993"/> + <param name="comment" value="cooling capacity presently in use"/> + <param name="graph-legend" value="percent"/> + <param name="graph-title" value="Cooling Capacity"/> + <param name="rrd-ds" value="cooling"/> + <param name="snmp-object" value="$lgpEnvStateCoolingCapacity"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + <leaf name="Heating"> + <param name="data-file" value="%system-id%_state_capacity.rrd"/> + <param name="precedence" value="992"/> + <param name="comment" value="heating capacity presently in use"/> + <param name="graph-legend" value="percent"/> + <param name="graph-title" value="Heating Capacity"/> + <param name="rrd-ds" value="heating"/> + <param name="snmp-object" value="$lgpEnvStateHeatingCapacity"/> + <param name="rrd-create-dstype" value="GAUGE"/> + </leaf> + </template> + +</datasources> + +</configuration> + diff --git a/torrus/xmlconfig/vendor/microsoft.windows.xml b/torrus/xmlconfig/vendor/microsoft.windows.xml new file mode 100644 index 000000000..6af0fb426 --- /dev/null +++ b/torrus/xmlconfig/vendor/microsoft.windows.xml @@ -0,0 +1,470 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2004 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: microsoft.windows.xml,v 1.1 2010-12-27 00:04:24 ivan Exp $ + + Microsoft IIS (FTP and HTTP) statistics + http://www.microsoft.com/technet/prodtechnol/winntas/reskit/net/sur_mib.asp + +--> + +<configuration> +<definitions> + <!-- IIS FTP service --> + <def name="msFtptotalBytesSentLowWord" + value="1.3.6.1.4.1.311.1.7.2.1.2.0"/> + <def name="msFtptotalBytesReceivedLowWord" + value="1.3.6.1.4.1.311.1.7.2.1.4.0"/> + <def name="msFtptotalFilesSent" + value="1.3.6.1.4.1.311.1.7.2.1.5.0"/> + <def name="msFtptotalFilesReceived" + value="1.3.6.1.4.1.311.1.7.2.1.6.0"/> + <def name="msFtpcurrentAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.2.1.7.0"/> + <def name="msFtpcurrentNonAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.2.1.8.0"/> + <def name="msFtptotalAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.2.1.9.0"/> + <def name="msFtptotalNonAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.2.1.10.0"/> + <def name="msFtpcurrentConnections" + value="1.3.6.1.4.1.311.1.7.2.1.13.0"/> + <def name="msFtpconnectionAttempts" + value="1.3.6.1.4.1.311.1.7.2.1.15.0"/> + <def name="msFtplogonAttempts" + value="1.3.6.1.4.1.311.1.7.2.1.16.0"/> + + <!-- IIS HTTP service --> + <def name="msHttptotalBytesSentLowWord" + value="1.3.6.1.4.1.311.1.7.3.1.2.0"/> + <def name="msHttptotalBytesReceivedLowWord" + value="1.3.6.1.4.1.311.1.7.3.1.4.0"/> + <def name="msHttptotalFilesSent" + value="1.3.6.1.4.1.311.1.7.3.1.5.0"/> + <def name="msHttptotalFilesReceived" + value="1.3.6.1.4.1.311.1.7.3.1.6.0"/> + <def name="msHttpcurrentAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.3.1.7.0"/> + <def name="msHttpcurrentNonAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.3.1.8.0"/> + <def name="msHttptotalAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.3.1.9.0"/> + <def name="msHttptotalNonAnonymousUsers" + value="1.3.6.1.4.1.311.1.7.3.1.10.0"/> + <def name="msHttpcurrentConnections" + value="1.3.6.1.4.1.311.1.7.3.1.13.0"/> + <def name="msHttpconnectionAttempts" + value="1.3.6.1.4.1.311.1.7.3.1.15.0"/> + <def name="msHttplogonAttempts" + value="1.3.6.1.4.1.311.1.7.3.1.16.0"/> + <def name="msHttptotalOptions" value="1.3.6.1.4.1.311.1.7.3.1.17.0"/> + <def name="msHttptotalGets" value="1.3.6.1.4.1.311.1.7.3.1.18.0"/> + <def name="msHttptotalPosts" value="1.3.6.1.4.1.311.1.7.3.1.19.0"/> + <def name="msHttptotalHeads" value="1.3.6.1.4.1.311.1.7.3.1.20.0"/> + <def name="msHttptotalPuts" value="1.3.6.1.4.1.311.1.7.3.1.21.0"/> + <def name="msHttptotalDeletes" value="1.3.6.1.4.1.311.1.7.3.1.22.0"/> + <def name="msHttptotalTraces" value="1.3.6.1.4.1.311.1.7.3.1.23.0"/> + <def name="msHttptotalMove" value="1.3.6.1.4.1.311.1.7.3.1.24.0"/> + <def name="msHttptotalCopy" value="1.3.6.1.4.1.311.1.7.3.1.25.0"/> + <def name="msHttptotalMkcol" value="1.3.6.1.4.1.311.1.7.3.1.26.0"/> + <def name="msHttptotalPropfind" value="1.3.6.1.4.1.311.1.7.3.1.27.0"/> + <def name="msHttptotalProppatch" value="1.3.6.1.4.1.311.1.7.3.1.28.0"/> + <def name="msHttptotalSearch" value="1.3.6.1.4.1.311.1.7.3.1.29.0"/> + <def name="msHttptotalLock" value="1.3.6.1.4.1.311.1.7.3.1.30.0"/> + <def name="msHttptotalUnlock" value="1.3.6.1.4.1.311.1.7.3.1.31.0"/> + <def name="msHttptotalOthers" value="1.3.6.1.4.1.311.1.7.3.1.32.0"/> + <def name="msHttpcurrentCGIRequests" + value="1.3.6.1.4.1.311.1.7.3.1.33.0"/> + <def name="msHttpcurrentBGIRequests" + value="1.3.6.1.4.1.311.1.7.3.1.34.0"/> + <def name="msHttptotalCGIRequests" value="1.3.6.1.4.1.311.1.7.3.1.35.0"/> + <def name="msHttptotalBGIRequests" value="1.3.6.1.4.1.311.1.7.3.1.36.0"/> + <def name="msHttpcurrentBlockedRequests" + value="1.3.6.1.4.1.311.1.7.3.1.39.0"/> + <def name="msHttptotalBlockedRequests" + value="1.3.6.1.4.1.311.1.7.3.1.40.0"/> + <def name="msHttptotalAllowedRequests" + value="1.3.6.1.4.1.311.1.7.3.1.41.0"/> + <def name="msHttptotalRejectedRequests" + value="1.3.6.1.4.1.311.1.7.3.1.42.0"/> + <def name="msHttptotalNotFoundErrors" + value="1.3.6.1.4.1.311.1.7.3.1.43.0"/> + <def name="msHttptotalLockedErrors" value="1.3.6.1.4.1.311.1.7.3.1.44.0"/> + <def name="msHttpmeasuredBandwidth" value="1.3.6.1.4.1.311.1.7.3.1.45.0"/> + +</definitions> + +<datasources> + <template name="microsoft-iis-ftp-stats"> + <subtree name="FTP"> + + <param name="data-file" value="%system-id%_msftp.rrd"/> + <param name="leaf-type" value="rrd-def"/> + <param name="descriptive-nickname" value="%system-id% MSFTP"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <leaf name="Bytes_Sent"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="bytes_sent_low"/> + <param name="snmp-object" value="$msFtptotalBytesSentLowWord"/> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bytes Sent"/> + <param name="comment" value="Bytes Sent"/> + </leaf> + <leaf name="Bytes_Received"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="bytes_received_low"/> + <param name="snmp-object" value="$msFtptotalBytesReceivedLowWord"/> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bytes Received"/> + <param name="comment" value="Bytes Received"/> + </leaf> + <leaf name="Current_Anon_Users"> + <!-- mib says counter --> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="curr_anon_users"/> + <param name="snmp-object" value="$msFtpcurrentAnonymousUsers"/> + <param name="vertical-label" value="Users"/> + <param name="graph-legend" value="Anon Users"/> + <param name="comment" value="Current Anon Users"/> + </leaf> + <leaf name="Current_Known_Users"> + <!-- mib says counter --> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="curr_known_users"/> + <param name="snmp-object" value="$msFtpcurrentNonAnonymousUsers"/> + <param name="vertical-label" value="Users"/> + <param name="graph-legend" value="Known Users"/> + <param name="comment" value="Current Known Users"/> + </leaf> + <leaf name="Anon_Users"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="total_anon_users"/> + <param name="snmp-object" value="$msFtptotalAnonymousUsers"/> + <param name="vertical-label" value="Users/s"/> + <param name="graph-legend" value="Anon Users"/> + <param name="comment" value="Anon Users/s"/> + </leaf> + <leaf name="Known_Users"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="total_known_users"/> + <param name="snmp-object" value="$msFtptotalNonAnonymousUsers"/> + <param name="vertical-label" value="Users/s"/> + <param name="graph-legend" value="Known Users"/> + <param name="comment" value="Known Users/s"/> + </leaf> + <leaf name="Current_Connections"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="current_connections"/> + <param name="snmp-object" value="$msFtpcurrentConnections"/> + <param name="vertical-label" value="Connections"/> + <param name="graph-legend" value="Connections"/> + <param name="comment" value="Current Connections"/> + </leaf> + <leaf name="Attempted_Connection"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="connection_attempts"/> + <param name="snmp-object" value="$msFtpconnectionAttempts"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Connection Attempts"/> + <param name="comment" value="Connection Rate"/> + </leaf> + <leaf name="Attempted_Logons"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="logon_attempts"/> + <param name="snmp-object" value="$msFtplogonAttempts"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Logon Attempts"/> + <param name="comment" value="Logon Rate"/> + </leaf> + </subtree> + </template> + + <template name="microsoft-iis-http-requests"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="req_%iis-req-type%"/> + <param name="vertical-label" value="req/s"/> + <param name="graph-legend" value="%iis-req-type% Requests"/> + <param name="comment" value="%iis-req-type% Requests Rate"/> + </template> + + <template name="microsoft-iis-http-stats"> + <subtree name="HTTP"> + + <param name="data-file" value="%system-id%_msftp.rrd"/> + <param name="leaf-type" value="rrd-def"/> + <param name="descriptive-nickname" value="%system-id% MSHTTP"/> + <param name="graph-title" value="%descriptive-nickname%" /> + + <leaf name="Bytes_Sent"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="bytes_sent_low"/> + <param name="snmp-object" value="$msHttptotalBytesSentLowWord"/> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bytes Sent"/> + <param name="comment" value="Bytes Sent"/> + </leaf> + <leaf name="Bytes_Received"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="bytes_received_low"/> + <param name="snmp-object" + value="$msHttptotalBytesReceivedLowWord"/> + <param name="vertical-label" value="Bps"/> + <param name="graph-legend" value="Bytes Received"/> + <param name="comment" value="Bytes Received"/> + </leaf> + <leaf name="Files_Sent"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="files_sent"/> + <param name="snmp-object" value="$msHttptotalFilesSent"/> + <param name="vertical-label" value="Files/s"/> + <param name="graph-legend" value="Files Sent"/> + <param name="comment" value="Files Sent"/> + </leaf> + <leaf name="Files_Received"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="files_received"/> + <param name="snmp-object" value="$msHttptotalFilesReceived"/> + <param name="vertical-label" value="Files/s"/> + <param name="graph-legend" value="Files Received"/> + <param name="comment" value="Files Received"/> + </leaf> + <leaf name="Current_Anon_Users"> + <!-- mib says counter --> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="curr_anon_users"/> + <param name="snmp-object" value="$msHttpcurrentAnonymousUsers"/> + <param name="vertical-label" value="Users"/> + <param name="graph-legend" value="Anon Users"/> + <param name="comment" value="Current Anon Users"/> + </leaf> + <leaf name="Current_Known_Users"> + <!-- mib says counter --> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="curr_known_users"/> + <param name="snmp-object" value="$msHttpcurrentNonAnonymousUsers"/> + <param name="vertical-label" value="Users"/> + <param name="graph-legend" value="Known Users"/> + <param name="comment" value="Current Known Users"/> + </leaf> + <leaf name="Anon_Users"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="total_anon_users"/> + <param name="snmp-object" value="$msHttptotalAnonymousUsers"/> + <param name="vertical-label" value="Users/s"/> + <param name="graph-legend" value="Anon Users"/> + <param name="comment" value="Anon Users/s"/> + </leaf> + <leaf name="Known_Users"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="total_known_users"/> + <param name="snmp-object" value="$msHttptotalNonAnonymousUsers"/> + <param name="vertical-label" value="Users/s"/> + <param name="graph-legend" value="Known Users"/> + <param name="comment" value="Known Users/s"/> + </leaf> + <leaf name="Current_Connections"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="rrd-ds" value="current_connections"/> + <param name="snmp-object" value="$msHttpcurrentConnections"/> + <param name="vertical-label" value="Connections"/> + <param name="graph-legend" value="Connections"/> + <param name="comment" value="Current Connections"/> + </leaf> + <leaf name="Attempted_Connection"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="connection_attempts"/> + <param name="snmp-object" value="$msHttpconnectionAttempts"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Connection Attempts"/> + <param name="comment" value="Connection Rate"/> + </leaf> + <leaf name="Attempted_Logons"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="logon_attempts"/> + <param name="snmp-object" value="$msHttplogonAttempts"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Logon Attempts"/> + <param name="comment" value="Logon Rate"/> + </leaf> + <leaf name="Request_OPTION"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="OPTION"/> + <param name="snmp-object" value="$msHttptotalOptions"/> + </leaf> + <leaf name="Request_GET"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="GET"/> + <param name="snmp-object" value="$msHttptotalGets"/> + </leaf> + <leaf name="Request_POST"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="POST"/> + <param name="snmp-object" value="$msHttptotalPosts"/> + </leaf> + <leaf name="Request_HEAD"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="HEAD"/> + <param name="snmp-object" value="$msHttptotalHeads"/> + </leaf> + <leaf name="Request_PUT"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="PUT"/> + <param name="snmp-object" value="$msHttptotalPuts"/> + </leaf> + <leaf name="Request_DELETE"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="DELETE"/> + <param name="snmp-object" value="$msHttptotalDeletes"/> + </leaf> + <leaf name="Request_TRACE"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="TRACE"/> + <param name="snmp-object" value="$msHttptotalTraces"/> + </leaf> + <leaf name="Request_MOVE"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="MOVE"/> + <param name="snmp-object" value="$msHttptotalMove"/> + </leaf> + <leaf name="Request_COPY"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="COPY"/> + <param name="snmp-object" value="$msHttptotalCopy"/> + </leaf> + <leaf name="Request_MKCOL"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="MKCOL"/> + <param name="snmp-object" value="$msHttptotalMkcol"/> + </leaf> + <leaf name="Request_PROPFIND"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="PROPFIND"/> + <param name="snmp-object" value="$msHttptotalPropfind"/> + </leaf> + <leaf name="Request_PROPPATCH"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="PROPPATCH"/> + <param name="snmp-object" value="$msHttptotalProppatch"/> + </leaf> + <leaf name="Request_SEARCH"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="SEARCH"/> + <param name="snmp-object" value="$msHttptotalSearch"/> + </leaf> + <leaf name="Request_LOCK"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="LOCK"/> + <param name="snmp-object" value="$msHttptotalLock"/> + </leaf> + <leaf name="Request_UNLOCK"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="UNLOCK"/> + <param name="snmp-object" value="$msHttptotalUnlock"/> + </leaf> + <leaf name="Request_OTHER"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="OTHER"/> + <param name="snmp-object" value="$msHttptotalOthers"/> + </leaf> + <leaf name="Current_CGI"> + <param name="rrd-create-dstype" value="GAUGE"/> + <!-- mib say counter --> + <param name="rrd-ds" value="current_cgi"/> + <param name="snmp-object" value="$msHttpcurrentCGIRequests"/> + <param name="vertical-label" value="Requests"/> + <param name="graph-legend" value="CGI Requests"/> + <param name="comment" value="Current CGI Requests"/> + </leaf> + <leaf name="Current_BGI"> + <param name="rrd-create-dstype" value="GAUGE"/> + <!-- mib say counter --> + <param name="rrd-ds" value="current_bgi"/> + <param name="snmp-object" value="$msHttpcurrentBGIRequests"/> + <param name="vertical-label" value="Requests"/> + <param name="graph-legend" value="BGI Requests"/> + <param name="comment" value="Current BGI Requests"/> + </leaf> + <leaf name="Request_CGI"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="CGI"/> + <param name="snmp-object" value="$msHttptotalCGIRequests"/> + </leaf> + <leaf name="Request_BGI"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="BGI"/> + <param name="snmp-object" value="$msHttptotalBGIRequests"/> + </leaf> + <leaf name="Throttle_Current"> + <param name="rrd-create-dstype" value="GAUGE"/> + <!-- mib say counter --> + <param name="rrd-ds" value="throttle_blocked"/> + <param name="snmp-object" value="$msHttpcurrentBlockedRequests"/> + <param name="vertical-label" value="Connections"/> + <param name="graph-legend" value="Blocked Connections"/> + <param name="comment" value="Blocked Requests due to Throttling"/> + </leaf> + <leaf name="Throttle_Rate"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="throttle_rate"/> + <param name="snmp-object" value="$msHttptotalBlockedRequests"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Blocked Connections"/> + <param name="comment" value="Throttle Rate"/> + </leaf> + <leaf name="Throttle_Allowed"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="throttle_allowed"/> + <param name="snmp-object" value="$msHttptotalAllowedRequests"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Allowed Connections"/> + <param name="comment" value="Allowed Rate"/> + </leaf> + <leaf name="Throttle_Rejected"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="rrd-ds" value="throttle_rejected"/> + <param name="snmp-object" value="$msHttptotalRejectedRequests"/> + <param name="vertical-label" value="Connections/s"/> + <param name="graph-legend" value="Rejected Connections"/> + <param name="comment" value="Rejected Rate"/> + </leaf> + <leaf name="Requests_NotFound"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="NotFound"/> + <param name="snmp-object" value="$msHttptotalNotFoundErrors"/> + </leaf> + <leaf name="Requests_Locked"> + <apply-template name="microsoft-iis-http-requests"/> + <param name="iis-req-type" value="LockedResource"/> + <param name="snmp-object" value="$msHttptotalLockedErrors"/> + </leaf> + <leaf name="IO_Bandwidth"> + <param name="rrd-create-dstype" value="GAUGE"/> + <!-- mib says counter --> + <param name="rrd-ds" value="measuredbandwidth"/> + <param name="snmp-object" value="$msHttpmeasuredBandwidth"/> + <param name="vertical-label" value="bps"/> + <param name="graph-legend" value="IO Bandwidth"/> + <param name="comment" value="Measured One Minute Bandwidth"/> + </leaf> + </subtree> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/motorola.bsr.xml b/torrus/xmlconfig/vendor/motorola.bsr.xml new file mode 100644 index 000000000..28a20bf17 --- /dev/null +++ b/torrus/xmlconfig/vendor/motorola.bsr.xml @@ -0,0 +1,140 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Roman Hochuli, Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: motorola.bsr.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ + Stanislav Sinyagin <ssinyagin@yahoo.com> + + DOCSIS interface, Motorola BSR specific + MIB used: + RDN-CMTS-MIB::rdnCmtsUpstreamChannelTable + +--> + +<configuration> + +<definitions> + <!-- RDN-CMTS-MIB::rdnCmtsUpstreamChannelTable --> + <def name="rdnCmtsUSTotalModemCount" + value="1.3.6.1.4.1.4981.2.1.2.1.6"/> + <def name="rdnCmtsUSRegisteredModemCount" + value="1.3.6.1.4.1.4981.2.1.2.1.7"/> + <def name="rdnCmtsUSUnregisteredModemCount" + value="1.3.6.1.4.1.4981.2.1.2.1.8"/> + <def name="rdnCmtsUSOfflineModemCount" + value="1.3.6.1.4.1.4981.2.1.2.1.9"/> +</definitions> + +<datasources> + + + <template name="motorola-bsr-docsis-upstream-util"> + <leaf name="Modems"> + <param name="ds-type" value="rrd-multigraph" /> + <param name="ds-names" value="registered,unregistered,offline" /> + <param name="nodeid" value="%nodeid-docsif%//modems"/> + + <param name="graph-lower-limit" value="0" /> + <param name="precedence" value="950" /> + <param name="comment" + value="Registered, Unregistered and Offline modems on the interface" /> + <param name="vertical-label" value="Modems" /> + + <param name="ds-expr-registered">{Modems_Registered}</param> + <param name="graph-legend-registered" value="Registered" /> + <param name="line-style-registered" value="AREA" /> + <param name="line-color-registered" value="##blue" /> + <param name="line-order-registered" value="1" /> + + <param name="ds-expr-unregistered">{Modems_Unregistered}</param> + <param name="graph-legend-unregistered" value="Unregistered" /> + <param name="line-style-unregistered" value="STACK" /> + <param name="line-color-unregistered" value="##crimson" /> + <param name="line-order-unregistered" value="2" /> + + <param name="ds-expr-offline">{Modems_Offline}</param> + <param name="graph-legend-offline" value="Offline" /> + <param name="line-style-offline" value="STACK" /> + <param name="line-color-offline" value="##silver" /> + <param name="line-order-offline" value="3" /> + </leaf> + + <leaf name="Modems_Total"> + <param name="snmp-object" + value="$rdnCmtsUSTotalModemCount.%ifindex-map%"/> + <param name="rrd-ds" value="Total" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Total number of modems on the interface since boot"/> + <param name="graph-legend" value="Total modems" /> + <param name="precedence" value="900" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + </leaf> + + <leaf name="Modems_Registered"> + <param name="snmp-object" + value="$rdnCmtsUSRegisteredModemCount.%ifindex-map%"/> + <param name="rrd-ds" value="Registered" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of registered modems on the interface"/> + <param name="graph-legend" value="Active modems" /> + <param name="precedence" value="800" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + <leaf name="Modems_Unregistered"> + <param name="snmp-object" + value="$rdnCmtsUSUnregisteredModemCount.%ifindex-map%"/> + <param name="rrd-ds" value="Unregistered" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of not yet registered modems on the interface"/> + <param name="graph-legend" value="Unregistered modems" /> + <param name="precedence" value="900" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + <leaf name="Modems_Offline"> + <param name="snmp-object" + value="$rdnCmtsUSOfflineModemCount.%ifindex-map%"/> + <param name="rrd-ds" value="Offline" /> + <param name="hidden" value="yes"/> + <param name="comment" + value="Number of offline modems on the interface"/> + <param name="graph-legend" value="Unregistered modems" /> + <param name="precedence" value="1000" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="vertical-label" value="Modems" /> + <param name="graph-lower-limit" value="0" /> + <param name="monitor-action-target" value="Modems"/> + </leaf> + + </template> + +</datasources> + + +</configuration> diff --git a/torrus/xmlconfig/vendor/netapp.filer.xml b/torrus/xmlconfig/vendor/netapp.filer.xml new file mode 100644 index 000000000..949b00b9d --- /dev/null +++ b/torrus/xmlconfig/vendor/netapp.filer.xml @@ -0,0 +1,2206 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: netapp.filer.xml,v 1.1 2010-12-27 00:04:19 ivan Exp $ + + NetApp Filer + +--> + +<configuration> +<definitions> + <!-- sysStat 1.3.6.1.4.1.789.1.2 --> + <!-- CPU 1.3.6.1.4.1.789.1.2.1 --> + <def name="netapp_cpuUpTime" value="1.3.6.1.4.1.789.1.2.1.1.0"/> + <def name="netapp_cpuBusyTime" value="1.3.6.1.4.1.789.1.2.1.2.0"/> + <def name="netapp_cpuBusyTimePerCent" value="1.3.6.1.4.1.789.1.2.1.3.0"/> + <def name="netapp_cpuIdleTime" value="1.3.6.1.4.1.789.1.2.1.4.0"/> + <def name="netapp_cpuIdleTimePerCent" value="1.3.6.1.4.1.789.1.2.1.5.0"/> + <def name="netapp_cpuSwitchInvocations" value="1.3.6.1.4.1.789.1.2.1.7.0"/> + <def name="netapp_cpuContextSwitches" value="1.3.6.1.4.1.789.1.2.1.8.0"/> + <def name="netapp_cpuInterrupts" value="1.3.6.1.4.1.789.1.2.1.9.0"/> + <def name="netapp_cpuNonCPInterrupts" value="1.3.6.1.4.1.789.1.2.1.10.0"/> + <def name="netapp_cpuCPInterruptPercent" + value="1.3.6.1.4.1.789.1.2.1.11.0"/> + <def name="netapp_cpuNonCPInterruptPercent" + value="1.3.6.1.4.1.789.1.2.1.12.0"/> + <def name="netapp_cpuTotalDomainSwitches" + value="1.3.6.1.4.1.789.1.2.1.13.0"/> + + <!-- misc 1.3.6.1.4.1.789.1.2.2 --> + <!-- High values are being ignored, as they should not be needed to + calculate rate, unless the device can wrap a 32bit counter in one period + --> + <def name="netapp_miscLowNfsOps" value="1.3.6.1.4.1.789.1.2.2.6.0"/> + <def name="netapp_miscLowCifsOps" value="1.3.6.1.4.1.789.1.2.2.8.0"/> + <def name="netapp_miscLowHttpOps" value="1.3.6.1.4.1.789.1.2.2.10.0"/> + <def name="netapp_miscLowNetRcvdBytes" value="1.3.6.1.4.1.789.1.2.2.12.0"/> + <def name="netapp_miscLowNetSentBytes" value="1.3.6.1.4.1.789.1.2.2.14.0"/> + <def name="netapp_miscLowDiskReadBytes" value="1.3.6.1.4.1.789.1.2.2.16.0"/> + <def name="netapp_miscLowDiskWriteBytes" value="1.3.6.1.4.1.789.1.2.2.18.0"/> + <def name="netapp_miscLowTapeReadBytes" value="1.3.6.1.4.1.789.1.2.2.20.0"/> + <def name="netapp_miscLowTapeWriteBytes" value="1.3.6.1.4.1.789.1.2.2.22.0"/> + <def name="netapp_miscCacheAge" value="1.3.6.1.4.1.789.1.2.2.23.0"/> + + <!-- cp (consistency point) 1.3.6.1.4.1.789.1.2.6 --> + <!-- Not Implementing/Applying This, this will not make good rates --> + <!-- This needs a Delta function that does not calculate rate i.e. It would + be reasonable to see when these happen, but I would not expect to see them + frequently ehough for validity as a rate --> + <def name="netapp_cpTime" value="1.3.6.1.4.1.789.1.2.6.1.0"/> + <def name="netapp_cpFromTimerOps" value="1.3.6.1.4.1.789.1.2.6.2.0"/> + <def name="netapp_cpFromSnapshotOps" value="1.3.6.1.4.1.789.1.2.6.3.0"/> + <def name="netapp_cpFromHighWaterOps" value="1.3.6.1.4.1.789.1.2.6.4.0"/> + <def name="netapp_cpFromLowWaterOps" value="1.3.6.1.4.1.789.1.2.6.5.0"/> + <def name="netapp_cpFromLogFullOps" value="1.3.6.1.4.1.789.1.2.6.6.0"/> + <def name="netapp_cpFromCpOps" value="1.3.6.1.4.1.789.1.2.6.7.0"/> + <def name="netapp_cpTotalOps" value="1.3.6.1.4.1.789.1.2.6.8.0"/> + <def name="netapp_cpFromFlushOps" value="1.3.6.1.4.1.789.1.2.6.9.0"/> + <def name="netapp_cpFromSyncOps" value="1.3.6.1.4.1.789.1.2.6.10.0"/> + + <!-- NFS 1.3.6.1.4.1.789.1.3 --> + <!-- Total NFS 1.3.6.1.4.1.789.1.3.2 --> + <!-- Total RPC Stats 1.3.6.1.4.1.789.1.3.2.1 --> + <def name="netapp_trpcCalls" value="1.3.6.1.4.1.789.1.3.2.1.1.0"/> + <def name="netapp_trpcBadCalls" value="1.3.6.1.4.1.789.1.3.2.1.2.0"/> + <def name="netapp_trpcNullRecvs" value="1.3.6.1.4.1.789.1.3.2.1.3.0"/> + <def name="netapp_trpcBadLens" value="1.3.6.1.4.1.789.1.3.2.1.4.0"/> + <def name="netapp_trpcServXDRCalls" value="1.3.6.1.4.1.789.1.3.2.1.5.0"/> + + <!-- Total NFS Stats 1.3.6.1.4.1.789.1.3.2.2 --> + <def name="netapp_tnfsCalls" value="1.3.6.1.4.1.789.1.3.2.2.1.0"/> + <def name="netapp_tnfsServBadCalls" value="1.3.6.1.4.1.789.1.3.2.2.2.0"/> + + <!-- Total NFS v2 1.3.6.1.4.1.789.1.3.2.2.3 --> + <!-- Total NFS v2 tv2Calls 1.3.6.1.4.1.789.1.3.2.2.3.1 --> + <def name="netapp_tv2cNulls" value="1.3.6.1.4.1.789.1.3.2.2.3.1.1.0"/> + <def name="netapp_tv2cGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.1.2.0"/> + <def name="netapp_tv2cSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.1.3.0"/> + <def name="netapp_tv2cRoots" value="1.3.6.1.4.1.789.1.3.2.2.3.1.4.0"/> + <def name="netapp_tv2cLookups" value="1.3.6.1.4.1.789.1.3.2.2.3.1.5.0"/> + <def name="netapp_tv2cReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.1.6.0"/> + <def name="netapp_tv2cReads" value="1.3.6.1.4.1.789.1.3.2.2.3.1.7.0"/> + <def name="netapp_tv2cWrcaches" value="1.3.6.1.4.1.789.1.3.2.2.3.1.8.0"/> + <def name="netapp_tv2cWrites" value="1.3.6.1.4.1.789.1.3.2.2.3.1.9.0"/> + <def name="netapp_tv2cCreates" value="1.3.6.1.4.1.789.1.3.2.2.3.1.10.0"/> + <def name="netapp_tv2cRemoves" value="1.3.6.1.4.1.789.1.3.2.2.3.1.11.0"/> + <def name="netapp_tv2cRenames" value="1.3.6.1.4.1.789.1.3.2.2.3.1.12.0"/> + <def name="netapp_tv2cLinks" value="1.3.6.1.4.1.789.1.3.2.2.3.1.13.0"/> + <def name="netapp_tv2cSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.1.14.0"/> + <def name="netapp_tv2cMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.1.15.0"/> + <def name="netapp_tv2cRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.1.16.0"/> + <def name="netapp_tv2cReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.3.1.17.0"/> + <def name="netapp_tv2cStatfss" value="1.3.6.1.4.1.789.1.3.2.2.3.1.18.0"/> + + <!-- Total NFS v2 tv2Percent 1.3.6.1.4.1.789.1.3.2.2.3.2 --> + <def name="netapp_tv2pNulls" value="1.3.6.1.4.1.789.1.3.2.2.3.2.1.0"/> + <def name="netapp_tv2pGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.2.2.0"/> + <def name="netapp_tv2pSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.2.3.0"/> + <def name="netapp_tv2pRoots" value="1.3.6.1.4.1.789.1.3.2.2.3.2.4.0"/> + <def name="netapp_tv2pLookups" value="1.3.6.1.4.1.789.1.3.2.2.3.2.5.0"/> + <def name="netapp_tv2pReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.2.6.0"/> + <def name="netapp_tv2pReads" value="1.3.6.1.4.1.789.1.3.2.2.3.2.7.0"/> + <def name="netapp_tv2pWrcaches" value="1.3.6.1.4.1.789.1.3.2.2.3.2.8.0"/> + <def name="netapp_tv2pWrites" value="1.3.6.1.4.1.789.1.3.2.2.3.2.9.0"/> + <def name="netapp_tv2pCreates" value="1.3.6.1.4.1.789.1.3.2.2.3.2.10.0"/> + <def name="netapp_tv2pRemoves" value="1.3.6.1.4.1.789.1.3.2.2.3.2.11.0"/> + <def name="netapp_tv2pRenames" value="1.3.6.1.4.1.789.1.3.2.2.3.2.12.0"/> + <def name="netapp_tv2pLinks" value="1.3.6.1.4.1.789.1.3.2.2.3.2.13.0"/> + <def name="netapp_tv2pSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.2.14.0"/> + <def name="netapp_tv2pMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.2.15.0"/> + <def name="netapp_tv2pRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.2.16.0"/> + <def name="netapp_tv2pReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.3.2.17.0"/> + <def name="netapp_tv2pStatfss" value="1.3.6.1.4.1.789.1.3.2.2.3.2.18.0"/> + + <!-- Total NFS v2 Cached Calls 1.3.6.1.4.1.789.1.3.2.2.3.3 --> + <def name="netapp_tv2ccNulls" value="1.3.6.1.4.1.789.1.3.2.2.3.3.1.0"/> + <def name="netapp_tv2ccGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.3.2.0"/> + <def name="netapp_tv2ccSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.3.3.0"/> + <def name="netapp_tv2ccRoots" value="1.3.6.1.4.1.789.1.3.2.2.3.3.4.0"/> + <def name="netapp_tv2ccLookups" value="1.3.6.1.4.1.789.1.3.2.2.3.3.5.0"/> + <def name="netapp_tv2ccReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.3.6.0"/> + <def name="netapp_tv2ccReads" value="1.3.6.1.4.1.789.1.3.2.2.3.3.7.0"/> + <def name="netapp_tv2ccWrcaches" value="1.3.6.1.4.1.789.1.3.2.2.3.3.8.0"/> + <def name="netapp_tv2ccWrites" value="1.3.6.1.4.1.789.1.3.2.2.3.3.9.0"/> + <def name="netapp_tv2ccCreates" value="1.3.6.1.4.1.789.1.3.2.2.3.3.10.0"/> + <def name="netapp_tv2ccRemoves" value="1.3.6.1.4.1.789.1.3.2.2.3.3.11.0"/> + <def name="netapp_tv2ccRenames" value="1.3.6.1.4.1.789.1.3.2.2.3.3.12.0"/> + <def name="netapp_tv2ccLinks" value="1.3.6.1.4.1.789.1.3.2.2.3.3.13.0"/> + <def name="netapp_tv2ccSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.3.14.0"/> + <def name="netapp_tv2ccMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.3.15.0"/> + <def name="netapp_tv2ccRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.3.16.0"/> + <def name="netapp_tv2ccReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.3.3.17.0"/> + <def name="netapp_tv2ccStatfss" value="1.3.6.1.4.1.789.1.3.2.2.3.3.18.0"/> + + <!-- Total NFS v2 Cached Pct 1.3.6.1.4.1.789.1.3.2.2.3.4 --> + <def name="netapp_tv2cpNulls" value="1.3.6.1.4.1.789.1.3.2.2.3.4.1.0"/> + <def name="netapp_tv2cpGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.4.2.0"/> + <def name="netapp_tv2cpSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.3.4.3.0"/> + <def name="netapp_tv2cpRoots" value="1.3.6.1.4.1.789.1.3.2.2.3.4.4.0"/> + <def name="netapp_tv2cpLookups" value="1.3.6.1.4.1.789.1.3.2.2.3.4.5.0"/> + <def name="netapp_tv2cpReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.4.6.0"/> + <def name="netapp_tv2cpReads" value="1.3.6.1.4.1.789.1.3.2.2.3.4.7.0"/> + <def name="netapp_tv2cpWrcaches" value="1.3.6.1.4.1.789.1.3.2.2.3.4.8.0"/> + <def name="netapp_tv2cpWrites" value="1.3.6.1.4.1.789.1.3.2.2.3.4.9.0"/> + <def name="netapp_tv2cpCreates" value="1.3.6.1.4.1.789.1.3.2.2.3.4.10.0"/> + <def name="netapp_tv2cpRemoves" value="1.3.6.1.4.1.789.1.3.2.2.3.4.11.0"/> + <def name="netapp_tv2cpRenames" value="1.3.6.1.4.1.789.1.3.2.2.3.4.12.0"/> + <def name="netapp_tv2cpLinks" value="1.3.6.1.4.1.789.1.3.2.2.3.4.13.0"/> + <def name="netapp_tv2cpSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.3.4.14.0"/> + <def name="netapp_tv2cpMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.4.15.0"/> + <def name="netapp_tv2cpRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.3.4.16.0"/> + <def name="netapp_tv2cpReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.3.4.17.0"/> + <def name="netapp_tv2cpStatfss" value="1.3.6.1.4.1.789.1.3.2.2.3.4.18.0"/> + + <!-- Total NFS v3 1.3.6.1.4.1.789.1.3.2.2.4 --> + <!-- Total NFS v3 tv3Calls 1.3.6.1.4.1.789.1.3.2.2.4.1 --> + <def name="netapp_tv3cNulls" value="1.3.6.1.4.1.789.1.3.2.2.4.1.1.0"/> + <def name="netapp_tv3cGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.1.2.0"/> + <def name="netapp_tv3cSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.1.3.0"/> + <def name="netapp_tv3cLookups" value="1.3.6.1.4.1.789.1.3.2.2.4.1.4.0"/> + <def name="netapp_tv3cAccesss" value="1.3.6.1.4.1.789.1.3.2.2.4.1.5.0"/> + <def name="netapp_tv3cReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.1.6.0"/> + <def name="netapp_tv3cReads" value="1.3.6.1.4.1.789.1.3.2.2.4.1.7.0"/> + <def name="netapp_tv3cWrites" value="1.3.6.1.4.1.789.1.3.2.2.4.1.8.0"/> + <def name="netapp_tv3cCreates" value="1.3.6.1.4.1.789.1.3.2.2.4.1.9.0"/> + <def name="netapp_tv3cMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.1.10.0"/> + <def name="netapp_tv3cSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.1.11.0"/> + <def name="netapp_tv3cMknods" value="1.3.6.1.4.1.789.1.3.2.2.4.1.12.0"/> + <def name="netapp_tv3cRemoves" value="1.3.6.1.4.1.789.1.3.2.2.4.1.13.0"/> + <def name="netapp_tv3cRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.1.14.0"/> + <def name="netapp_tv3cRenames" value="1.3.6.1.4.1.789.1.3.2.2.4.1.15.0"/> + <def name="netapp_tv3cLinks" value="1.3.6.1.4.1.789.1.3.2.2.4.1.16.0"/> + <def name="netapp_tv3cReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.4.1.17.0"/> + <def name="netapp_tv3cReaddirPluss" + value="1.3.6.1.4.1.789.1.3.2.2.4.1.18.0"/> + <def name="netapp_tv3cFsstats" value="1.3.6.1.4.1.789.1.3.2.2.4.1.19.0"/> + <def name="netapp_tv3cFsinfos" value="1.3.6.1.4.1.789.1.3.2.2.4.1.20.0"/> + <def name="netapp_tv3cPathconfs" value="1.3.6.1.4.1.789.1.3.2.2.4.1.21.0"/> + <def name="netapp_tv3cCommits" value="1.3.6.1.4.1.789.1.3.2.2.4.1.22.0"/> + + <!-- Total NFS v3 tv3Percent 1.3.6.1.4.1.789.1.3.2.2.4.2 --> + <def name="netapp_tv3pNulls" value="1.3.6.1.4.1.789.1.3.2.2.4.2.1.0"/> + <def name="netapp_tv3pGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.2.2.0"/> + <def name="netapp_tv3pSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.2.3.0"/> + <def name="netapp_tv3pLookups" value="1.3.6.1.4.1.789.1.3.2.2.4.2.4.0"/> + <def name="netapp_tv3pAccesss" value="1.3.6.1.4.1.789.1.3.2.2.4.2.5.0"/> + <def name="netapp_tv3pReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.2.6.0"/> + <def name="netapp_tv3pReads" value="1.3.6.1.4.1.789.1.3.2.2.4.2.7.0"/> + <def name="netapp_tv3pWrites" value="1.3.6.1.4.1.789.1.3.2.2.4.2.8.0"/> + <def name="netapp_tv3pCreates" value="1.3.6.1.4.1.789.1.3.2.2.4.2.9.0"/> + <def name="netapp_tv3pMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.2.10.0"/> + <def name="netapp_tv3pSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.2.11.0"/> + <def name="netapp_tv3pMknods" value="1.3.6.1.4.1.789.1.3.2.2.4.2.12.0"/> + <def name="netapp_tv3pRemoves" value="1.3.6.1.4.1.789.1.3.2.2.4.2.13.0"/> + <def name="netapp_tv3pRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.2.14.0"/> + <def name="netapp_tv3pRenames" value="1.3.6.1.4.1.789.1.3.2.2.4.2.15.0"/> + <def name="netapp_tv3pLinks" value="1.3.6.1.4.1.789.1.3.2.2.4.2.16.0"/> + <def name="netapp_tv3pReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.4.2.17.0"/> + <def name="netapp_tv3pReaddirPluss" + value="1.3.6.1.4.1.789.1.3.2.2.4.2.18.0"/> + <def name="netapp_tv3pFsstats" value="1.3.6.1.4.1.789.1.3.2.2.4.2.19.0"/> + <def name="netapp_tv3pFsinfos" value="1.3.6.1.4.1.789.1.3.2.2.4.2.20.0"/> + <def name="netapp_tv3pPathconfs" value="1.3.6.1.4.1.789.1.3.2.2.4.2.21.0"/> + <def name="netapp_tv3pCommits" value="1.3.6.1.4.1.789.1.3.2.2.4.2.22.0"/> + + <!-- Total NFS v3 tv3CachedCalls 1.3.6.1.4.1.789.1.3.2.2.4.3 --> + <def name="netapp_tv3ccNulls" value="1.3.6.1.4.1.789.1.3.2.2.4.3.1.0"/> + <def name="netapp_tv3ccGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.3.2.0"/> + <def name="netapp_tv3ccSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.3.3.0"/> + <def name="netapp_tv3ccLookups" value="1.3.6.1.4.1.789.1.3.2.2.4.3.4.0"/> + <def name="netapp_tv3ccAccesss" value="1.3.6.1.4.1.789.1.3.2.2.4.3.5.0"/> + <def name="netapp_tv3ccReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.3.6.0"/> + <def name="netapp_tv3ccReads" value="1.3.6.1.4.1.789.1.3.2.2.4.3.7.0"/> + <def name="netapp_tv3ccWrites" value="1.3.6.1.4.1.789.1.3.2.2.4.3.8.0"/> + <def name="netapp_tv3ccCreates" value="1.3.6.1.4.1.789.1.3.2.2.4.3.9.0"/> + <def name="netapp_tv3ccMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.3.10.0"/> + <def name="netapp_tv3ccSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.3.11.0"/> + <def name="netapp_tv3ccMknods" value="1.3.6.1.4.1.789.1.3.2.2.4.3.12.0"/> + <def name="netapp_tv3ccRemoves" value="1.3.6.1.4.1.789.1.3.2.2.4.3.13.0"/> + <def name="netapp_tv3ccRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.3.14.0"/> + <def name="netapp_tv3ccRenames" value="1.3.6.1.4.1.789.1.3.2.2.4.3.15.0"/> + <def name="netapp_tv3ccLinks" value="1.3.6.1.4.1.789.1.3.2.2.4.3.16.0"/> + <def name="netapp_tv3ccReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.4.3.17.0"/> + <def name="netapp_tv3ccReaddirPluss" + value="1.3.6.1.4.1.789.1.3.2.2.4.3.18.0"/> + <def name="netapp_tv3ccFsstats" value="1.3.6.1.4.1.789.1.3.2.2.4.3.19.0"/> + <def name="netapp_tv3ccFsinfos" value="1.3.6.1.4.1.789.1.3.2.2.4.3.20.0"/> + <def name="netapp_tv3ccPathconfs" value="1.3.6.1.4.1.789.1.3.2.2.4.3.21.0"/> + <def name="netapp_tv3ccCommits" value="1.3.6.1.4.1.789.1.3.2.2.4.3.22.0"/> + + <!-- Total NFS v3 tv3CachedPercent 1.3.6.1.4.1.789.1.3.2.2.4.4 --> + <def name="netapp_tv3cpNulls" value="1.3.6.1.4.1.789.1.3.2.2.4.4.1.0"/> + <def name="netapp_tv3cpGetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.4.2.0"/> + <def name="netapp_tv3cpSetattrs" value="1.3.6.1.4.1.789.1.3.2.2.4.4.3.0"/> + <def name="netapp_tv3cpLookups" value="1.3.6.1.4.1.789.1.3.2.2.4.4.4.0"/> + <def name="netapp_tv3cpAccesss" value="1.3.6.1.4.1.789.1.3.2.2.4.4.5.0"/> + <def name="netapp_tv3cpReadlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.4.6.0"/> + <def name="netapp_tv3cpReads" value="1.3.6.1.4.1.789.1.3.2.2.4.4.7.0"/> + <def name="netapp_tv3cpWrites" value="1.3.6.1.4.1.789.1.3.2.2.4.4.8.0"/> + <def name="netapp_tv3cpCreates" value="1.3.6.1.4.1.789.1.3.2.2.4.4.9.0"/> + <def name="netapp_tv3cpMkdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.4.10.0"/> + <def name="netapp_tv3cpSymlinks" value="1.3.6.1.4.1.789.1.3.2.2.4.4.11.0"/> + <def name="netapp_tv3cpMknods" value="1.3.6.1.4.1.789.1.3.2.2.4.4.12.0"/> + <def name="netapp_tv3cpRemoves" value="1.3.6.1.4.1.789.1.3.2.2.4.4.13.0"/> + <def name="netapp_tv3cpRmdirs" value="1.3.6.1.4.1.789.1.3.2.2.4.4.14.0"/> + <def name="netapp_tv3cpRenames" value="1.3.6.1.4.1.789.1.3.2.2.4.4.15.0"/> + <def name="netapp_tv3cpLinks" value="1.3.6.1.4.1.789.1.3.2.2.4.4.16.0"/> + <def name="netapp_tv3cpReaddirs" value="1.3.6.1.4.1.789.1.3.2.2.4.4.17.0"/> + <def name="netapp_tv3cpReaddirPluss" + value="1.3.6.1.4.1.789.1.3.2.2.4.4.18.0"/> + <def name="netapp_tv3cpFsstats" value="1.3.6.1.4.1.789.1.3.2.2.4.4.19.0"/> + <def name="netapp_tv3cpFsinfos" value="1.3.6.1.4.1.789.1.3.2.2.4.4.20.0"/> + <def name="netapp_tv3cpPathconfs" value="1.3.6.1.4.1.789.1.3.2.2.4.4.21.0"/> + <def name="netapp_tv3cpCommits" value="1.3.6.1.4.1.789.1.3.2.2.4.4.22.0"/> + + <!-- Total NFS reply Cache 1.3.6.1.4.1.789.1.3.2.2.5 --> + <def name="netapp_trcInProgressHits" value="1.3.6.1.4.1.789.1.3.2.2.5.1.0"/> + <def name="netapp_trcMisses" value="1.3.6.1.4.1.789.1.3.2.2.5.3.0"/> + <def name="netapp_trcNonIdemDoneHits" value="1.3.6.1.4.1.789.1.3.2.2.5.4.0"/> + <def name="netapp_trcNonIdemNotDoneHits" + value="1.3.6.1.4.1.789.1.3.2.2.5.5.0"/> + + <!-- TCP reply cache stats are not returned from OnTap 6.3.1 --> + <!-- UDP reply cache stats are not returned from OnTap 6.3.1 --> + <!-- Total NFS rw Stats 1.3.6.1.4.1.789.1.3.2.2.6 --> + <!-- Total NFS v2 Read Stats 1.3.6.1.4.1.789.1.3.2.2.6.1 --> + <!-- Total NFS v2 Write Stats 1.3.6.1.4.1.789.1.3.2.2.6.2 --> + <!-- Total NFS v3 Read Stats 1.3.6.1.4.1.789.1.3.2.2.6.3 --> + <def name="netapp_tv3Read512Calls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.1.0"/> + <def name="netapp_tv3Read1KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.2.0"/> + <def name="netapp_tv3Read2KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.3.0"/> + <def name="netapp_tv3Read4KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.4.0"/> + <def name="netapp_tv3Read8KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.5.0"/> + <def name="netapp_tv3Read16KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.6.0"/> + <def name="netapp_tv3Read32KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.7.0"/> + <def name="netapp_tv3Read64KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.8.0"/> + <def name="netapp_tv3Read128KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.3.9.0"/> + <!-- Total NFS v3 Write Stats 1.3.6.1.4.1.789.1.3.2.2.6.4 --> + <def name="netapp_tv3Write512Calls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.1.0"/> + <def name="netapp_tv3Write1KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.2.0"/> + <def name="netapp_tv3Write2KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.3.0"/> + <def name="netapp_tv3Write4KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.4.0"/> + <def name="netapp_tv3Write8KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.5.0"/> + <def name="netapp_tv3Write16KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.6.0"/> + <def name="netapp_tv3Write32KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.7.0"/> + <def name="netapp_tv3Write64KCalls" value="1.3.6.1.4.1.789.1.3.2.2.6.4.8.0"/> + <def name="netapp_tv3Write128KCalls" + value="1.3.6.1.4.1.789.1.3.2.2.6.4.9.0"/> + +</definitions> + +<datasources> + + + <template name="netapp-cpu"> + <subtree name="Netapp_CPU"> + <param name="comment" value="NetApp CPU Stats"/> + <leaf name="CpuUpTime"> + <param name="hidden" value="yes"/> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU Time"/> + <param name="rrd-ds" value="cpuUpTime"/> + <param name="snmp-object" value="$netapp_cpuUpTime"/> + <param name="graph-legend" value="CPU Time"/> + </leaf> + <leaf name="CpuBusyTime"> + <param name="hidden" value="yes"/> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU Busy Time"/> + <param name="rrd-ds" value="cpuBusyTime"/> + <param name="snmp-object" value="$netapp_cpuBusyTime"/> + <param name="graph-legend" value="CPU Busy Time"/> + </leaf> + <leaf name="CpuBusyTimePerCent"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="CPU Busy Time Percent"/> + <param name="rrd-ds" value="cpuBusyTimePerCent"/> + <param name="snmp-object" value="$netapp_cpuBusyTimePerCent"/> + <param name="graph-legend" value="CPU Busy Time Percent"/> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="CpuIdleTime"> + <param name="hidden" value="yes"/> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU Idle Time since boot"/> + <param name="rrd-ds" value="cpuIdleTime"/> + <param name="snmp-object" value="$netapp_cpuIdleTime"/> + <param name="graph-legend" value="CPU Idle Time"/> + </leaf> + <leaf name="CpuIdleTimePerCent"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="CPU Idle Time Percent since boot"/> + <param name="rrd-ds" value="cpuIdleTimePerCent"/> + <param name="snmp-object" value="$netapp_cpuIdleTimePerCent"/> + <param name="graph-legend" value="CPU Idle Time Percent"/> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="CpuSwitchInvocations"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="The number of sk_switch invocations"/> + <param name="rrd-ds" value="SwitchInvocations"/> + <param name="snmp-object" value="$netapp_cpuSwitchInvocations"/> + <param name="graph-legend" value="sk_switch invocations"/> + <param name="vertical-label" value="Switches"/> + </leaf> + <leaf name="CpuInterrupts"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU Interrupts"/> + <param name="rrd-ds" value="cpuInterrupts"/> + <param name="snmp-object" value="$netapp_cpuInterrupts"/> + <param name="graph-legend" value="CPU Interrupts"/> + <param name="vertical-label" value="Interrupts"/> + </leaf> + <leaf name="CpuNonCPInterrupts"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU NonCPInterrupts"/> + <param name="rrd-ds" value="cpuNonCPInterrupts"/> + <param name="snmp-object" value="$netapp_cpuNonCPInterrupts"/> + <param name="graph-legend" value="CPU NonCPInterrupts"/> + <param name="vertical-label" value="Interrupts"/> + </leaf> + <leaf name="CpuCPInterruptPercent"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="comment" value="CPU CPInterruptPercent"/> + <param name="rrd-ds" value="cpuCPIntPercent"/> + <param name="snmp-object" value="$netapp_cpuCPInterruptPercent"/> + <param name="graph-legend" value="CPU CP Interrupts Percent"/> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="CpuNonCPInterruptPercent"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Ticks"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="CPU Non-CP Interrupts Percent"/> + <param name="rrd-ds" value="cpuNonCPIntPercent"/> + <param name="snmp-object" value="$netapp_cpuNonCPInterruptPercent"/> + <param name="graph-legend" value="NonCP Interrupts Percent"/> + <param name="vertical-label" value="Percent"/> + </leaf> + <leaf name="CpuTotalDomainSwitches"> + <param name="data-file" value="%system-id%_CPU.rrd"/> + <param name="vertical-label" value="Switches"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="CPU Domain Switches"/> + <param name="rrd-ds" value="TotDomainSwitches"/> + <param name="snmp-object" value="$netapp_cpuTotalDomainSwitches"/> + <param name="graph-legend" value="Domain Switches"/> + <param name="vertical-label" value="Switches"/> + </leaf> + </subtree> + </template> + <template name="netapp-misc"> + <subtree name="NetApp_General"> + <param name="NetApp General Stats"/> + <leaf name="NfsOps"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="NFS Operations"/> + <param name="rrd-ds" value="miscLowNfsOps"/> + <param name="snmp-object" value="$netapp_miscLowNfsOps"/> + <param name="graph-legend" value="NFS Operations/s"/> + </leaf> + <leaf name="CifsOps"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="CIFS Operations"/> + <param name="rrd-ds" value="miscLowCifsOps"/> + <param name="snmp-object" value="$netapp_miscLowCifsOps"/> + <param name="graph-legend" value="CIFS Operations/s"/> + </leaf> + <leaf name="HttpOps"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="HTTP Operations"/> + <param name="rrd-ds" value="miscLowHttpOps"/> + <param name="snmp-object" value="$netapp_miscLowHttpOps"/> + <param name="graph-legend" value="HTTP Operations/s"/> + </leaf> + <leaf name="NetRcvdBytes"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="Network Received Bytes/s"/> + <param name="rrd-ds" value="miscLowNetRcvdBytes"/> + <param name="snmp-object" value="$netapp_miscLowNetRcvdBytes"/> + <param name="graph-legend" value="Network Received Bytes/s"/> + </leaf> + <leaf name="NetSentBytes"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="Network Sent Bytes/s"/> + <param name="rrd-ds" value="miscLowNetSentBytes"/> + <param name="snmp-object" value="$netapp_miscLowNetSentBytes"/> + <param name="graph-legend" value="Network Sent Bytes/s"/> + </leaf> + <leaf name="DiskReadBytes"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Reads/s"/> + <param name="comment" value="Disk Read Bytes/s"/> + <param name="rrd-ds" value="LowDiskReadBytes"/> + <param name="snmp-object" value="$netapp_miscLowDiskReadBytes"/> + <param name="graph-legend" value="Disk Received Bytes/s"/> + </leaf> + <leaf name="DiskWriteBytes"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Writes/s"/> + <param name="comment" value="Disk Write Bytes/s"/> + <param name="rrd-ds" value="LowDiskWriteBytes"/> + <param name="snmp-object" value="$netapp_miscLowDiskWriteBytes"/> + <param name="graph-legend" value="Disk Write Bytes/s"/> + </leaf> + <leaf name="TapeReadBytes"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="Tape Received Bytes/s"/> + <param name="rrd-ds" value="LowTapeReadBytes"/> + <param name="snmp-object" value="$netapp_miscLowTapeReadBytes"/> + <param name="graph-legend" value="Tape Received Bytes/s"/> + </leaf> + <leaf name="TapeWriteBytes"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <param name="comment" value="Tape Write Bytes/s"/> + <param name="rrd-ds" value="LowTapeWriteBytes"/> + <param name="snmp-object" value="$netapp_miscLowTapeWriteBytes"/> + <param name="graph-legend" value="Tape Write Bytes/s"/> + </leaf> + <leaf name="CacheAge"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_misc.rrd"/> + <param name="vertical-label" value="Minutes"/> + <param name="comment" value="Cache Age in Minutes"/> + <param name="rrd-ds" value="miscCacheAge"/> + <param name="snmp-object" value="$netapp_miscCacheAge"/> + <param name="graph-legend" value="Cache Age"/> + </leaf> + </subtree> + </template> + <template name="netapp-cp"> + <subtree name="ConsistencyPoints"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_cp.rrd"/> + <param name="vertical-label" value="Operations/s"/> + <leaf name="cpTime"> + <param name="vertical-label" value="Ticks"/> + <param name="comment" value="Time Spent Processing CPs"/> + <param name="rrd-ds" value="cpTime"/> + <param name="snmp-object" value="$netapp_cpTime"/> + <param name="graph-legend" value="CP Time"/> + </leaf> + <leaf name="cpFromTimerOps"> + <param name="comment" value="CP Operations from Timer"/> + <param name="rrd-ds" value="cpFromTimerOps"/> + <param name="snmp-object" value="$netapp_cpFromTimerOps"/> + <param name="graph-legend" value="CPs From Timer "/> + </leaf> + </subtree> + </template> + <template name="netapp-nfsv2"> + <subtree name="nfsv2_Calls"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_nfsv2.rrd"/> + <param name="vertical-label" value="Calls"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing Requests"/> + <param name="rrd-ds" value="tv2cNull"/> + <param name="snmp-object" value="$netapp_tv2cNulls"/> + <param name="graph-legend" value="Null Requests/s"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get File Attributes"/> + <param name="rrd-ds" value="tv2cGetattrs"/> + <param name="snmp-object" value="$netapp_tv2cGetattrs"/> + <param name="graph-legend" value="Getattrs Requests/s"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set File Attributes"/> + <param name="rrd-ds" value="tv2cSetattrs"/> + <param name="snmp-object" value="$netapp_tv2cSetattrs"/> + <param name="graph-legend" value="Setattrs Requests/s"/> + </leaf> + <leaf name="Roots"> + <param name="comment" value="Get Filesystem Root"/> + <param name="rrd-ds" value="tv2cRoots"/> + <param name="snmp-object" value="$netapp_tv2cRoots"/> + <param name="graph-legend" value="Root Requests/s"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Look Up File Name"/> + <param name="rrd-ds" value="tv2cLookups"/> + <param name="snmp-object" value="$netapp_tv2cLookups"/> + <param name="graph-legend" value="Lookup Requests/s"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link"/> + <param name="rrd-ds" value="tv2cReadlinks"/> + <param name="snmp-object" value="$netapp_tv2cReadlinks"/> + <param name="graph-legend" value="Readlinks Requests/s"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Reads"/> + <param name="rrd-ds" value="tv2cReads"/> + <param name="snmp-object" value="$netapp_tv2cReads"/> + <param name="graph-legend" value="Read Requests/s"/> + </leaf> + <leaf name="Wrcaches"> + <param name="comment" value="Write to Cache"/> + <param name="rrd-ds" value="tv2cWrcaches"/> + <param name="snmp-object" value="$netapp_tv2cWrcaches"/> + <param name="graph-legend" value="Write Cache Requests/s"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write to File"/> + <param name="rrd-ds" value="tv2cWrites"/> + <param name="snmp-object" value="$netapp_tv2cWrites"/> + <param name="graph-legend" value="Write Requests/s"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File"/> + <param name="rrd-ds" value="tv2cCreates"/> + <param name="snmp-object" value="$netapp_tv2cCreates"/> + <param name="graph-legend" value="Create Requests/s"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File"/> + <param name="rrd-ds" value="tv2cRemoves"/> + <param name="snmp-object" value="$netapp_tv2cRemoves"/> + <param name="graph-legend" value="Remove Requests/s"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File"/> + <param name="rrd-ds" value="tv2cRenames"/> + <param name="snmp-object" value="$netapp_tv2cRenames"/> + <param name="graph-legend" value="Rename Requests/s"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link to File"/> + <param name="rrd-ds" value="tv2cLinks"/> + <param name="snmp-object" value="$netapp_tv2cLinks"/> + <param name="graph-legend" value="Link Requests/s"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink to File"/> + <param name="rrd-ds" value="tv2cSymlinks"/> + <param name="snmp-object" value="$netapp_tv2cSymlinks"/> + <param name="graph-legend" value="SymLink Requests/s"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Create Directory"/> + <param name="rrd-ds" value="tv2cMkdirs"/> + <param name="snmp-object" value="$netapp_tv2cMkdirs"/> + <param name="graph-legend" value="Mkdir Requests/s"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory"/> + <param name="rrd-ds" value="tv2cRmdirs"/> + <param name="snmp-object" value="$netapp_tv2cRmdirs"/> + <param name="graph-legend" value="Rmdir Requests/s"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory"/> + <param name="rrd-ds" value="tv2cReaddirs"/> + <param name="snmp-object" value="$netapp_tv2cReaddirs"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="Statfs"> + <param name="comment" value="Get FS Attributes"/> + <param name="rrd-ds" value="tv2cStatfss"/> + <param name="snmp-object" value="$netapp_tv2cStatfss"/> + <param name="graph-legend" value="Statfs Requests/s"/> + </leaf> + </subtree> + <subtree name="nfsv2_Percent"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_nfsv2.rrd"/> + <param name="vertical-label" value="Percent Calls"/> + <leaf name="Null"> + <param name="comment" value="Percent Do Nothing Requests"/> + <param name="rrd-ds" value="tv2pNull"/> + <param name="snmp-object" value="$netapp_tv2pNulls"/> + <param name="graph-legend" value="Percent Null Requests"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Percent Get File Attributes"/> + <param name="rrd-ds" value="tv2pGetattrs"/> + <param name="snmp-object" value="$netapp_tv2pGetattrs"/> + <param name="graph-legend" value="Percent Getattrs Requests"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Percent Set File Attributes"/> + <param name="rrd-ds" value="tv2pSetattrs"/> + <param name="snmp-object" value="$netapp_tv2pSetattrs"/> + <param name="graph-legend" value="Percent Setattrs Requests"/> + </leaf> + <leaf name="Roots"> + <param name="comment" value="Percent Get Filesystem Root"/> + <param name="rrd-ds" value="tv2pRoots"/> + <param name="snmp-object" value="$netapp_tv2pRoots"/> + <param name="graph-legend" value="Percent Root Requests"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Percent Look Up File Name"/> + <param name="rrd-ds" value="tv2pLookups"/> + <param name="snmp-object" value="$netapp_tv2pLookups"/> + <param name="graph-legend" value="Percent Lookup Requests"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Percent Read From Symbolic Link"/> + <param name="rrd-ds" value="tv2pReadlinks"/> + <param name="snmp-object" value="$netapp_tv2pReadlinks"/> + <param name="graph-legend" value="Percent Readlinks Requests"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Percent Reads"/> + <param name="rrd-ds" value="tv2pReads"/> + <param name="snmp-object" value="$netapp_tv2pReads"/> + <param name="graph-legend" value="Percent Read Requests"/> + </leaf> + <leaf name="Wrcaches"> + <param name="comment" value="Percent Write to Cache"/> + <param name="rrd-ds" value="tv2pWrcaches"/> + <param name="snmp-object" value="$netapp_tv2pWrcaches"/> + <param name="graph-legend" value="Percent Write Cache Requests"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Percent Write to File"/> + <param name="rrd-ds" value="tv2pWrites"/> + <param name="snmp-object" value="$netapp_tv2pWrites"/> + <param name="graph-legend" value="Percent Write Requests"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Percent Create File"/> + <param name="rrd-ds" value="tv2pCreates"/> + <param name="snmp-object" value="$netapp_tv2pCreates"/> + <param name="graph-legend" value="Percent Create Requests"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Percent Remove File"/> + <param name="rrd-ds" value="tv2pRemoves"/> + <param name="snmp-object" value="$netapp_tv2pRemoves"/> + <param name="graph-legend" value="Percent Remove Requests"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Percent Rename File"/> + <param name="rrd-ds" value="tv2pRenames"/> + <param name="snmp-object" value="$netapp_tv2pRenames"/> + <param name="graph-legend" value="Percent Rename Requests"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Percent Create Link to File"/> + <param name="rrd-ds" value="tv2pLinks"/> + <param name="snmp-object" value="$netapp_tv2pLinks"/> + <param name="graph-legend" value="Percent Link Requests"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Percent Create SymLink to File"/> + <param name="rrd-ds" value="tv2pSymlinks"/> + <param name="snmp-object" value="$netapp_tv2pSymlinks"/> + <param name="graph-legend" value="Percent SymLink Requests"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Percent Create Directory"/> + <param name="rrd-ds" value="tv2pMkdirs"/> + <param name="snmp-object" value="$netapp_tv2pMkdirs"/> + <param name="graph-legend" value="Percent Mkdir Requests"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Percent Remove Directory"/> + <param name="rrd-ds" value="tv2pRmdirs"/> + <param name="snmp-object" value="$netapp_tv2pRmdirs"/> + <param name="graph-legend" value="Percent Rmdir Requests"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Percent Read From Directory"/> + <param name="rrd-ds" value="tv2pReaddirs"/> + <param name="snmp-object" value="$netapp_tv2pReaddirs"/> + <param name="graph-legend" value="Percent Readdir Requests"/> + </leaf> + <leaf name="Statfs"> + <param name="comment" value="Percent Get FS Attributes"/> + <param name="rrd-ds" value="tv2pStatfss"/> + <param name="snmp-object" value="$netapp_tv2pStatfss"/> + <param name="graph-legend" value="Percent Statfs Requests"/> + </leaf> + </subtree> + <subtree name="nfsv2_CacheCalls"> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_nfsv2.rrd"/> + <param name="vertical-label" value="Cached Calls"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing Requests"/> + <param name="rrd-ds" value="tv2ccNull"/> + <param name="snmp-object" value="$netapp_tv2ccNulls"/> + <param name="graph-legend" value="Cached Null Requests/s"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get File Attributes"/> + <param name="rrd-ds" value="tv2ccGetattrs"/> + <param name="snmp-object" value="$netapp_tv2ccGetattrs"/> + <param name="graph-legend" value="Cached Getattrs Requests/s"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set File Attributes"/> + <param name="rrd-ds" value="tv2ccSetattrs"/> + <param name="snmp-object" value="$netapp_tv2ccSetattrs"/> + <param name="graph-legend" value="Cached Setattrs Requests/s"/> + </leaf> + <leaf name="Roots"> + <param name="comment" value="Get Filesystem Root"/> + <param name="rrd-ds" value="tv2ccRoots"/> + <param name="snmp-object" value="$netapp_tv2ccRoots"/> + <param name="graph-legend" value="Cached Root Requests/s"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Look Up File Name"/> + <param name="rrd-ds" value="tv2ccLookups"/> + <param name="snmp-object" value="$netapp_tv2ccLookups"/> + <param name="graph-legend" value="Cached Lookup Requests/s"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link"/> + <param name="rrd-ds" value="tv2ccReadlinks"/> + <param name="snmp-object" value="$netapp_tv2ccReadlinks"/> + <param name="graph-legend" value="Cached Readlinks Requests/s"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Reads"/> + <param name="rrd-ds" value="tv2ccReads"/> + <param name="snmp-object" value="$netapp_tv2ccReads"/> + <param name="graph-legend" value="Cached Read Requests/s"/> + </leaf> + <leaf name="Wrcaches"> + <param name="comment" value="Write to Cache"/> + <param name="rrd-ds" value="tv2ccWrcaches"/> + <param name="snmp-object" value="$netapp_tv2ccWrcaches"/> + <param name="graph-legend" value="Cached Write Cache Requests/s"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write to File"/> + <param name="rrd-ds" value="tv2ccWrites"/> + <param name="snmp-object" value="$netapp_tv2ccWrites"/> + <param name="graph-legend" value="Cached Write Requests/s"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File"/> + <param name="rrd-ds" value="tv2ccCreates"/> + <param name="snmp-object" value="$netapp_tv2ccCreates"/> + <param name="graph-legend" value="Cached Create Requests/s"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File"/> + <param name="rrd-ds" value="tv2ccRemoves"/> + <param name="snmp-object" value="$netapp_tv2ccRemoves"/> + <param name="graph-legend" value="Cached Remove Requests/s"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File"/> + <param name="rrd-ds" value="tv2ccRenames"/> + <param name="snmp-object" value="$netapp_tv2ccRenames"/> + <param name="graph-legend" value="Cached Rename Requests/s"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link to File"/> + <param name="rrd-ds" value="tv2ccLinks"/> + <param name="snmp-object" value="$netapp_tv2ccLinks"/> + <param name="graph-legend" value="Cached Link Requests/s"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink to File"/> + <param name="rrd-ds" value="tv2ccSymlinks"/> + <param name="snmp-object" value="$netapp_tv2ccSymlinks"/> + <param name="graph-legend" value="Cached SymLink Requests/s"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Create Directory"/> + <param name="rrd-ds" value="tv2ccMkdirs"/> + <param name="snmp-object" value="$netapp_tv2ccMkdirs"/> + <param name="graph-legend" value="Cached Mkdir Requests/s"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory"/> + <param name="rrd-ds" value="tv2ccRmdirs"/> + <param name="snmp-object" value="$netapp_tv2ccRmdirs"/> + <param name="graph-legend" value="Cached Rmdir Requests/s"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory"/> + <param name="rrd-ds" value="tv2ccReaddirs"/> + <param name="snmp-object" value="$netapp_tv2ccReaddirs"/> + <param name="graph-legend" value="Cached Readdir Requests/s"/> + </leaf> + <leaf name="Statfs"> + <param name="comment" value="Get FS Attributes"/> + <param name="rrd-ds" value="tv2ccStatfss"/> + <param name="snmp-object" value="$netapp_tv2ccStatfss"/> + <param name="graph-legend" value="Cached Statfs Requests/s"/> + </leaf> + </subtree> + </template> + <template name="netapp-nfsv3"> + <subtree name="NFSv3_Calls_vs_Cache"> + <param name="comment" value="NFS v3 Calls vs Cached Calls"/> + <param name="vertical-label" value="Requests/s"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing (Null) Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Null}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Null}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get Attribute Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Getattrs}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Getattrs}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set Attribute Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Setattrs}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Setattrs}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Lookup File Name Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Lookups}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Lookups}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Access"> + <param name="comment" value="Check Access Permission Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Access}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Access}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Readlinks}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedCalls/Readlinks}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Read From File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Reads}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Reads}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write To File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Writes}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Writes}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Creates}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Creates}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Make Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Mkdir}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Mkdir}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/SymLink}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/SymLink}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Mknod"> + <param name="comment" value="Create Device Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Mknod}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Mknod}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Remove}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Remove}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Rmdir}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Rmdir}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Rename}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Rename}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Link}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Link}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Readdir}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Readdir}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="ReaddirPlus"> + <param name="comment" value="Extended Read From Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/ReaddirPlus}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedCalls/ReaddirPlus}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Fsstat"> + <param name="comment" value="Dynamic File System Info Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Fsstat}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Fsstat}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Fsinfos"> + <param name="comment" value="Static File System Info Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Fsinfos}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Fsinfos}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Pathconf"> + <param name="comment" value="POSIX Info Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Pathconf}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Pathconf}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Commit"> + <param name="comment" value="Commit Cached Server Data Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Calls/Commit}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedCalls/Commit}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + </subtree> + <subtree name="NFSv3_Percent_Calls_vs_Cache"> + <param name="comment" value="NFS v3 Percent Calls vs Cached Calls"/> + <param name="vertical-label" value="Requests/s"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing (Null) Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Null}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Null}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get Attribute Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Getattrs}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Getattrs}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set Attribute Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Setattrs}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Setattrs}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Lookup File Name Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Lookups}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Lookups}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Access"> + <param name="comment" value="Check Access Permission Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Access}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Access}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Readlinks}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Readlinks}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Read From File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Reads}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Reads}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write To File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Writes}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Writes}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Creates}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Creates}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Make Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Mkdir}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Mkdir}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/SymLink}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/SymLink}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Mknod"> + <param name="comment" value="Create Device Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Mknod}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Mknod}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Remove}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Remove}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Rmdir}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Rmdir}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Rename}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Rename}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Link}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Link}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Readdir}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Readdir}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="ReaddirPlus"> + <param name="comment" value="Extended Read From Directory Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/ReaddirPlus}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/ReaddirPlus}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Fsstat"> + <param name="comment" value="Dynamic File System Info Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Fsstat}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Fsstat}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Fsinfos"> + <param name="comment" value="Static File System Info Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Fsinfos}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Fsinfos}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Pathconf"> + <param name="comment" value="POSIX Info Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Pathconf}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" + value="{../nfsv3_CachedPercent/Pathconf}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + <leaf name="Commit"> + <param name="comment" value="Commit Cached Server Data Requests"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="calls,cache"/> + <!-- Calls --> + <param name="ds-expr-calls" value="{../nfsv3_Percent/Commit}"/> + <param name="graph-legend-calls" value="Requests"/> + <param name="line-style-calls" value="AREA"/> + <param name="line-color-calls" value="##two"/> + <param name="line-order-calls" value="1"/> + <!-- Cache --> + <param name="ds-expr-cache" value="{../nfsv3_CachedPercent/Commit}"/> + <param name="graph-legend-cache" value="Cached Results"/> + <param name="line-style-cache" value="LINE1"/> + <param name="line-color-cache" value="##three"/> + <param name="line-order-cache" value="2"/> + </leaf> + </subtree> + <subtree name="nfsv3_Calls"> + <param name="hidden" value="yes"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_nfsv3.rrd"/> + <param name="vertical-label" value="Calls"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing Requests"/> + <param name="rrd-ds" value="tv3cNull"/> + <param name="snmp-object" value="$netapp_tv3cNulls"/> + <param name="graph-legend" value="Null Requests/s"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get File Attributes"/> + <param name="rrd-ds" value="tv3cGetattrs"/> + <param name="snmp-object" value="$netapp_tv3cGetattrs"/> + <param name="graph-legend" value="Getattrs Requests/s"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set File Attributes"/> + <param name="rrd-ds" value="tv3cSetattrs"/> + <param name="snmp-object" value="$netapp_tv3cSetattrs"/> + <param name="graph-legend" value="Setattrs Requests/s"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Look Up File Name"/> + <param name="rrd-ds" value="tv3cLookups"/> + <param name="snmp-object" value="$netapp_tv3cLookups"/> + <param name="graph-legend" value="Lookup Requests/s"/> + </leaf> + <leaf name="Access"> + <param name="comment" value="Check Access Permission"/> + <param name="rrd-ds" value="tv3cAccesss"/> + <param name="snmp-object" value="$netapp_tv3cAccesss"/> + <param name="graph-legend" value="Permission Requests/s"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link"/> + <param name="rrd-ds" value="tv3cReadlinks"/> + <param name="snmp-object" value="$netapp_tv3cReadlinks"/> + <param name="graph-legend" value="Readlinks Requests/s"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Reads"/> + <param name="rrd-ds" value="tv3cReads"/> + <param name="snmp-object" value="$netapp_tv3cReads"/> + <param name="graph-legend" value="Read Requests/s"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write to File"/> + <param name="rrd-ds" value="tv3cWrites"/> + <param name="snmp-object" value="$netapp_tv3cWrites"/> + <param name="graph-legend" value="Write Requests/s"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File"/> + <param name="rrd-ds" value="tv3cCreates"/> + <param name="snmp-object" value="$netapp_tv3cCreates"/> + <param name="graph-legend" value="Create Requests/s"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Create Directory"/> + <param name="rrd-ds" value="tv3cMkdirs"/> + <param name="snmp-object" value="$netapp_tv3cMkdirs"/> + <param name="graph-legend" value="Mkdir Requests/s"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink to File"/> + <param name="rrd-ds" value="tv3cSymlinks"/> + <param name="snmp-object" value="$netapp_tv3cSymlinks"/> + <param name="graph-legend" value="SymLink Requests/s"/> + </leaf> + <leaf name="Mknod"> + <param name="comment" value="Create a Device"/> + <param name="rrd-ds" value="tv3cMknods"/> + <param name="snmp-object" value="$netapp_tv3cMknods"/> + <param name="graph-legend" value="Mknod Requests/s"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File"/> + <param name="rrd-ds" value="tv3cRemoves"/> + <param name="snmp-object" value="$netapp_tv3cRemoves"/> + <param name="graph-legend" value="Remove Requests/s"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory"/> + <param name="rrd-ds" value="tv3cRmdirs"/> + <param name="snmp-object" value="$netapp_tv3cRmdirs"/> + <param name="graph-legend" value="Rmdir Requests/s"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File"/> + <param name="rrd-ds" value="tv3cRenames"/> + <param name="snmp-object" value="$netapp_tv3cRenames"/> + <param name="graph-legend" value="Rename Requests/s"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link to File"/> + <param name="rrd-ds" value="tv3cLinks"/> + <param name="snmp-object" value="$netapp_tv3cLinks"/> + <param name="graph-legend" value="Link Requests/s"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory"/> + <param name="rrd-ds" value="tv3cReaddirs"/> + <param name="snmp-object" value="$netapp_tv3cReaddirs"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="ReaddirPlus"> + <param name="comment" value="Extended Read From Directory"/> + <param name="rrd-ds" value="tv3cReaddirPluss"/> + <param name="snmp-object" value="$netapp_tv3cReaddirPluss"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="Fsstat"> + <param name="comment" value="Dynamic File System Information"/> + <param name="rrd-ds" value="tv3cFsstats"/> + <param name="snmp-object" value="$netapp_tv3cFsstats"/> + <param name="graph-legend" value="FS Dynamic info Requests/s"/> + </leaf> + <leaf name="Fsinfos"> + <param name="comment" value="Static File System Information"/> + <param name="rrd-ds" value="tv3cFsinfos"/> + <param name="snmp-object" value="$netapp_tv3cFsinfos"/> + <param name="graph-legend" value="FS Static info Requests/s"/> + </leaf> + <leaf name="Pathconf"> + <param name="comment" value="POSIX Info Requests"/> + <param name="rrd-ds" value="tv3cPathconfs"/> + <param name="snmp-object" value="$netapp_tv3cPathconfs"/> + <param name="graph-legend" value="POSIX info Requests/s"/> + </leaf> + <leaf name="Commit"> + <param name="comment" value="Commit Cached Server Data Requests"/> + <param name="rrd-ds" value="tv3cCommits"/> + <param name="snmp-object" value="$netapp_tv3cCommits"/> + <param name="graph-legend" value="Commit Requests/s"/> + </leaf> + </subtree> + <subtree name="nfsv3_Percent"> + <param name="hidden" value="yes"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_nfsv3.rrd"/> + <param name="vertical-label" value="Calls"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing Requests"/> + <param name="rrd-ds" value="tv3pNull"/> + <param name="snmp-object" value="$netapp_tv3pNulls"/> + <param name="graph-legend" value="Null Requests/s"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get File Attributes"/> + <param name="rrd-ds" value="tv3pGetattrs"/> + <param name="snmp-object" value="$netapp_tv3pGetattrs"/> + <param name="graph-legend" value="Getattrs Requests/s"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set File Attributes"/> + <param name="rrd-ds" value="tv3pSetattrs"/> + <param name="snmp-object" value="$netapp_tv3pSetattrs"/> + <param name="graph-legend" value="Setattrs Requests/s"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Look Up File Name"/> + <param name="rrd-ds" value="tv3pLookups"/> + <param name="snmp-object" value="$netapp_tv3pLookups"/> + <param name="graph-legend" value="Lookup Requests/s"/> + </leaf> + <leaf name="Access"> + <param name="comment" value="Check Access Permission"/> + <param name="rrd-ds" value="tv3pAccesss"/> + <param name="snmp-object" value="$netapp_tv3pAccesss"/> + <param name="graph-legend" value="Permission Requests/s"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link"/> + <param name="rrd-ds" value="tv3pReadlinks"/> + <param name="snmp-object" value="$netapp_tv3pReadlinks"/> + <param name="graph-legend" value="Readlinks Requests/s"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Reads"/> + <param name="rrd-ds" value="tv3pReads"/> + <param name="snmp-object" value="$netapp_tv3pReads"/> + <param name="graph-legend" value="Read Requests/s"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write to File"/> + <param name="rrd-ds" value="tv3pWrites"/> + <param name="snmp-object" value="$netapp_tv3pWrites"/> + <param name="graph-legend" value="Write Requests/s"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File"/> + <param name="rrd-ds" value="tv3pCreates"/> + <param name="snmp-object" value="$netapp_tv3pCreates"/> + <param name="graph-legend" value="Create Requests/s"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Create Directory"/> + <param name="rrd-ds" value="tv3pMkdirs"/> + <param name="snmp-object" value="$netapp_tv3pMkdirs"/> + <param name="graph-legend" value="Mkdir Requests/s"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink to File"/> + <param name="rrd-ds" value="tv3pSymlinks"/> + <param name="snmp-object" value="$netapp_tv3pSymlinks"/> + <param name="graph-legend" value="SymLink Requests/s"/> + </leaf> + <leaf name="Mknod"> + <param name="comment" value="Create a Device"/> + <param name="rrd-ds" value="tv3pMknods"/> + <param name="snmp-object" value="$netapp_tv3pMknods"/> + <param name="graph-legend" value="Mknod Requests/s"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File"/> + <param name="rrd-ds" value="tv3pRemoves"/> + <param name="snmp-object" value="$netapp_tv3pRemoves"/> + <param name="graph-legend" value="Remove Requests/s"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory"/> + <param name="rrd-ds" value="tv3pRmdirs"/> + <param name="snmp-object" value="$netapp_tv3pRmdirs"/> + <param name="graph-legend" value="Rmdir Requests/s"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File"/> + <param name="rrd-ds" value="tv3pRenames"/> + <param name="snmp-object" value="$netapp_tv3pRenames"/> + <param name="graph-legend" value="Rename Requests/s"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link to File"/> + <param name="rrd-ds" value="tv3pLinks"/> + <param name="snmp-object" value="$netapp_tv3pLinks"/> + <param name="graph-legend" value="Link Requests/s"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory"/> + <param name="rrd-ds" value="tv3pReaddirs"/> + <param name="snmp-object" value="$netapp_tv3pReaddirs"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="ReaddirPlus"> + <param name="comment" value="Extended Read From Directory"/> + <param name="rrd-ds" value="tv3pReaddirPluss"/> + <param name="snmp-object" value="$netapp_tv3pReaddirPluss"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="Fsstat"> + <param name="comment" value="Dynamic File System Information"/> + <param name="rrd-ds" value="tv3pFsstats"/> + <param name="snmp-object" value="$netapp_tv3pFsstats"/> + <param name="graph-legend" value="FS Dynamic info Requests/s"/> + </leaf> + <leaf name="Fsinfos"> + <param name="comment" value="Static File System Information"/> + <param name="rrd-ds" value="tv3pFsinfos"/> + <param name="snmp-object" value="$netapp_tv3pFsinfos"/> + <param name="graph-legend" value="FS Static info Requests/s"/> + </leaf> + <leaf name="Pathconf"> + <param name="comment" value="POSIX Info Requests"/> + <param name="rrd-ds" value="tv3pPathconfs"/> + <param name="snmp-object" value="$netapp_tv3pPathconfs"/> + <param name="graph-legend" value="POSIX info Requests/s"/> + </leaf> + <leaf name="Commit"> + <param name="comment" value="Commit Cached Server Data Requests"/> + <param name="rrd-ds" value="tv3pCommits"/> + <param name="snmp-object" value="$netapp_tv3pCommits"/> + <param name="graph-legend" value="Commit Requests/s"/> + </leaf> + </subtree> + <subtree name="nfsv3_CachedCalls"> + <param name="hidden" value="yes"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_nfsv3.rrd"/> + <param name="vertical-label" value="Calls"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing Requests"/> + <param name="rrd-ds" value="tv3ccNull"/> + <param name="snmp-object" value="$netapp_tv3ccNulls"/> + <param name="graph-legend" value="Null Requests/s"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get File Attributes"/> + <param name="rrd-ds" value="tv3ccGetattrs"/> + <param name="snmp-object" value="$netapp_tv3ccGetattrs"/> + <param name="graph-legend" value="Getattrs Requests/s"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set File Attributes"/> + <param name="rrd-ds" value="tv3ccSetattrs"/> + <param name="snmp-object" value="$netapp_tv3ccSetattrs"/> + <param name="graph-legend" value="Setattrs Requests/s"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Look Up File Name"/> + <param name="rrd-ds" value="tv3ccLookups"/> + <param name="snmp-object" value="$netapp_tv3ccLookups"/> + <param name="graph-legend" value="Lookup Requests/s"/> + </leaf> + <leaf name="Access"> + <param name="comment" value="Check Access Permission"/> + <param name="rrd-ds" value="tv3ccAccesss"/> + <param name="snmp-object" value="$netapp_tv3ccAccesss"/> + <param name="graph-legend" value="Permission Requests/s"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link"/> + <param name="rrd-ds" value="tv3ccReadlinks"/> + <param name="snmp-object" value="$netapp_tv3ccReadlinks"/> + <param name="graph-legend" value="Readlinks Requests/s"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Reads"/> + <param name="rrd-ds" value="tv3ccReads"/> + <param name="snmp-object" value="$netapp_tv3ccReads"/> + <param name="graph-legend" value="Read Requests/s"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write to File"/> + <param name="rrd-ds" value="tv3ccWrites"/> + <param name="snmp-object" value="$netapp_tv3ccWrites"/> + <param name="graph-legend" value="Write Requests/s"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File"/> + <param name="rrd-ds" value="tv3ccCreates"/> + <param name="snmp-object" value="$netapp_tv3ccCreates"/> + <param name="graph-legend" value="Create Requests/s"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Create Directory"/> + <param name="rrd-ds" value="tv3ccMkdirs"/> + <param name="snmp-object" value="$netapp_tv3ccMkdirs"/> + <param name="graph-legend" value="Mkdir Requests/s"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink to File"/> + <param name="rrd-ds" value="tv3ccSymlinks"/> + <param name="snmp-object" value="$netapp_tv3ccSymlinks"/> + <param name="graph-legend" value="SymLink Requests/s"/> + </leaf> + <leaf name="Mknod"> + <param name="comment" value="Create a Device"/> + <param name="rrd-ds" value="tv3ccMknods"/> + <param name="snmp-object" value="$netapp_tv3ccMknods"/> + <param name="graph-legend" value="Mknod Requests/s"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File"/> + <param name="rrd-ds" value="tv3ccRemoves"/> + <param name="snmp-object" value="$netapp_tv3ccRemoves"/> + <param name="graph-legend" value="Remove Requests/s"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory"/> + <param name="rrd-ds" value="tv3ccRmdirs"/> + <param name="snmp-object" value="$netapp_tv3ccRmdirs"/> + <param name="graph-legend" value="Rmdir Requests/s"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File"/> + <param name="rrd-ds" value="tv3ccRenames"/> + <param name="snmp-object" value="$netapp_tv3ccRenames"/> + <param name="graph-legend" value="Rename Requests/s"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link to File"/> + <param name="rrd-ds" value="tv3ccLinks"/> + <param name="snmp-object" value="$netapp_tv3ccLinks"/> + <param name="graph-legend" value="Link Requests/s"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory"/> + <param name="rrd-ds" value="tv3ccReaddirs"/> + <param name="snmp-object" value="$netapp_tv3ccReaddirs"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="ReaddirPlus"> + <param name="comment" value="Extended Read From Directory"/> + <param name="rrd-ds" value="tv3ccReaddirPluss"/> + <param name="snmp-object" value="$netapp_tv3ccReaddirPluss"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="Fsstat"> + <param name="comment" value="Dynamic File System Information"/> + <param name="rrd-ds" value="tv3ccFsstats"/> + <param name="snmp-object" value="$netapp_tv3ccFsstats"/> + <param name="graph-legend" value="FS Dynamic info Requests/s"/> + </leaf> + <leaf name="Fsinfos"> + <param name="comment" value="Static File System Information"/> + <param name="rrd-ds" value="tv3ccFsinfos"/> + <param name="snmp-object" value="$netapp_tv3ccFsinfos"/> + <param name="graph-legend" value="FS Static info Requests/s"/> + </leaf> + <leaf name="Pathconf"> + <param name="comment" value="POSIX Info Requests"/> + <param name="rrd-ds" value="tv3ccPathconfs"/> + <param name="snmp-object" value="$netapp_tv3ccPathconfs"/> + <param name="graph-legend" value="POSIX info Requests/s"/> + </leaf> + <leaf name="Commit"> + <param name="comment" value="Commit Cached Server Data Requests"/> + <param name="rrd-ds" value="tv3ccCommits"/> + <param name="snmp-object" value="$netapp_tv3ccCommits"/> + <param name="graph-legend" value="Commit Requests/s"/> + </leaf> + </subtree> + <subtree name="nfsv3_CachedPercent"> + <param name="hidden" value="yes"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="data-file" value="%system-id%_nfsv3.rrd"/> + <param name="vertical-label" value="Calls"/> + <leaf name="Null"> + <param name="comment" value="Do Nothing Requests"/> + <param name="rrd-ds" value="tv3cpNull"/> + <param name="snmp-object" value="$netapp_tv3cpNulls"/> + <param name="graph-legend" value="Null Requests/s"/> + </leaf> + <leaf name="Getattrs"> + <param name="comment" value="Get File Attributes"/> + <param name="rrd-ds" value="tv3cpGetattrs"/> + <param name="snmp-object" value="$netapp_tv3cpGetattrs"/> + <param name="graph-legend" value="Getattrs Requests/s"/> + </leaf> + <leaf name="Setattrs"> + <param name="comment" value="Set File Attributes"/> + <param name="rrd-ds" value="tv3cpSetattrs"/> + <param name="snmp-object" value="$netapp_tv3cpSetattrs"/> + <param name="graph-legend" value="Setattrs Requests/s"/> + </leaf> + <leaf name="Lookups"> + <param name="comment" value="Look Up File Name"/> + <param name="rrd-ds" value="tv3cpLookups"/> + <param name="snmp-object" value="$netapp_tv3cpLookups"/> + <param name="graph-legend" value="Lookup Requests/s"/> + </leaf> + <leaf name="Access"> + <param name="comment" value="Check Access Permission"/> + <param name="rrd-ds" value="tv3cpAccesss"/> + <param name="snmp-object" value="$netapp_tv3cpAccesss"/> + <param name="graph-legend" value="Permission Requests/s"/> + </leaf> + <leaf name="Readlinks"> + <param name="comment" value="Read From Symbolic Link"/> + <param name="rrd-ds" value="tv3cpReadlinks"/> + <param name="snmp-object" value="$netapp_tv3cpReadlinks"/> + <param name="graph-legend" value="Readlinks Requests/s"/> + </leaf> + <leaf name="Reads"> + <param name="comment" value="Reads"/> + <param name="rrd-ds" value="tv3cpReads"/> + <param name="snmp-object" value="$netapp_tv3cpReads"/> + <param name="graph-legend" value="Read Requests/s"/> + </leaf> + <leaf name="Writes"> + <param name="comment" value="Write to File"/> + <param name="rrd-ds" value="tv3cpWrites"/> + <param name="snmp-object" value="$netapp_tv3cpWrites"/> + <param name="graph-legend" value="Write Requests/s"/> + </leaf> + <leaf name="Creates"> + <param name="comment" value="Create File"/> + <param name="rrd-ds" value="tv3cpCreates"/> + <param name="snmp-object" value="$netapp_tv3cpCreates"/> + <param name="graph-legend" value="Create Requests/s"/> + </leaf> + <leaf name="Mkdir"> + <param name="comment" value="Create Directory"/> + <param name="rrd-ds" value="tv3cpMkdirs"/> + <param name="snmp-object" value="$netapp_tv3cpMkdirs"/> + <param name="graph-legend" value="Mkdir Requests/s"/> + </leaf> + <leaf name="SymLink"> + <param name="comment" value="Create SymLink to File"/> + <param name="rrd-ds" value="tv3cpSymlinks"/> + <param name="snmp-object" value="$netapp_tv3cpSymlinks"/> + <param name="graph-legend" value="SymLink Requests/s"/> + </leaf> + <leaf name="Mknod"> + <param name="comment" value="Create a Device"/> + <param name="rrd-ds" value="tv3cpMknods"/> + <param name="snmp-object" value="$netapp_tv3cpMknods"/> + <param name="graph-legend" value="Mknod Requests/s"/> + </leaf> + <leaf name="Remove"> + <param name="comment" value="Remove File"/> + <param name="rrd-ds" value="tv3cpRemoves"/> + <param name="snmp-object" value="$netapp_tv3cpRemoves"/> + <param name="graph-legend" value="Remove Requests/s"/> + </leaf> + <leaf name="Rmdir"> + <param name="comment" value="Remove Directory"/> + <param name="rrd-ds" value="tv3cpRmdirs"/> + <param name="snmp-object" value="$netapp_tv3cpRmdirs"/> + <param name="graph-legend" value="Rmdir Requests/s"/> + </leaf> + <leaf name="Rename"> + <param name="comment" value="Rename File"/> + <param name="rrd-ds" value="tv3cpRenames"/> + <param name="snmp-object" value="$netapp_tv3cpRenames"/> + <param name="graph-legend" value="Rename Requests/s"/> + </leaf> + <leaf name="Link"> + <param name="comment" value="Create Link to File"/> + <param name="rrd-ds" value="tv3cpLinks"/> + <param name="snmp-object" value="$netapp_tv3cpLinks"/> + <param name="graph-legend" value="Link Requests/s"/> + </leaf> + <leaf name="Readdir"> + <param name="comment" value="Read From Directory"/> + <param name="rrd-ds" value="tv3cpReaddirs"/> + <param name="snmp-object" value="$netapp_tv3cpReaddirs"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="ReaddirPlus"> + <param name="comment" value="Extended Read From Directory"/> + <param name="rrd-ds" value="tv3cpReaddirPluss"/> + <param name="snmp-object" value="$netapp_tv3cpReaddirPluss"/> + <param name="graph-legend" value="Readdir Requests/s"/> + </leaf> + <leaf name="Fsstat"> + <param name="comment" value="Dynamic File System Information"/> + <param name="rrd-ds" value="tv3cpFsstats"/> + <param name="snmp-object" value="$netapp_tv3cpFsstats"/> + <param name="graph-legend" value="FS Dynamic info Requests/s"/> + </leaf> + <leaf name="Fsinfos"> + <param name="comment" value="Static File System Information"/> + <param name="rrd-ds" value="tv3cpFsinfos"/> + <param name="snmp-object" value="$netapp_tv3cpFsinfos"/> + <param name="graph-legend" value="FS Static info Requests/s"/> + </leaf> + <leaf name="Pathconf"> + <param name="comment" value="POSIX Info Requests"/> + <param name="rrd-ds" value="tv3cpPathconfs"/> + <param name="snmp-object" value="$netapp_tv3cpPathconfs"/> + <param name="graph-legend" value="POSIX info Requests/s"/> + </leaf> + <leaf name="Commit"> + <param name="comment" value="Commit Cached Server Data Requests"/> + <param name="rrd-ds" value="tv3cpCommits"/> + <param name="snmp-object" value="$netapp_tv3cpCommits"/> + <param name="graph-legend" value="Commit Requests/s"/> + </leaf> + </subtree> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/netbotz.xml b/torrus/xmlconfig/vendor/netbotz.xml new file mode 100644 index 000000000..78f3baeee --- /dev/null +++ b/torrus/xmlconfig/vendor/netbotz.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2009 Stanislav Sinyagin + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + Marc Haber <mh+rrfw-devel@zugschlus.de> + + NetBotz modular sensors + + $Id: netbotz.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ +--> + + +<configuration> + <definitions> + <def name="netbotz_tempSensorValue" + value="1.3.6.1.4.1.5528.100.4.1.1.1.2"/> + <def name="netbotz_humiSensorValue" + value="1.3.6.1.4.1.5528.100.4.1.2.1.2"/> + <def name="netbotz_dewPointSensorValue" + value="1.3.6.1.4.1.5528.100.4.1.3.1.2"/> + <def name="netbotz_audioSensorValue" + value="1.3.6.1.4.1.5528.100.4.1.4.1.2"/> + <def name="netbotz_airFlowSensorValue" + value="1.3.6.1.4.1.5528.100.4.1.5.1.2"/> + <def name="netbotz_doorSwitchSensorValue" + value="1.3.6.1.4.1.5528.100.4.2.2.1.2"/> + </definitions> + + <datasources> + + <template name="netbotz-sensor"> + <param name="collector-timeoffset-hashstring" + value="%system-id%:%netbotz-sensor-index%" /> + <param name="data-file" + value="%system-id%_sensor_%netbotz-sensor-index%.rrd"/> + <param name="rrd-ds" value="value"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="nodeid" + value="sensor//%nodeid-device%//%netbotz-sensor-index%"/> + </template> + + <template name="netbotz-temp-sensor"> + <apply-template name="netbotz-sensor"/> + <param name="snmp-object" + value="$netbotz_tempSensorValue.%netbotz-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="50" /> + <param name="upper-limit" value="35" /> + <param name="vertical-label" value="Degrees Celsius" /> + <param name="comment" value="Temperature sensor" /> + </template> + + + <template name="netbotz-humi-sensor"> + <apply-template name="netbotz-sensor"/> + <param name="snmp-object" + value="$netbotz_humiSensorValue.%netbotz-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="upper-limit" value="90" /> + <param name="vertical-label" value="Percent" /> + <param name="comment" value="Humidity sensor" /> + </template> + + <template name="netbotz-dew-sensor"> + <apply-template name="netbotz-sensor"/> + <param name="snmp-object" + value="$netbotz_dewPointSensorValue.%netbotz-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="30" /> + <param name="vertical-label" value="Degrees Celsius" /> + <param name="comment" value="Dew point sensor" /> + </template> + + <template name="netbotz-audio-sensor"> + <apply-template name="netbotz-sensor"/> + <param name="snmp-object" + value="$netbotz_audioSensorValue.%netbotz-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="graph-lower-limit" value="0" /> + <param name="graph-upper-limit" value="100" /> + <param name="comment" value="Audio level sensor" /> + </template> + + <template name="netbotz-air-sensor"> + <apply-template name="netbotz-sensor"/> + <param name="snmp-object" + value="$netbotz_airFlowSensorValue.%netbotz-sensor-index%"/> + <param name="collector-scale" value="10,/" /> + <param name="graph-lower-limit" value="0" /> + <param name="vertical-label" value="m/min" /> + <param name="comment" value="Air flow sensor" /> + </template> + + <template name="netbotz-door-sensor"> + <apply-template name="netbotz-sensor"/> + <param name="snmp-object" + value="$netbotz_doorSwitchSensorValue.%netbotz-sensor-index%"/> + <param name="graph-lower-limit" value="0" /> + <param name="vertical-label" value="0=open 1=closed" /> + <param name="comment" value="Door switch sensor" /> + </template> + + </datasources> +</configuration> diff --git a/torrus/xmlconfig/vendor/netscreen.xml b/torrus/xmlconfig/vendor/netscreen.xml new file mode 100644 index 000000000..0a3f0dc4a --- /dev/null +++ b/torrus/xmlconfig/vendor/netscreen.xml @@ -0,0 +1,128 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2003 Shawn Ferry + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: netscreen.xml,v 1.1 2010-12-27 00:04:21 ivan Exp $ + + NetScreen Firewall + +--> + +<configuration> +<definitions> + <def name="nsResCpuAvg" value="1.3.6.1.4.1.3224.16.1.1.0"/> + <def name="nsResCpuLast1Min" value="1.3.6.1.4.1.3224.16.1.2.0"/> + <def name="nsResCpuLast5Min" value="1.3.6.1.4.1.3224.16.1.3.0"/> + <def name="nsResCpuLast15Min" value="1.3.6.1.4.1.3224.16.1.4.0"/> + + <def name="nsResMemAllocate" value="1.3.6.1.4.1.3224.16.2.1.0"/> + <def name="nsResMemLeft" value="1.3.6.1.4.1.3224.16.2.2.0"/> + <def name="nsResMemFrag" value="1.3.6.1.4.1.3224.16.2.3.0"/> + + <!-- Active Sessions Does not appear to be supported --> + <def name="nsResSessActive" value="1.3.6.1.4.1.3224.16.3.1.0"/> + + <def name="nsResSessAllocate" value="1.3.6.1.4.1.3224.16.3.2.0"/> + <def name="nsResSessMaxium" value="1.3.6.1.4.1.3224.16.3.3.0"/> + <def name="nsResSessFailed" value="1.3.6.1.4.1.3224.16.3.4.0"/> +</definitions> + +<datasources> + + <template name="netscreen-cpu-stats"> + <subtree name="NetScreen_CPU"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_netscreen_CPU.rrd"/> + <param name="graph-lower-limit" value="0"/> + <param name="graph-upper-limit" value="100"/> + <param name="vertical-label" value="Percent"/> + <leaf name="CpuAvg"> + <param name="comment" value="Average CPU Utilization"/> + <param name="rrd-ds" value="CpuAvg"/> + <param name="snmp-object" value="$nsResCpuAvg"/> + <param name="graph-legend" value="Average CPU"/> + </leaf> + <leaf name="Cpu1Min"> + <param name="comment" value="One Minute CPU Utilization"/> + <param name="rrd-ds" value="Cpu1Min"/> + <param name="snmp-object" value="$nsResCpuLast1Min"/> + <param name="graph-legend" value="1-minute CPU"/> + </leaf> + <leaf name="Cpu5Min"> + <param name="comment" value="Five Minute CPU Utilization"/> + <param name="rrd-ds" value="Cpu5Min"/> + <param name="snmp-object" value="$nsResCpuLast5Min"/> + <param name="graph-legend" value="5-minute CPU"/> + </leaf> + <leaf name="Cpu15Min"> + <param name="comment" value="Fifteen Minute CPU Utilization"/> + <param name="rrd-ds" value="Cpu15Min"/> + <param name="snmp-object" value="$nsResCpuLast15Min"/> + <param name="graph-legend" value="15-minute CPU"/> + </leaf> + </subtree> + </template> + + <template name="netscreen-memory-stats"> + <subtree name="NetScreen_Memory"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_netscreen_memory.rrd"/> + <param name="graph-lower-limit" value="0"/> + <param name="vertical-label" value="Bytes"/> + <leaf name="Allocated_Memory"> + <param name="comment" value="Memory Used"/> + <param name="rrd-ds" value="Allocated"/> + <param name="snmp-object" value="$nsResMemAllocate"/> + <param name="graph-legend" value="Memory Used"/> + </leaf> + <leaf name="Free_Memory"> + <param name="comment" value="Memory Free"/> + <param name="rrd-ds" value="Free"/> + <param name="snmp-object" value="$nsResMemAllocate"/> + <param name="graph-legend" value="Memory Free"/> + </leaf> + <leaf name="Fragmented_Memory"> + <param name="comment" value="Memory Fragments"/> + <param name="rrd-ds" value="Fragments"/> + <param name="snmp-object" value="$nsResMemFrag"/> + <param name="graph-legend" value="Memory Fragments"/> + </leaf> + </subtree> + </template> + + <template name="netscreen-sessions-stats"> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="data-file" value="%system-id%_netscreen_sessions.rrd"/> + <param name="graph-lower-limit" value="0"/> + <param name="vertical-label" value="sessions"/> + <leaf name="Allocated_Sessions"> + <param name="comment" value="Allocated Sessions"/> + <param name="rrd-ds" value="allocate_sessions"/> + <param name="snmp-object" value="$nsResSessAllocate"/> + <param name="graph-legend" value="Sessions Allocated"/> + </leaf> + <leaf name="Failed_Sessions"> + <param name="comment" value="Failed Sessions"/> + <param name="rrd-ds" value="failed_sessions"/> + <param name="snmp-object" value="$nsResSessFailed"/> + <param name="graph-legend" value="Sessions Failed"/> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/paradyne.xdsl.xml b/torrus/xmlconfig/vendor/paradyne.xdsl.xml new file mode 100644 index 000000000..203e89a43 --- /dev/null +++ b/torrus/xmlconfig/vendor/paradyne.xdsl.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2002 Stanislav Sinyagin + Copyright (C) 2003 Gord Philpott <gphilpot@mnsi.net> + + File: vendor/paradyne.xdsl.xml + Description: Paradyne GranDSLAM definitions and templates for Torrus. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: paradyne.xdsl.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $ +--> + + +<!-- + File Overview: + - Several Paradyne DSL cards are supported in this file + - ADSL cards are supported through generic/rfc2662.adsl-line.xml + + Requirements: + - A Paradyne GranDSLAM 2.0 with any of the following Hotwire cards: ADSL, + ReachDSL, G.SHDSL + - Torrus 0.1.4 or newer + + Test Environment: + - Torrus 0.1.4 + - Paradyne GranDSLAM 2.0 DSLAM + - Hotwire DSL; Model: 8000-B2-211; S/W Release : M04.02.27 + - Paradyne Hotwire ATM ADSL Line Card; + Model: 8365-B1-000; S/W Release: 02.03.54 + - Paradyne Hotwire ATM G.SHDSL Line Card; + Model: 8385-B1-000; S/W Release: 02.03.45 + - Hotwire IP ReachDSL Line Card; Model: 8314-B3-000; S/W Release: 04.03.10 + + To do (GORD): + - Margin is big negative number for some interfaces. + Are they administratively down? Then RFC2863_IF_MIB excludes them by + default. Are they administratively up, but physically down? + Then we probably need to optionally exclude them from configuration. + - Graph decoration parameters: + vertical-label, graph-lower-limit, normal-level, lower-limit + - Nice readable names for leaves +--> + + +<configuration> + +<definitions> + <!-- HOTWIRE-XDSL-INTERFACE-MIB --> + <def name="xdslDevIfStatsElapsedTimeLinkUp" + value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.4" /> + <def name="xdslDevIfStatsUpStreamSpeed" + value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.6" /> + <def name="xdslDevIfStatsCentralRecMargin" + value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.8" /> + <def name="xdslDevIfStatsCentralRecAttenuationEstimate" + value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.9" /> + <def name="xdslDevIfStatsRemoteRecMargin" + value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.15" /> + <def name="xdslDevIfStatsRemoteRecAttenuationEstimate" + value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.16" /> +</definitions> + +<datasources> + + <!-- ####### START: Paradyne Hotwire ATM xDSL Line Card Template ####### --> + <template name="paradyne-xdsl-interface"> + + <leaf name="xdslTimeLinkUp"> + <param name="comment" value="xdsl Elapsed Time Link Up" /> + <param name="snmp-object"> + $xdslDevIfStatsElapsedTimeLinkUp.%ifindex-map%.%xdsl-stats-interval% + </param> + <param name="rrd-ds" value="xdslTimeLinkUp" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + + <leaf name="ifSpeed_Downstream"> + <param name="comment" value="xdsl Downstream Speed" /> + <param name="snmp-object" value="$ifSpeed.%ifindex-map%" /> + <param name="rrd-ds" value="ifSpeedDownstream" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + + <leaf name="xdslUpStreamSpeed"> + <param name="comment" value="xdsl UpStream Speed" /> + <param name="snmp-object"> + $xdslDevIfStatsUpStreamSpeed.%ifindex-map%.%xdsl-stats-interval% + </param> + <param name="rrd-ds" value="xdslUpStreamSpeed" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + + <leaf name="xdslCentRecMargin"> + <param name="comment" value="xdsl Central Rec Margin" /> + <param name="snmp-object"> + $xdslDevIfStatsCentralRecMargin.%ifindex-map%.%xdsl-stats-interval% + </param> + <param name="rrd-ds" value="xdslCRecMargin" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + + <leaf name="xdslCentRecAttenEst"> + <param name="comment" value="xdsl Central Rec Attenuation Estimate" /> + <param name="snmp-object"> + $xdslDevIfStatsCentralRecAttenuationEstimate.%ifindex-map%.%xdsl-stats-interval% + </param> + <param name="rrd-ds" value="xdslCRecAttenEst" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + + <leaf name="xdslRemRecMargin"> + <param name="comment" value="xdsl Remote Rec Margin" /> + <param name="snmp-object"> + $xdslDevIfStatsRemoteRecMargin.%ifindex-map%.%xdsl-stats-interval% + </param> + <param name="rrd-ds" value="xdslRRecMargin" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + + <leaf name="xdslRemRecAttenEst"> + <param name="comment" value="xdsl Remote Rec Attenuation Estimate" /> + <param name="snmp-object"> + $xdslDevIfStatsRemoteRecAttenuationEstimate.%ifindex-map%.%xdsl-stats-interval% + </param> + <param name="rrd-ds" value="xdslRRecAttenEst" /> + <param name="rrd-create-dstype" value="GAUGE" /> + <param name="data-file" + value="%system-id%_%interface-nick%_xdsl.rrd" /> + </leaf> + </template> + +</datasources> + +</configuration> diff --git a/torrus/xmlconfig/vendor/symmetricom.xml b/torrus/xmlconfig/vendor/symmetricom.xml new file mode 100644 index 000000000..69d115405 --- /dev/null +++ b/torrus/xmlconfig/vendor/symmetricom.xml @@ -0,0 +1,82 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2007 Jon Nistor + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + + $Id: symmetricom.xml,v 1.1 2010-12-27 00:04:25 ivan Exp $ + Jon Nistor <nistor at snickers dot org> + +--> +<!-- Symmetricom specific definitions --> + +<configuration> + +<definitions> + <!-- SYMM-SMI --> + <def name="ntpSysPrecision" value="1.3.6.1.4.1.9070.1.2.3.1.5.1.1.3.0"/> + <def name="ntpSysPoll" value="1.3.6.1.4.1.9070.1.2.3.1.5.1.1.8.0"/> + <def name="ntpSysPktsReceived" value="1.3.6.1.4.1.9070.1.2.3.1.5.1.1.17.0"/> + +</definitions> + + +<datasources> + <template name="ntp-stats"> + <param name="ntpcommon-datafile" value="%system-id%_NTP_stats.rrd"/> + <subtree name="NTP_Stats"> + <param name="comment"> + NTP Statistics + </param> + <param name="data-file" value="%ntpcommon-datafile%"/> + <param name="rrd-create-dstype" value="GAUGE"/> + + <leaf name="Precision"> + <param name="comment" + value="Clock precision in secs to the nearest power of two"/> + <param name="graph-legend" value="Clock precision"/> + <param name="vertical-label" value="log2(sec)"/> + <param name="precedence" value="999"/> + <param name="rrd-ds" value="ntpSysPrecision"/> + <param name="rrd-create-min" value="U"/> + <param name="snmp-object" value="$ntpSysPrecision"/> + </leaf> + + <leaf name="Poll"> + <param name="comment" + value="Min interval between transmitted messages"/> + <param name="graph-legend" value="Polling Interval"/> + <param name="vertical-label" value="Seconds"/> + <param name="precedence" value="998"/> + <param name="rrd-ds" value="ntpSysPoll"/> + <param name="snmp-object" value="$ntpSysPoll"/> + </leaf> + + <leaf name="Packts_Received"> + <param name="comment" + value="Number of NTP packets received by SyncServer"/> + <param name="graph-legend" value="Num of NTP Packets Received"/> + <param name="vertical-label" value="Total"/> + <param name="precedence" value="997"/> + <param name="rrd-ds" value="ntpSysPktsReceived"/> + <param name="snmp-object" value="$ntpSysPktsReceived"/> + </leaf> + </subtree> + </template> + +</datasources> + +</configuration> + diff --git a/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml b/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml new file mode 100644 index 000000000..287d12b07 --- /dev/null +++ b/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml @@ -0,0 +1,523 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Copyright (C) 2003 Shawn Ferry + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + +Shawn Ferry <sferry at sevenspace dot com > <lalartu at obscure dot org> + +Author: Shawn Ferry +Vendor: UCD-SNMP-MIB +Tested Versions: 0.1.1,0.1.2d + + +$Id $ +@(#) 10/18/03 ucd-snmp.xml 1.8 (10/18/03 19:24:09) sferry + +--> +<!-- +Generic definitions and templates for: + UCD-SNMP-MIB +--> +<configuration> + <definitions> + <!-- Memory --> + <def name="ucd_memTotalSwap" value="1.3.6.1.4.1.2021.4.3.0"/> + <def name="ucd_memAvailSwap" value="1.3.6.1.4.1.2021.4.4.0"/> + <def name="ucd_memTotalReal" value="1.3.6.1.4.1.2021.4.5.0"/> + <def name="ucd_memAvailReal" value="1.3.6.1.4.1.2021.4.6.0"/> + <def name="ucd_memTotalFree" value="1.3.6.1.4.1.2021.4.11.0"/> + + <!-- System Stat --> + <def name="ucd_ssSwapIn" value="1.3.6.1.4.1.2021.11.3.0"/> + <def name="ucd_ssSwapOut" value="1.3.6.1.4.1.2021.11.4.0"/> + + <!-- CPU --> + <def name="ucd_ssCpuRawUser" value="1.3.6.1.4.1.2021.11.50.0"/> + <def name="ucd_ssCpuRawNice" value="1.3.6.1.4.1.2021.11.51.0"/> + <def name="ucd_ssCpuRawSystem" value="1.3.6.1.4.1.2021.11.52.0"/> + <def name="ucd_ssCpuRawIdle" value="1.3.6.1.4.1.2021.11.53.0"/> + <def name="ucd_ssCpuRawWait" value="1.3.6.1.4.1.2021.11.54.0"/> + <def name="ucd_ssCpuRawKernel" value="1.3.6.1.4.1.2021.11.55.0"/> + <def name="ucd_ssCpuRawInterrupts" value="1.3.6.1.4.1.2021.11.56.0"/> + <def name="ucd_ssCpuRawSoftIRQ" value="1.3.6.1.4.1.2021.11.61.0"/> + + <!-- Block IO --> + <def name="ucd_ssIORawSent" value="1.3.6.1.4.1.2021.11.57.0"/> + <def name="ucd_ssIORawReceived" value="1.3.6.1.4.1.2021.11.58.0"/> + <def name="ucd_ssRawInterrupts" value="1.3.6.1.4.1.2021.11.59.0"/> + <def name="ucd_ssRawContexts" value="1.3.6.1.4.1.2021.11.60.0"/> + + <!-- Load Average --> + <def name="ucd_laLoad" value="1.3.6.1.4.1.2021.10.1.3"/> + + </definitions> + + <datasources> + + <!-- REAL MEMORY --> + + <template name="ucdsnmp-memory-real"> + <leaf name="Memory_Real"> + <param name="comment" value="Real Memory"/> + <param name="vertical-label" value="Bytes"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="ds-names" value="total,avail"/> + <!-- TOTAL --> + <param name="ds-expr-total" value="{ucd_memTotalReal},1024,*"/> + <param name="graph-legend-total" value="Total Real"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- AVAIL --> + <param name="ds-expr-avail" value="{ucd_memAvailReal},1024,*"/> + <param name="graph-legend-avail" value="Available Real"/> + <param name="line-style-avail" value="##resourceusage"/> + <param name="line-color-avail" value="##resourceusage"/> + <param name="line-order-avail" value="2"/> + </leaf> + + <leaf name="ucd_memTotalReal"> + <param name="data-file" value="%system-id%_ucd-memreal.rrd"/> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_memTotalReal"/> + <param name="rrd-ds" value="ucd_memTotalReal"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Total Real Space"/> + <param name="graph-legend" value="Total Real Space"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="vertical-label" value="Kilobytes"/> + </leaf> + + <leaf name="ucd_memAvailReal"> + <param name="data-file" value="%system-id%_ucd-memreal.rrd"/> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_memAvailReal"/> + <param name="rrd-ds" value="ucd_memAvailReal"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Available Real Space"/> + <param name="graph-legend" value="Available Real Space"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="vertical-label" value="Kilobytes"/> + </leaf> + </template> + + <!-- SWAP MEMORY --> + + <template name="ucdsnmp-memory-swap"> + <leaf name="Memory_Swap"> + <param name="comment" value="Swap Space"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="rrd-scaling-base" value="1024"/> + <param name="ds-names" value="total,avail"/> + <!-- TOTAL --> + <param name="ds-expr-total" value="{ucd_memTotalSwap},1024,*"/> + <param name="graph-legend-total" value="Total Swap"/> + <param name="line-style-total" value="##totalresource"/> + <param name="line-color-total" value="##totalresource"/> + <param name="line-order-total" value="1"/> + <!-- AVAIL --> + <param name="ds-expr-avail" value="{ucd_memAvailSwap},1024,*"/> + <param name="graph-legend-avail" value="Available Swap"/> + <param name="line-style-avail" value="##resourceusage"/> + <param name="line-color-avail" value="##resourceusage"/> + <param name="line-order-avail" value="2"/> + </leaf> + + <leaf name="ucd_memAvailSwap"> + <param name="data-file" value="%system-id%_ucd-memswap.rrd"/> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_memAvailSwap"/> + <param name="rrd-ds" value="ucd_memAvailSwap"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Available Swap Space"/> + <param name="graph-legend" value="Available Swap Space"/> + <param name="rrd-scaling-base" value="1024"/> + </leaf> + + <leaf name="ucd_memTotalSwap"> + <param name="data-file" value="%system-id%_ucd-memswap.rrd"/> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_memTotalSwap"/> + <param name="rrd-ds" value="ucd_memTotalSwap"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="comment" value="Total Swap Space"/> + <param name="graph-legend" value="Total Swap Space"/> + <param name="rrd-scaling-base" value="1024"/> + </leaf> + </template> + + + <!-- UCD Block IO Template --> + + <template name="ucdsnmp-blockio"> + <leaf name="BlockIO"> + <param name="comment" value="Block Device Requests and Responses"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="requested,received"/> + + <param name="ds-expr-received" value="{IORawReceived}"/> + <param name="graph-legend-received" value="Requests Received"/> + <param name="line-style-received" value="##in"/> + <param name="line-color-received" value="##in"/> + <param name="line-order-received" value="1"/> + + <param name="ds-expr-requested" value="{IORawSent}"/> + <param name="graph-legend-requested" value="Requests Sent"/> + <param name="line-style-requested" value="##out"/> + <param name="line-color-requested" value="##out"/> + <param name="line-order-requested" value="2"/> + </leaf> + + <leaf name="IORawReceived"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_ssIORawReceived"/> + <param name="data-file" value="%system-id%_ucd-blockio.rrd"/> + <param name="rrd-ds" value="ucd_ssIORawReceived"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Requests Received From a Block Device"/> + <param name="graph-legend" value="Requests Received"/> + </leaf> + + <leaf name="IORawSent"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_ssIORawSent"/> + <param name="data-file" value="%system-id%_ucd-blockio.rrd"/> + <param name="rrd-ds" value="ucd_ssIORawSent"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Requests Sent to a Block Device"/> + <param name="graph-legend" value="Requests Sent"/> + </leaf> + </template> + + <!-- + UCD context and interrupts Template + --> + <template name="ucdsnmp-raw-interrupts"> + + <leaf name="Interrupts"> + <param name="comment" value="Context Switches and Interrupts"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="context,interrupts"/> + <!-- Interrupts --> + <param name="ds-expr-interrupts" value="{RawInterrupts}"/> + <param name="graph-legend-interrupts" value="Interrupts"/> + <param name="line-style-interrupts" value="LINE2"/> + <param name="line-color-interrupts" value="##one"/> + <param name="line-order-interrupts" value="1"/> + <!-- Contexts --> + <param name="ds-expr-context" value="{RawContexts}"/> + <param name="graph-legend-context" value="Context Switches"/> + <param name="line-style-context" value="LINE2"/> + <param name="line-color-context" value="##two"/> + <param name="line-order-context" value="2"/> + </leaf> + + <leaf name="RawInterrupts"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_ssRawInterrupts"/> + <param name="data-file" + value="%system-id%_ucd-context_interrupts.rrd"/> + <param name="rrd-ds" value="ucd_ssRawInterrupts"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Interrupts"/> + <param name="graph-legend" value="Interrupts"/> + </leaf> + <leaf name="RawContexts"> + <param name="hidden" value="yes"/> + <param name="snmp-object" value="$ucd_ssRawContexts"/> + <param name="data-file" + value="%system-id%_ucd-context_interrupts.rrd"/> + <param name="rrd-ds" value="ucd_ssRawContexts"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment" value="Context Switches"/> + <param name="graph-legend" value="Context Switches"/> + </leaf> + </template> + + <!-- Cpu Templates --> + + <template name="ucdsnmp-cpu-user-multi"> + <param name="ds-expr-user" value="{CpuRawUser}"/> + <param name="graph-legend-user" value="User"/> + <param name="line-style-user" value="STACK"/> + <param name="line-color-user" value="##one"/> + <param name="line-order-user" value="2"/> + </template> + + <template name="ucdsnmp-cpu-user"> + <leaf name="CpuRawUser"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawUser"/> + <param name="rrd-ds" value="User"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used by User Processes + </param> + <param name="graph-legend" value="User"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-system-multi"> + <!-- System --> + <param name="ds-expr-sys" value="{CpuRawSystem}"/> + <param name="graph-legend-sys" value="System"/> + <param name="line-style-sys" value="AREA"/> + <param name="line-color-sys" value="##two"/> + <param name="line-order-sys" value="1"/> + </template> + + <template name="ucdsnmp-cpu-system"> + <leaf name="CpuRawSystem"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawSystem"/> + <param name="rrd-ds" value="System"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used by System Processes + </param> + <param name="graph-legend" value="System"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-wait-multi"> + <param name="ds-expr-wait" value="{CpuRawWait}"/> + <param name="graph-legend-wait" value="Wait"/> + <param name="line-style-wait" value="STACK"/> + <param name="line-color-wait" value="##three"/> + <param name="line-order-wait" value="3"/> + </template> + + <template name="ucdsnmp-cpu-wait"> + <leaf name="CpuRawWait"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawWait"/> + <param name="rrd-ds" value="Wait"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used Processes + </param> + <param name="graph-legend" value="Wait"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-kernel-multi"> + <param name="ds-expr-kernel" value="{CpuRawKernel}"/> + <param name="graph-legend-kernel" value="Kernel"/> + <param name="line-style-kernel" value="STACK"/> + <param name="line-color-kernel" value="##four"/> + <param name="line-order-kernel" value="4"/> + </template> + + <template name="ucdsnmp-cpu-kernel"> + <leaf name="CpuRawKernel"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawKernel"/> + <param name="rrd-ds" value="Kernel"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used by Kernel + </param> + <param name="graph-legend" value="Kernel"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-idle-multi"> + <param name="ds-expr-idle" value="{CpuRawIdle}"/> + <param name="graph-legend-idle" value="Idle"/> + <param name="line-style-idle" value="STACK"/> + <param name="line-color-idle" value="##gray"/> + <param name="line-order-idle" value="100"/> + </template> + + <template name="ucdsnmp-cpu-idle"> + <leaf name="CpuRawIdle"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawIdle"/> + <param name="rrd-ds" value="Idle"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Idle + </param> + <param name="graph-legend" value="Idle"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-nice-multi"> + <param name="ds-expr-nice" value="{CpuRawNice}"/> + <param name="graph-legend-nice" value="Nice"/> + <param name="line-style-nice" value="STACK"/> + <param name="line-color-nice" value="##five"/> + <param name="line-order-nice" value="5"/> + </template> + + <template name="ucdsnmp-cpu-nice"> + <leaf name="CpuRawNice"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawNice"/> + <param name="rrd-ds" value="Nice"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used by Nice Processes + </param> + <param name="graph-legend" value="Nice"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-interrupts-multi"> + <param name="ds-expr-int" value="{CpuRawInterrupts}"/> + <param name="graph-legend-int" value="Interrupts"/> + <param name="line-style-int" value="STACK"/> + <param name="line-color-int" value="##six"/> + <param name="line-order-int" value="6"/> + </template> + + <template name="ucdsnmp-cpu-interrupts"> + <leaf name="CpuRawInterrupts"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawInterrupts"/> + <param name="rrd-ds" value="Interrupts"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used for Interrupt Processing + </param> + <param name="graph-legend" value="Interrupts"/> + </leaf> + </template> + + <template name="ucdsnmp-cpu-softirq-multi"> + <param name="ds-expr-softirq" value="{CpuRawSoftIRQ}"/> + <param name="graph-legend-softirq" value="SoftIRQ"/> + <param name="line-style-softirq" value="STACK"/> + <param name="line-color-softirq" value="##seven"/> + <param name="line-order-softirq" value="7"/> + </template> + + <template name="ucdsnmp-cpu-softirq"> + <leaf name="CpuRawSoftIRQ"> + <param name="vertical-label" value="Ticks"/> + <param name="data-file" value="%system-id%_ucd_ssCpu.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_ssCpuRawSoftIRQ"/> + <param name="rrd-ds" value="SoftIRQ"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="COUNTER"/> + <param name="comment"> + Time Used for Software Interrupt Processing + </param> + <param name="graph-legend" value="SoftIRQs"/> + </leaf> + </template> + + + <!-- LOAD AVERAGE --> + <template name="ucdsnmp-load-average"> + <leaf name="Load_Average"> + <param name="vertical-label" value="Load Average"/> + <param name="comment" value="1, 5, and 15 Minute Load Average"/> + <param name="ds-type" value="rrd-multigraph"/> + <param name="ds-names" value="one,five,fifteen"/> + + <param name="ds-expr-one" value="{loadAverage1Min},100,/"/> + <param name="graph-legend-one" value="1 Minute"/> + <param name="line-style-one" value="LINE2"/> + <param name="line-color-one" value="##one"/> + <param name="line-order-one" value="1"/> + + <param name="ds-expr-five" value="{loadAverage5Min},100,/"/> + <param name="graph-legend-five" value="5 Minutes"/> + <param name="line-style-five" value="LINE2"/> + <param name="line-color-five" value="##two"/> + <param name="line-order-five" value="2"/> + + <param name="ds-expr-fifteen" value="{loadAverage15Min},100,/"/> + <param name="graph-legend-fifteen" value="15 Minutes"/> + <param name="line-style-fifteen" value="LINE2"/> + <param name="line-color-fifteen" value="##three"/> + <param name="line-order-fifteen" value="3"/> + </leaf> + + <leaf name="loadAverage1Min"> + <param name="vertical-label" value="Load Average"/> + <param name="data-file" value="%system-id%_ucd-loadave.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_laLoad.1"/> + <param name="rrd-ds" value="loadAverage1Min"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##one"/> + <param name="comment" value="One Minute Load Average"/> + <param name="graph-legend" value="1 Min"/> + </leaf> + <leaf name="loadAverage5Min"> + <param name="vertical-label" value="Load Average"/> + <param name="data-file" value="%system-id%_ucd-loadave.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_laLoad.2"/> + <param name="rrd-ds" value="loadAverage5Min"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##two"/> + <param name="comment" value="Five Minute Load Average"/> + <param name="graph-legend" value="5 Min"/> + </leaf> + <leaf name="loadAverage15Min"> + <param name="vertical-label" value="Load Average"/> + <param name="data-file" value="%system-id%_ucd-loadave.rrd"/> + <param name="hidden" value="yes"/> + <param name="leaf-type" value="rrd-def"/> + <param name="snmp-object" value="$ucd_laLoad.3"/> + <param name="rrd-ds" value="loadAverage15Min"/> + <param name="rrd-cf" value="AVERAGE"/> + <param name="rrd-create-dstype" value="GAUGE"/> + <param name="line-color" value="##three"/> + <param name="comment" value="Fifteen Minute Load Average"/> + <param name="graph-legend" value="15 Min"/> + </leaf> + </template> + </datasources> +</configuration> |