This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dustin@schwarz ~/Desktop/release-0.1.3 $ sudo ./bbouncer verify -d /Volumes/Src /Volumes/Dst/ | |
Verifying: basic-permissions ... ok (Critical) | |
Verifying: timestamps ... ok (Critical) | |
Verifying: symlinks ... ok (Critical) | |
Verifying: symlink-ownership ... ok | |
Verifying: hardlinks ... ok (Important) | |
Verifying: resource-forks ... | |
Sub-test: on files ... ok (Critical) | |
Sub-test: on hardlinked files ... ok (Important) | |
Verifying: finder-flags ... ok (Critical) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# NRPE Script to report amanda backup errors found in the trace logs. | |
# | |
# Example Usage: perl check_amanda.pl PoolA | |
use strict; | |
use warnings; | |
use lib "@amperldir"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1228935272.751506: taper: Re-using existing connection! (#0) with host s3.amazonaws.com | |
1228935272.751577: taper: Connected to s3.amazonaws.com (72.21.207.132) port 443 (#0) | |
1228935272.751720: taper: Hdr Out: PUT /1F0KNSSJ3R0VYXZ0PMG2%2Dbackup/slot%2D30f00000005%2Dfilestart HTTP/1.1 | |
1228935272.751748: taper: Hdr Out: Host: s3.amazonaws.com | |
1228935272.751764: taper: Hdr Out: Accept: */* | |
1228935272.751779: taper: Hdr Out: Authorization: AWS 1F0KNSSJ3R0VYXZ0PMG2:hC79orT6x8AHUmwMRI/bS4MSGmg= | |
1228935272.751794: taper: Hdr Out: Content-MD5: xxpQ9Ooj8c3ynlJtx1DiPA== | |
1228935272.751809: taper: Hdr Out: Date: Wed, 10 Dec 2008 13:54:32 EST | |
1228935272.751824: taper: Hdr Out: Content-Length: 10485760 | |
1228935272.751838: taper: Hdr Out: Expect: 100-continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def isInteresting(change): | |
''' Function passed to the Scheduler to decide if a particular change | |
is worth testing. for us, if "NOTEST" or "NO-TEST" is found in the first | |
line of the subversion log, the change is not interesting, and we return | |
false. All other changes are interesting. | |
change: a change instance. | |
''' | |
# This should be a string | |
checkin_log=change.comments | |
if "NOTEST" in checkin_log or "NO-TEST" in checkin_log: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ping(host): | |
ip = yield hostname_lookup(host) | |
pingrate = (yield ping_ip(ip)) | |
raise StopIteration(pingrate) # uthreaded equivalent of "return" | |
## incorrect | |
def multiping(hosts): | |
for host in hosts: | |
ping(host) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
origin/HEAD | |
origin/b2_0 | |
origin/b2_1 | |
origin/devel-6230 | |
origin/devel-6414 | |
origin/devel-6419 | |
origin/devel-6484 | |
origin/ftp-support | |
origin/master | |
origin/origin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hosts=( | |
buildbot-deb-etch-32 | |
buildbot-deb-etch-64 | |
buildbot-deb-sarge-32 | |
buildbot-f7 | |
buildbot-f7 | |
buildbot-f8 | |
buildbot-f9-32 | |
buildbot-f9-64 | |
buildbot-fc4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ /root/.ssh/authorized_keys | |
ForEachLineIn "/home/foo/.ssh/authorized_keys" | |
AppendIfNoLineMatching "ThisLine" | |
EndLoop | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classes: | |
ipaddress_matches_configured_ip = ( StrCmp("a", "a") ) | |
alerts: | |
!ipaddress_matches_configured_ip:: | |
"DNS gives me one IP address, but my interface has another" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildbot-rhel3 -0.888458 hoare ??? 2.4.21-40.EL noapic clock=pit nolapic nosmp | |
buildbot-deb-sarge-32 1.756742 thoth ??? 2.4.27-2-386 noapic clock=pit nolapic | |
buildbot-sles9 -0.546352 hoare pit 2.6.5-7.97-default noapic clock=pit nolapic nosmp | |
buildbot-rhel4 -0.633701 hoare pit 2.6.9-34.EL noapic clock=pit nolapic | |
buildbot-rhel4-64 -152.926803 thoth pit 2.6.9-67.0.20.EL noapic clock=pit nolapic | |
buildbot-fc4 -1.182363 hoare pit 2.6.11-1.1369_FC4 noapic clock=pit nolapic nosmp | |
buildbot-suse10 999.0 hoare pit 2.6.13-15-default noapic clock=pit nolapic nosmp | |
buildbot-fc5 -1.238232 hoare pit 2.6.15 |
OlderNewer