[Networker] ANNOUNCE: nsrreport
2004-02-26 10:23:25
Since there's been some discussion about reporting lately, I've
posted...
ftp://noc.hep.wisc.edu/pub/src/misc/nsrreport
...which is a script that has evolved from an awk script I wrote
back in 1992 or thereabouts. Example output follows my sig.
Note that it assumes 1024KB/MB and 1024MB/GB unlike NetWorker.
It requires GNU date (read linux.) If you run NetWorker on
Linux, you should be able to do NetWorker -> Customize ->
Notifications -> Savegroup completion ->
/usr/local/etc/nsrreport | /usr/sbin/sendmail -f root recipient
If you run NetWorker on some other OS, you can always send the
savegrp output to a system with GNU date (linux maybe *bsd?)
and pipe the savegrp output through nsrreport via a mail alias:
networker-report: |"/usr/local/etc/nsrreport | /usr/sbin/sendmail \
-f root AT networker.hep.wisc DOT edu rader"
If neither of those options work--let me know--I'll be happy
to make it work without GNU date (although you won't get throughput
reporting.)
steve
- - -
systems & network guy
high energy physics
university of wisconsin
Date: Thu, 26 Feb 2004 00:21:54 -0600
From: root AT networker.hep.wisc DOT edu
Subject: NetWorker report for the group "Default"
------------------------------------------------------------------------------
Group "Default" completed:
7.22 GB of data, 20.60 K files, 51.81 MB of indexes
Throughput: 2.39 MB/sec
Elapsed: 51 min 54 sec (3114s)
Start time: Wed Feb 25 23:30:00 2004
End time: Thu Feb 26 00:21:54 2004
Failed save sets:
pepper:All Connection timed out
Client backup sizes:
jasmine 4.77 GB
sassafras 660.13 MB
bellflower 446.42 MB
anise 367.31 MB (11 warnings)
[...]
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|