From 0653b1ae6908c09825fb6fa21a108ec4bda6794f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 23 Sep 2010 09:35:19 +0200 Subject: [PATCH] thanks a lot, Steven! Signed-off-by: Nico Schottelius --- eth/lp-0042-stats-for-xerox.sh | 79 ++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100755 eth/lp-0042-stats-for-xerox.sh diff --git a/eth/lp-0042-stats-for-xerox.sh b/eth/lp-0042-stats-for-xerox.sh new file mode 100755 index 0000000..957ce0c --- /dev/null +++ b/eth/lp-0042-stats-for-xerox.sh @@ -0,0 +1,79 @@ +#!/bin/sh +# +# 2008 Nico Schottelius (nico-nsbin at schottelius.org) +# +# This file is part of nsbin. +# +# nsbin 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 3 of the License, or +# (at your option) any later version. +# +# nsbin 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 nsbin. If not, see . +# +# +# Usage: $0 +# + +xerox_hostname=lp-0042.ethz.ch + +# Mail from Steven Armstrong: +#Page Count +#-------------------------------------------------------------------------------- +#snmpget -c public -v1 $xerox_hostname 1.3.6.1.2.1.43.10.2.1.4.1.1 +#SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 30745 +#-------------------------------------------------------------------------------- +# +#Total Impressions +#-------------------------------------------------------------------------------- +#snmpget -c public -v1 $xerox_hostname 1.3.6.1.2.1.43.10.2.1.4.1.1 +#SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 30734 +#-------------------------------------------------------------------------------- +# +#Black Impressions +#-------------------------------------------------------------------------------- +echo "B&W:" +snmpget -c public -v1 $xerox_hostname 1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.34 +#SNMPv2-SMI::enterprises.253.8.53.13.2.1.6.1.20.34 = INTEGER: 19735 +# +#-------------------------------------------------------------------------------- +#Black Copied Impressions +#-------------------------------------------------------------------------------- +#snmpget -c public -v1 $xerox_hostname +#1.3.6.1.4.1.253.8.53.13.2.1.6.103.20.3 +#SNMPv2-SMI::enterprises.253.8.53.13.2.1.6.103.20.3 = INTEGER: 3002 +# +#-------------------------------------------------------------------------------- +#Black Printed Impressions +#-------------------------------------------------------------------------------- +#snmpget -c public -v1 $xerox_hostname +#1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.7 +#SNMPv2-SMI::enterprises.253.8.53.13.2.1.6.1.20.7 = INTEGER: 16733 +# +#-------------------------------------------------------------------------------- +#Color Impressions +#-------------------------------------------------------------------------------- +echo "Colour:" +snmpget -c public -v1 $xerox_hostname 1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.33 +#SNMPv2-SMI::enterprises.253.8.53.13.2.1.6.1.20.33 = INTEGER: 10999 +# +#-------------------------------------------------------------------------------- +#Color Copied Impressions +#-------------------------------------------------------------------------------- +#snmpget -c public -v1 $xerox_hostname +#1.3.6.1.4.1.253.8.53.13.2.1.6.103.20.25 +#SNMPv2-SMI::enterprises.253.8.53.13.2.1.6.103.20.25 = INTEGER: 727 +# +#-------------------------------------------------------------------------------- +#Color Printed Impressions +#-------------------------------------------------------------------------------- +#snmpget -c public -v1 $xerox_hostname +#1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.29 +#SNMPv2-SMI::enterprises.253.8.53.13.2.1.6.1.20.29 = INTEGER: 10272 +