1. A Bay 5399/8000 RAC
2. Perl
3. ucdsnmp
4. Bay MIBS from src/snmp directory of annex software.
5. setenv MIBS ALL (csh) or MIBS=ALL;export MIBS for sh
Configuration
Specify the following vars:
$callhist_no = 100;
Replace 100 with the number of histcall records you have configured in
the RAC
$miblocation = "/export/home/kugjon/ucdsnmp/ucd-snmp-3.5.3/MIBS" ;
Location of MIBS
$ucdsnmp = "/export/home/kugjon/ucdsnmp/ucd-snmp-3.5.3/apps" ;
Location of ucdsnmp executables
copy the files xylo*, rfc1406 from src/snmp directory to $miblocation
Modify the first line of the script to point to the correct perl location
you may call the scripts from a /bin/sh script like the following:
#!/bin/sh
MIBS=ALL
export MIBS
echo
./acct.pl myrac.domain.com mycommunity 2>/dev/null
echo
The scripts:
The fields that you get in the report are easy configurable.
I know that this page is too ugly. Feel free to send me any comments here (Regarding the scripts, not the page)
Sample output:
finger:
A/A Username
IP
Address
Duration RxSpeed
TxSpeed
----- ------------- ------------------------
-------- ---------------- ---------------
48 gis
194.177.223.132
2m 22s bps16800(10)
bps16800(10)
histcall:
A/A Username
Disconnect Reason
Duration RxSpeed
TxSpeed RTD
SNR Modul
----- ------------- ------------------------
-------- ---------------- ---------------
--- ---- ------
0m 0s
445 thanva
pppTerm(8)
5m 46s bps28800(15)
bps26400(14) 5 34
v34(2)
446 stheofan
mdm-retrain-timeout(1000 19m 59s
bps21600(12) bps21600(12)
6 30 v34(2)
447
telDisc(2)
0m
13s 0
0
0 0 none(1
448
telDisc(2)
0m
12s 0
0
0 0 none(1
449
telDisc(2)
0m
13s 0
0
0 0 none(1
450
telDisc(2)
0m
13s 0
0
0 0 none(1
451
telDisc(2)
1m
8s 0
0
0 0 v34(2)
452 crichard
pppTerm(8)
5m 19s bps21600(12)
bps21600(12) 6 37
v34(2)
453 basmal
mdm-retrain-timeout(1000 42m 40s
bps24000(13) bps44000(39)
6 35 itu-tP
454 john
pppTerm(8)
5m 5s bps24000(13)
bps24000(13) 5 32
v34(2)