17.5 KB
/srv/reproducible-results/rbuild-debian/r-b-build.CpE8lo5P/b1/mon-contrib_1.0+dfsg-4_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.CpE8lo5P/b2/mon-contrib_1.0+dfsg-4_armhf.changes
200 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·da08ee4de5b82ad7a883d562390ec4af·73920·admin·extra·mon-contrib_1.0+dfsg-4_armhf.deb1 ·ec0d5a5f5de70ffdf1016261db907d1e·73876·admin·extra·mon-contrib_1.0+dfsg-4_armhf.deb
17.1 KB
mon-contrib_1.0+dfsg-4_armhf.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2017-08-27·04:57:17.000000·debian-binary1 -rw-r--r--···0········0········0········4·2017-08-27·04:57:17.000000·debian-binary
2 -rw-r--r--···0········0········0·····3476·2017-08-27·04:57:17.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3472·2017-08-27·04:57:17.000000·control.tar.xz
3 -rw-r--r--···0········0········0····70252·2017-08-27·04:57:17.000000·data.tar.xz3 -rw-r--r--···0········0········0····70212·2017-08-27·04:57:17.000000·data.tar.xz
627 B
control.tar.xz
599 B
control.tar
529 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·mon-contrib1 Package:·mon-contrib
2 Version:·1.0+dfsg-42 Version:·1.0+dfsg-4
3 Architecture:·armhf3 Architecture:·armhf
4 Maintainer:·Dario·Minnucci·<midget@debian.org>4 Maintainer:·Dario·Minnucci·<midget@debian.org>
5 Installed-Size:·4525 Installed-Size:·447
6 Depends:·mon·(>=·1.2.0-3)6 Depends:·mon·(>=·1.2.0-3)
7 Section:·admin7 Section:·admin
8 Priority:·extra8 Priority:·extra
9 Homepage:·https://mon.wiki.kernel.org/articles/c/o/n/Contrib_repository.html9 Homepage:·https://mon.wiki.kernel.org/articles/c/o/n/Contrib_repository.html
10 Description:·contributed·tools,·monitors·and·alert·for·mon10 Description:·contributed·tools,·monitors·and·alert·for·mon
11 ·mon-contrib·is·the·mon·/contrib·archive.·It·contains·user-submitted11 ·mon-contrib·is·the·mon·/contrib·archive.·It·contains·user-submitted
12 ·add-ons·to·mon,·which·are·not·included·in·the·main·mon·distribution.12 ·add-ons·to·mon,·which·are·not·included·in·the·main·mon·distribution.
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
16.0 KB
data.tar.xz
16.0 KB
data.tar
4.48 KB
file list
    
Offset 33, 15 lines modifiedOffset 33, 15 lines modified
33 -rwxr-xr-x···0·root·········(0)·root·········(0)·····1289·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/ipsec.monitor33 -rwxr-xr-x···0·root·········(0)·root·········(0)·····1289·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/ipsec.monitor
34 -rwxr-xr-x···0·root·········(0)·root·········(0)·····2301·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/ipvs.monitor34 -rwxr-xr-x···0·root·········(0)·root·········(0)·····2301·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/ipvs.monitor
35 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7051·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/krb5.monitor35 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7051·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/krb5.monitor
36 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3837·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/lmtp.monitor36 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3837·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/lmtp.monitor
37 -rwxr-xr-x···0·root·········(0)·root·········(0)·····5088·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/mailloop.monitor37 -rwxr-xr-x···0·root·········(0)·root·········(0)·····5088·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/mailloop.monitor
38 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3857·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/mupdate.monitor38 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3857·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/mupdate.monitor
39 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7497·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netsnmp-exec.monitor39 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7497·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netsnmp-exec.monitor
40 -rwxr-xr-x···0·root·········(0)·root·········(0)·····6648·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netsnmp-freespace.monitor40 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3208·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netsnmp-freespace.monitor
41 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7359·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netsnmp-proc.monitor41 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7359·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netsnmp-proc.monitor
42 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7799·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netwarefree.monitor42 -rwxr-xr-x···0·root·········(0)·root·········(0)·····7799·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/netwarefree.monitor
43 -rwxr-xr-x···0·root·········(0)·root·········(0)·····8405·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/ospf.monitor43 -rwxr-xr-x···0·root·········(0)·root·········(0)·····8405·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/ospf.monitor
44 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3165·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/postgresql.monitor44 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3165·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/postgresql.monitor
45 -rwxr-xr-x···0·root·········(0)·root·········(0)·····4415·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/printmib.monitor45 -rwxr-xr-x···0·root·········(0)·root·········(0)·····4415·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/printmib.monitor
46 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3314·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/process-full-command-line.monitor46 -rwxr-xr-x···0·root·········(0)·root·········(0)·····3314·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/process-full-command-line.monitor
47 -rwxr-xr-x···0·root·········(0)·root·········(0)·····5740·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/pubcookielogin.monitor47 -rwxr-xr-x···0·root·········(0)·root·········(0)·····5740·2017-08-27·04:57:17.000000·./usr/lib/mon-contrib/mon.d/pubcookielogin.monitor
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 -rw-r--r--···0·root·········(0)·root·········(0)·····1421·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/informix.monitor.README94 -rw-r--r--···0·root·········(0)·root·········(0)·····1421·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/informix.monitor.README
95 -rw-r--r--···0·root·········(0)·root·········(0)······921·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/informixdbspace.monitor.README95 -rw-r--r--···0·root·········(0)·root·········(0)······921·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/informixdbspace.monitor.README
96 -rw-r--r--···0·root·········(0)·root·········(0)·····1410·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/ipsec.monitor.README96 -rw-r--r--···0·root·········(0)·root·········(0)·····1410·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/ipsec.monitor.README
97 -rw-r--r--···0·root·········(0)·root·········(0)······982·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/krb5.monitor.README97 -rw-r--r--···0·root·········(0)·root·········(0)······982·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/krb5.monitor.README
98 -rw-r--r--···0·root·········(0)·root·········(0)······439·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/lwp-http.mon.README98 -rw-r--r--···0·root·········(0)·root·········(0)······439·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/lwp-http.mon.README
99 -rw-r--r--···0·root·········(0)·root·········(0)·····2517·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/mailloop.monitor.README99 -rw-r--r--···0·root·········(0)·root·········(0)·····2517·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/mailloop.monitor.README
100 -rw-r--r--···0·root·········(0)·root·········(0)·····2345·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/netsnmp-exec.monitor.README100 -rw-r--r--···0·root·········(0)·root·········(0)·····2345·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/netsnmp-exec.monitor.README
101 -rw-r--r--···0·root·········(0)·root·········(0)·····2116·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/netsnmp-freespace.monitor.README101 -rw-r--r--···0·root·········(0)·root·········(0)······813·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/netsnmp-freespace.monitor.README
102 -rw-r--r--···0·root·········(0)·root·········(0)······980·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/netsnmp-proc.monitor.README102 -rw-r--r--···0·root·········(0)·root·········(0)······980·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/netsnmp-proc.monitor.README
103 -rw-r--r--···0·root·········(0)·root·········(0)·····1784·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/postgresql.monitor.README103 -rw-r--r--···0·root·········(0)·root·········(0)·····1784·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/postgresql.monitor.README
104 -rw-r--r--···0·root·········(0)·root·········(0)·····1462·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/printmib.monitor.README104 -rw-r--r--···0·root·········(0)·root·········(0)·····1462·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/printmib.monitor.README
105 -rw-r--r--···0·root·········(0)·root·········(0)······253·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/process-full-command-line.monitor.README105 -rw-r--r--···0·root·········(0)·root·········(0)······253·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/process-full-command-line.monitor.README
106 -rw-r--r--···0·root·········(0)·root·········(0)······906·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/radius.monitor.detailcheck.README106 -rw-r--r--···0·root·········(0)·root·········(0)······906·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/radius.monitor.detailcheck.README
107 -rw-r--r--···0·root·········(0)·root·········(0)·····3522·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/remote.monitor.README107 -rw-r--r--···0·root·········(0)·root·········(0)·····3522·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/remote.monitor.README
108 -rw-r--r--···0·root·········(0)·root·········(0)·····2090·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/rptr.monitor.README108 -rw-r--r--···0·root·········(0)·root·········(0)·····2090·2017-08-27·04:57:17.000000·./usr/share/doc/mon-contrib/monitors/rptr.monitor.README
8.41 KB
./usr/lib/mon-contrib/mon.d/netsnmp-freespace.monitor
    
Offset 1, 50 lines modifiedOffset 1, 29 lines modified
1 #!/usr/bin/perl1 #!/usr/bin/perl
2 #2 #
3 #·Monitor·diskspace·via·SNMP3 #·Monitor·diskspace·via·SNMP
4 #·(based·on·process.monitor·by·Brian·Moore)4 #·(based·on·process.monitor·by·Brian·Moore)
5 #5 #
 6 #·Arguments·are:
6 #·Originally·written·by·SATOH·Fumiyasu·<fumiya@samba.gr.jp>. 
7 #·Modified·Oct·2001·by·Dan·Urist·<durist@world.std.com> 
8 #···Changes:·added·usage,·SNMP·v.3·support,·-T·threshold·option·and 
9 #············unique-ified·errors 
10 # 
11 #·Usage: 
12 #·······[-h]················#·Usage 
13 #·······[-t·Timeout]········#·Timeout·in·ms·(default:·1000000) 
14 #·······[-r·Retries]········#·Retries·before·failure·(default:·5) 
15 #·······[-v·SNMPversion]····#·1,2,2c·or·3·(default:·1) 
16 #·······[-c·Community]······#·For·SNMP·v.1,2,2c·(default:·public) 
17 #·······[-u·snmpuser]·······#·For·SNMP·v.3·(default:·initial) 
18 #·······[-l·seclevel]·······#·For·SNMP·v.3·(default:·noAuthNoPriv) 
19 #·······[-A·authpassphrase]·#·For·SNMP·v.3· 
20 #·······[-T·threshold]······#·If·a·disk·threshold·is·given,·the·script 
21 #···························#·will·exit·with·the·value·of·the·highest 
22 #···························#·disk·percentage·found·that·is·over·the 
23 #···························#·threshold;·if·no·disks·are·over·the·threshold 
24 #···························#·it·will·exit·with·value·0,·and·it·will·exit 
25 #···························#·with·value·2·for·SNMP·error 
26 #·······host·[host·...] 
27 #7 #
 8 #·[-c·community]·host·[host·...]
28 #9 #
29 #·This·script·will·exit·with·value·1·if·host:community·has·dskErrorFlag10 #·This·script·will·exit·with·value·1·if·host:community·has·dskErrorFlag
30 #·set.··The·summary·output·line·will·be·the·host·names·that·failed11 #·set.··The·summary·output·line·will·be·the·host·names·that·failed
31 #·and·the·disk·information.··The·detail·lines·are·what·UCD·snmp·returns12 #·and·the·disk·information.··The·detail·lines·are·what·UCD·snmp·returns
32 #·for·an·dskErrMessage.·('/filesystem:·less·than·WATERMARK·free·(=·CURRENT)').13 #·for·an·dskErrMessage.·('/filesystem:·less·than·WATERMARK·free·(=·CURRENT)').
33 #·If·there·is·an·SNMP·error·(either·a·problem·with·the·SNMP·libraries,14 #·If·there·is·an·SNMP·error·(either·a·problem·with·the·SNMP·libraries,
34 #·or·a·problem·communicating·via·SNMP·with·the·destination·host),15 #·or·a·problem·communicating·via·SNMP·with·the·destination·host),
35 #·this·script·will·exit·with·a·warning·value·of·2.16 #·this·script·will·exit·with·a·warning·value·of·2.
36 #17 #
 18 #·There·probably·should·be·a·better·way·to·specify·a·given·filesystem·to
 19 #·watch·instead·of·everything-ucd-snmp-is-watching.
 20 #
 21 #·$Id:·netsnmp-freespace.monitor,v·1.2·2005/03/18·19:25:27·trockij·Exp·$
 22 #
37 #·If·the·-T·threshold·option·is·used,·the·script·will·exit·with·the 
38 #·highest·disk·percentage·found·that·is·over·the·threshold.·The·intent 
39 #·is·to·allow·use·with·mon's·"alert·exit=value"·parameter·to·allow·for 
40 #·finer-grained·alerts·based·on·disk·usage.··If·no·disks·are·over·the 
41 #·threshold,·the·script·will·exit·with·value·0;·if·an·SNMP·error 
42 #·occurs·(and·there·are·no·other·errors),·the·script·will·exit·with 
43 #·value·2. 
44 #23 #
45 #····Copyright·(C)·2001·SATOH·Fumiyasu·<fumiya@samba.gr.jp>24 #····Copyright·(C)·2001·SATOH·Fumiyasu·<fumiya@samba.gr.jp>
46 #25 #
47 #····This·program·is·free·software;·you·can·redistribute·it·and/or·modify26 #····This·program·is·free·software;·you·can·redistribute·it·and/or·modify
48 #····it·under·the·terms·of·the·GNU·General·Public·License·as·published·by27 #····it·under·the·terms·of·the·GNU·General·Public·License·as·published·by
49 #····the·Free·Software·Foundation;·either·version·2·of·the·License,·or28 #····the·Free·Software·Foundation;·either·version·2·of·the·License,·or
50 #····(at·your·option)·any·later·version.29 #····(at·your·option)·any·later·version.
Offset 54, 132 lines modifiedOffset 33, 69 lines modified
54 #····MERCHANTABILITY·or·FITNESS·FOR·A·PARTICULAR·PURPOSE.··See·the33 #····MERCHANTABILITY·or·FITNESS·FOR·A·PARTICULAR·PURPOSE.··See·the
55 #····GNU·General·Public·License·for·more·details.34 #····GNU·General·Public·License·for·more·details.
56 #35 #
57 #····You·should·have·received·a·copy·of·the·GNU·General·Public·License36 #····You·should·have·received·a·copy·of·the·GNU·General·Public·License
58 #····along·with·this·program;·if·not,·write·to·the·Free·Software37 #····along·with·this·program;·if·not,·write·to·the·Free·Software
59 #····Foundation,·Inc.,·59·Temple·Place,·Suite·330,·Boston,·MA··02111-1307··USA38 #····Foundation,·Inc.,·59·Temple·Place,·Suite·330,·Boston,·MA··02111-1307··USA
60 #39 #
  
61 use·SNMP;·40 use·SNMP;
62 use·Getopt::Std;41 use·Getopt::Std;
  
63 $ENV{'MIBS'}·=·"UCD-SNMP-MIB";42 $ENV{'MIBS'}·=·"UCD-SNMP-MIB";
  
 43 getopts("c:");
 44 $community·=·$opt_c·||·$ENV{'COMMUNITY'}·||·'public';
64 getopts("ht:r:v:c:u:l:A:T:"); 
65 my·$VERSION·=·"0.1"; 
66 if(·$opt_h·||·(scalar·@ARGV·==·0)·){ 
67 ··print·<<"USAGE"; 
68 $0·Version·$VERSION;·original·version·by·SATOH·Fumiyasu·<fumiya@samba.gr.jp>, 
69 SNMP·v.3·support·by·Daniel·J.·Urist·<durist\@world.std.com>. 
  
70 Usage: 
71 ······[-h]················#·Usage 
72 ······[-t·Timeout]········#·Timeout·in·ms·(default:·1000000) 
73 ······[-r·Retries]········#·Retries·before·failure·(default:·5) 
74 ······[-v·SNMPversion]····#·1,2,2c·or·3·(default:·1) 
75 ······[-c·Community]······#·For·SNMP·v.1,2,2c·(default:·public) 
76 ······[-u·snmpuser]·······#·For·SNMP·v.3·(default:·initial) 
77 ······[-l·seclevel]·······#·For·SNMP·v.3·(default:·noAuthNoPriv) 
78 ······[-A·authpassphrase]·#·For·SNMP·v.3· 
79 ······[-T·threshold]······#·If·a·disk·threshold·is·given,·the·script·will·exit 
80 ··························#·with·the·value·of·the·highest·disk·percentage·found 
81 ··························#·that·is·over·the·threshold;·if·no·disks·are·over·the 
82 ··························#·the·threshold·it·will·exit·with·value·0,·and·it·will 
83 ··························#·exit·with·value·2·for·SNMP·error 
84 ······host·[host·...] 
  
85 USAGE 
86 ··exit; 
87 } 
  
88 #·FIXME·we·should·probably·offer·all·the·v3·options·that·the·SNMP·module·does 
89 my·$Timeout·=·$opt_t·||·1000000; 
90 my·$Retries·=·$opt_r·||·5; 
91 my·$SNMPVersion·=·$opt_v·||·1; 
92 my·$Community·=·$opt_c·||·'public'; 
93 my·$SecName·=·$opt_u·||·'initial';· 
94 my·$SecLevel·=·$opt_l·||·'noAuthNoPriv'; 
95 my·$Authpass·=·$opt_A·||·''; 
96 my·$Threshold·=·$opt_T·if·defined($opt_T); 
  
97 my·%SNMPARGS·=·( 
98 »       »       Timeout·=>·$Timeout, 
99 »       »       Version·=>·$SNMPVersion, 
100 »       ·······); 
  
101 if·($SNMPVersion·eq·"3"){ 
102 ··$SNMPARGS{SecName}·=·$SecName; 
103 ··$SNMPARGS{SecLevel}·=·$SecLevel; 
104 ··$SNMPARGS{AuthPass}·=·$Authpass; 
105 } 
106 else{ 
107 ··$SNMPARGS{Community}·=·$Community; 
108 } 
  
109 my·$RETVAL·=·0;45 $RETVAL·=·0;
110 my·%Failures; 
111 my·%Longerr; 
Max diff block lines reached; 3354/8507 bytes (39.43%) of diff not shown.
3.07 KB
./usr/share/doc/mon-contrib/monitors/netsnmp-freespace.monitor.README
    
Offset 1, 43 lines modifiedOffset 1, 20 lines modified
 1 Date:·Thu,·21·Jun·2001·05:46:47·+0900
 2 From:·SATOH·Fumiyasu·<fumiya@samba.gr.jp>
 3 To:·trockij@transmeta.com
 4 Subject:·freespace-snmp.monitor
1 # 
2 #·Monitor·diskspace·via·SNMP 
3 #·(based·on·process.monitor·by·Brian·Moore) 
4 # 
5 #·Originally·written·by·SATOH·Fumiyasu·<fumiya@samba.gr.jp>. 
6 #·Modified·Oct·2001·by·Dan·Urist·<durist@world.std.com> 
7 #···Changes:·added·usage,·SNMP·v.3·support,·-T·threshold·option·and 
8 #············unique-ified·errors 
9 # 
10 #·Usage: 
11 #·······[-h]················#·Usage 
12 #·······[-t·Timeout]········#·Timeout·in·ms·(default:·1000000) 
13 #·······[-r·Retries]········#·Retries·before·failure·(default:·5) 
14 #·······[-v·SNMPversion]····#·1,2,2c·or·3·(default:·1) 
15 #·······[-c·Community]······#·For·SNMP·v.1,2,2c·(default:·public) 
16 #·······[-u·snmpuser]·······#·For·SNMP·v.3·(default:·initial) 
17 #·······[-l·seclevel]·······#·For·SNMP·v.3·(default:·noAuthNoPriv) 
18 #·······[-A·authpassphrase]·#·For·SNMP·v.3· 
19 #·······[-T·threshold]······#·If·a·disk·threshold·is·given,·the·script 
20 #···························#·will·exit·with·the·value·of·the·highest 
21 #···························#·disk·percentage·found·that·is·over·the 
22 #···························#·threshold;·if·no·disks·are·over·the·threshold 
23 #···························#·it·will·exit·with·value·0,·and·it·will·exit 
24 #···························#·with·value·2·for·SNMP·error 
25 #·······host·[host·...] 
26 # 
27 # 
28 #·This·script·will·exit·with·value·1·if·host:community·has·dskErrorFlag 
29 #·set.··The·summary·output·line·will·be·the·host·names·that·failed 
30 #·and·the·disk·information.··The·detail·lines·are·what·UCD·snmp·returns 
31 #·for·an·dskErrMessage.·('/filesystem:·less·than·WATERMARK·free·(=·CURRENT)'). 
32 #·If·there·is·an·SNMP·error·(either·a·problem·with·the·SNMP·libraries, 
33 #·or·a·problem·communicating·via·SNMP·with·the·destination·host), 
34 #·this·script·will·exit·with·a·warning·value·of·2. 
35 # 
36 #·If·the·-T·threshold·option·is·used,·the·script·will·exit·with·the 
37 #·highest·disk·percentage·found·that·is·over·the·threshold.·The·intent 
38 #·is·to·allow·use·with·mon's·"alert·exit=value"·parameter·to·allow·for 
39 #·finer-grained·alerts·based·on·disk·usage.··If·no·disks·are·over·the 
40 #·threshold,·the·script·will·exit·with·value·0;·if·an·SNMP·error 
41 #·occurs·(and·there·are·no·other·errors),·the·script·will·exit·with 
42 #·value·2. 
  
 5 Hi,·``mon''·developper.
  
 6 I·wrote·freespace-snmp.monitor·based·on·process.monitor·for·mon.
 7 This·monitors·disk·space·via·SNMP·(NET-SNMP,·aka·UCD-SNMP).
  
 8 I·want·to·commit·this·monitor·to·mon·archive.·Any·comments?
 9 If·you·think·that·``freespace-snmp''·is·not·suitable·name,
 10 please·name·this·monitor·as·you·wish·:-).
  
 11 --·
 12 SATOH·Fumiyasu·-·fumiya·@net-thrust.com,·@samba.gr.jp,·@namazu.org·or·...
 13 THRUST·Co.,·Ltd.·@·Fujisawa,·Kanagawa,·Japan·-·http://www.net-thrust.com
 14 Samba-JP,·aka·`Samba·Users·Group·Japan'······-·http://www.samba.gr.jp
 15 Apache-JP(?),·aka·`Japan·Apache·Users·Group'·-·http://www.apache.or.jp
 16 Namazu,·a·full-text·search·engine············-·http://www.namazu.org