Bobby Sanabria is a 7-time Grammy-nominee as a leader. He is a noted drummer, percussionist, composer, arranger, conductor, producer, educator, documentary film maker, and bandleader of Puerto Rican descent born and raised in NY’s South Bronx. He was the drummer for the acknowledged creator of Afro-Cuban jazz, Mario Bauzá touring and recording three CD’s with him, two of which were Grammy nominated, as well as an incredible variety of artists. From Dizzy Gillespie, Tito Puente, Mongo Santamaria (with whom he started his career) Paquito D’Rivera, Yomo Toro, Candido, The Mills Brothers, Ray Barretto, Chico O’Farrill, Francisco Aguabella, Henry Threadgill, Luis “Perico” Ortiz, Daniel Ponce, Larry Harlow, Daniel Santos, Celia Cruz, Adalberto Santiago, Xiomara Portuondo, Pedrito Martinez, Roswell Rudd, Patato, David Amram, the Cleveland Jazz Orchestra, Michael Gibbs, Charles McPherson Jon Faddis, Bob Mintzer, Phil Wilson, Randy Brecker, Charles Tolliver, M’BOOM, Michelle Shocked, Marco Rizo, and many more. In addition he has guest conducted and performed as a soloist with numerous orchestras like the WDR Big Band, The Airmen of Note, The U.S. Jazz Ambassadors, Eau Claire University Big, The University of Calgary Big Band to name just a few.
His first big band recording, Live & in Clave!!! was nominated for a Grammy in 2001. A Grammy nomination followed in 2003 for 50 Years of Mambo: A Tribute to Perez Prado. His 2008 Grammy nominated Big Band Urban Folktales was the first Latin jazz recording to ever reach #1 on the national Jazz Week charts. In 2009 the Afro-Cuban Jazz Orchestra he directs at the Manhattan School of Music was nominated for a Latin Grammy for Kenya Revisited Live!!!, a reworking of the music from Machito’s greatest album, Kenya. In 2011 the recording Tito Puente Masterworks Live!!! by the same orchestra under Bobby’s direction was nominated for a Latin Jazz Grammy. Partial proceeds from the sale of both CD’s continue to support the scholarship program in the Manhattan School of Music’s jazz program. Bobby’s 2012 big band recording, inspired by the writings of Mexican author Octavio Paz, entitled MULTIVERSE was nominated for 2 Grammys. His work as an activist led him to fight to reinstate the Latin Jazz category after NARAS decided to eliminate many ethnic and regional categories in 2010. He and three other colleagues actually sued the Grammys which led to the reinstatement of the category. He is an associate producer of and featured interviewee in the documentaries, The Palladium: Where Mambo Was King, winner of the IMAGINE award for Best TV documentary of 2003, and the Alma Award winning From Mambo to Hip Hop: A South Bronx Tale where he also composed the score in 2006 and was broadcast on PBS. In 2009 he was a consultant and featured on screen personality in Latin Music U.S.A. also broadcast on PBS. In 2017 he was also a consultant and featured on air personality for the documentary We Like It Like That: The Story of Latin Boogaloo. He is the composer for the score of the 2017 documentary Some Girls. DRUM! Magazine named him Percussionist of the Year in 2005; he was also named 2011 and 2013 Percussionist of the Year by the Jazz Journalists Association. This South Bronx native of Puerto Rican parents was a 2006 inductee into the Bronx Walk of Fame. He holds a BM from the Berklee College of Music and is on the faculty of the New School University and the Manhattan School of Music where he has taught Afro-Cuban Jazz Orchestras passing on the tradition while moving it forward. His recording with the Manhattan School of Music Afro-Cuban Jazz Orchestra entitled “Que Viva Harlem!” released in 2014 on the Jazzheads label has received ****1/2 stars in Downbeat magazine.
Mr. Sanabria has conducted hundreds of clinics in the states and worldwide under the auspices of TAMA Drums, Sabian Cymbals, Remo Drumheads, Vic Firth Sticks and Latin Percussion Inc. His background having performed and recorded as both a drummer and/or percussionist with every major figure in the history of Latin jazz, as well as his encyclopedic knowledge of both jazz and Latin music history, makes him unique in his field. His critically acclaimed video instructional series, Conga Basics Volumes 1, 2 and 3, have been the highest selling videos in the history of video instruction and have set a standard worldwide. He is the Co-Artistic Director of the Bronx Music Heritage Center and is part of Jazz at Lincoln Center’s Jazz Academy as well as The Weill Music Institute at Carnegie Hall. His latest recording released in July 2018 is a monumental Latin jazz reworking of the entire score of West Side Story entitled, West Side Story Reimagined, on the Jazzheads label in celebration of the shows recent 60th anniversary (2017) and its composer, Maestro Leonard Bernstein’s centennial (2018). Partial proceeds from the sale of this historic double CD set go the Jazz Foundation of America’s Puerto Relief Fund to aid Bobby’s ancestral homeland after the devastation form hurricanes Irma and Maria.
403WebShell
403Webshell
Server IP : 23.235.221.107 / Your IP : 216.73.217.144 Web Server : Apache System : Linux drums.jazzcorner.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64 User : bsanabri ( 1025) PHP Version : 8.1.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /scripts/
#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - scripts/smartcheck Copyright 2022 cPanel, L.L.C.
# All rights reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
package scripts::smartcheck;
use strict;
use warnings;
use Cpanel::DataStore ();
use Getopt::Param ();
use Cpanel::StringFunc::Trim ();
use Cpanel::SafeRun::Dynamic ();
our $bin = '/usr/local/cpanel/3rdparty/bin/smartctl';
our $last_sent = '/var/cpanel/last_smartcheck_msg_alert';
our $fstab_file = '/etc/fstab';
our $cust_d_file = '/var/cpanel/smartcheck_custom_dash_d.yaml';
our $disable_file = '/var/cpanel/disablesmartcheck';
our $smart_enabled_rgx_21 = 'Drive supports S.M.A.R.T. and is enabled';
our $smart_enabled_rgx_5x = '.*SMART.*Enabled|Available.*has.*SMART';
our $smart_enabled_rgx_6x = '.*SMART.*Enabled|Available.*has.*SMART';
our $smart_enabled_rgx_default = '.*SMART.*Enabled|Available.*has.*SMART';
sub get_smartctl {
my %smart = (
'url' => 'http://smartmontools.sourceforge.net/',
'version_cmd' => '-V',
'version_rgx' => '^smartctl\s*(?:version)?\s*',
# 2.1 is retained for historical reasons and may be removed without notice
'2.1' => {
'smart_enabled_cmd' => '-i',
'smart_enabled_rgx' => $smart_enabled_rgx_21,
'errors_only' => '-l',
'ok_drive_rgx' => [qw(/sd /hd)],
},
# 5.37 is the last version of smartmontools directly distributed with cP/WHM
'5.37' => {
'smart_enabled_cmd' => '-i',
'smart_enabled_rgx' => $smart_enabled_rgx_5x,
'errors_only' => '-q errorsonly -H -l selftest -l error',
'ok_drive_rgx' => [qw(/sd /hd)],
},
# 5.42 is the latest version of smartmontools provided via yum for CentOS 5
'5.42' => {
'smart_enabled_cmd' => '-i',
'smart_enabled_rgx' => $smart_enabled_rgx_5x,
'errors_only' => '-q errorsonly -H -l selftest -l error',
'ok_drive_rgx' => [qw(/sd /hd)],
},
# 5.43 is the latest version of smartmontools provided via yum for CentOS 6
'5.43' => {
'smart_enabled_cmd' => '-i',
'smart_enabled_rgx' => $smart_enabled_rgx_5x,
'errors_only' => '-q errorsonly -H -l selftest -l error',
'ok_drive_rgx' => [qw(/sd /hd)],
},
# 6.2 is the latest version of smartmontools provided via yum for CentOS 7
'6.2' => {
'smart_enabled_cmd' => '-i',
'smart_enabled_rgx' => $smart_enabled_rgx_6x,
'errors_only' => '-q errorsonly -H -l selftest -l error',
'ok_drive_rgx' => [qw(/sd /hd)],
},
# default is suitable for all known versions of 5.x and 6.x
'default' => {
'smart_enabled_cmd' => '-i',
'smart_enabled_rgx' => $smart_enabled_rgx_default,
'errors_only' => '-q errorsonly -H -l selftest -l error',
'ok_drive_rgx' => [qw(/sd /hd)],
},
);
return \%smart;
}
sub _get_enabled_string {
my ( $smart, $vrs, $dsk ) = @_;
my $disk_enabled = '';
Cpanel::SafeRun::Dynamic::livesaferun(
'prog' => [ $bin, split( /\s+/, $smart->{$vrs}->{'smart_enabled_cmd'} ), $dsk ],
'formatter' => sub {
my ($line) = @_;
$disk_enabled .= $line;
return '';
},
);
return $disk_enabled;
}
sub is_smart_enabled {
my ( $smart, $vrs, $dsk ) = @_;
my $disk_enabled = _get_enabled_string( $smart, $vrs, $dsk );
return ( $disk_enabled =~ m/$smart->{$vrs}->{'smart_enabled_rgx'}/i ) ? 1 : undef;
}
sub _extract_version {
my ( $line, $quit_saferun_loop_sr ) = @_;
my $vrs;
my $smart = get_smartctl();
# handle if $line is undef
if ($line) {
if ( $line =~ m/^$smart->{'version_rgx'}\s*(\d+\.\d+)/ ) {
$vrs = $1;
${$quit_saferun_loop_sr} = 1;
}
}
# if the version can't be determined or is not found in the smartctl hash, use 'default'
$vrs = 'default' if ( !$vrs || !exists $smart->{$vrs} );
return $vrs;
}
sub get_smart_version {
my $smart = shift;
my ( $vrs, $output );
Cpanel::SafeRun::Dynamic::livesaferun(
'prog' => [ $bin, split( /\s+/, $smart->{'version_cmd'} ) ],
'formatter' => sub {
my ($line) = @_;
$output .= $line;
return '';
},
);
$vrs = _extract_version($output);
return $vrs;
}
sub run {
my %smart = %{ get_smartctl() };
my $custom_d = Cpanel::DataStore::fetch_ref($cust_d_file);
my $param = Getopt::Param->new(
{
'help_coderef' => sub {
print <<"SMARTCHECK_HELP";
$0 - check the status of your harddrive(s) with smartctl.
--help this screen
--quiet bare minimum output
--noemail output to screen only, do not send email
TROUBLESHOOTING
If you have a hard drive that keeps getting this output via $0:
"Checking /dev/sda....S.M.A.R.T does not appear to be enabled for this device."
You may confirm directly if your hard drive supports SMART using the following command:
# smartctl -i /dev/YOURHDD
After this, if you are certain it has SMART support enabled, then you can tell $0
to specify a given drive type to smartctl using a simple YAML file:
$cust_d_file (described in detail in the following section)
If after verifying using smartctl directly that your drive is supported and you have added
a custom configuration, it is possible that $0 is simply not properly detecting
that your drive is supported. In this case, please file a bug report.
CONFIGURATION FILE
You may add custom configurations, per drive, to $cust_d_file"
This file may contain simple key/value values where the key is the drive and the value is the value of
that drive's type.
For example to tell smartctl that /dev/sda and /dev/sdb is an "ata" we create this YAML file:
---
/dev/sda: ata
/dev/sdb: ata
Then the next time it's run we'll see this output instead:
Checking /dev/sda....
Adding custom '-d ata' flag for /dev/sda from $cust_d_file
Ok
For more information on -d options available for supporting drives behind RAID controllers, see:
http://www.smartmontools.org/wiki/Supported_RAID-Controllers
While YAML files are plain text, its best to initialize the configuration file are shown below.
To write the initial entry into $cust_d_file:
perl -MYAML::Syck=DumpFile -e 'DumpFile("$cust_d_file", {"/dev/sda"=>"ata"});'
To dump the current has to the screen:
perl -MYAML::Syck=LoadFile -MData::Dumper -e 'print Dumper(LoadFile("$cust_d_file"));'
Note: Subsequent entries should be handed added since the above two commands overrite any existing file.
$cust_d_file may also be used to add additional drives that do not have entrieds
directly in $fstab_file.
SMARTCHECK_HELP
exit;
},
}
);
require Digest::SHA;
my %drive_lookup;
my $msg = '';
my $didhowdy = 0;
my $quiet = $param->get_param('quiet') ? 1 : 0;
my $nomail = $param->get_param('nomail') ? 1 : 0;
my $debug = 0;
FINDSMARTCTL:
if ( !-l $bin ) {
for my $smartctl (qw(/usr/sbin/smartctl /usr/local/sbin/smartctl)) {
if ( -e $smartctl ) {
#if an existing exists and we still have the old, replace it with a link
if ( -e $bin ) {
unlink $bin or die "Could not remove old cPanel smartctl: $!";
}
system 'ln', '-s', $smartctl, $bin;
last;
}
}
}
my $link = readlink($bin) || 'smartctl';
DONTRUNIF:
{
if ( !-e $bin ) { # or -l or -x instead ???
exit;
}
if ( -e $disable_file ) {
exit;
}
}
my $vrs = get_smart_version( \%smart );
$smart{'BINVER'} = ( $vrs ne 'default' ) ? $vrs : 'unknown';
# unsupported SCSI was here
my @mounts;
FINDDISKS:
{
Cpanel::SafeRun::Dynamic::livesaferun(
'prog' => ['mount'],
'formatter' => sub {
my ($line) = @_;
push @mounts, $line;
return '';
},
);
open my $fstab, '<', $fstab_file or die "Could not open $fstab_file: $!";
my @fstab_lines = <$fstab>;
close $fstab;
for my $mount_lines ( @mounts, @fstab_lines ) {
next if $mount_lines =~ m{ (?:cdrom | floppy | noauto) }xms;
my ($drive) = $mount_lines =~ /^(\/\S+)/;
if ($drive) {
$drive =~ s{\d+$}{}g;
$drive_lookup{$drive} = 1;
}
}
# add additional possible entries from custom config
for my $dsk ( keys %$custom_d ) {
$drive_lookup{$dsk} = 1;
}
}
CHECKDISKS:
{
for my $dsk ( sort keys %drive_lookup ) {
next if !grep { $dsk =~ m/\Q$_\E/ } @{ $smart{$vrs}->{'ok_drive_rgx'} };
if ( !$didhowdy ) {
print qq{Using smartcheck version profile "$vrs" for smartctl ($smart{'BINVER'})\n}
if !$quiet;
$didhowdy++;
}
print "Checking $dsk...." unless $quiet;
if ( exists $custom_d->{$dsk} && $custom_d->{$dsk} =~ m{^\S+$} ) {
print "\n\tAdding custom '-d $custom_d->{$dsk}' flag for $dsk from $cust_d_file\n" if !$quiet;
$smart{$vrs}->{'smart_enabled_cmd'} = "-d $custom_d->{$dsk} $smart{$vrs}->{'smart_enabled_cmd'}";
}
if ( is_smart_enabled( \%smart, $vrs, $dsk ) ) {
my $error = '';
Cpanel::SafeRun::Dynamic::livesaferun(
'prog' => [ $bin, split( /\s+/, $smart{$vrs}->{'errors_only'} ), $dsk ],
'formatter' => sub {
my ($line) = @_;
$error .= $line;
return '';
},
);
$error = Cpanel::StringFunc::Trim::ws_trim($error);
if ($error) {
$msg .= <<"MSG_END";
S.M.A.R.T Errors on $dsk
From Command: $link $smart{$vrs}->{'errors_only'} $dsk
$error
----END $dsk--
MSG_END
print "\nErrors:\n $error\n\n" if !$quiet;
}
else {
print "Ok\n" if !$quiet;
}
}
else {
print "S.M.A.R.T does not appear to be enabled for this device.\n"
if !$quiet;
}
}
}
if ( $msg && -e $last_sent ) {
$msg = '' if Digest::SHA->new(512)->addfile($last_sent)->hexdigest eq Digest::SHA::sha512_hex($msg);
}
ALERT_FAILINGDISKS:
{
if ( $msg ne '' ) {
if ( open my $last_fh, '>', $last_sent ) {
print {$last_fh} $msg;
close $last_fh;
}
else {
warn "Could not open $last_sent for writing: $!";
}
my $subject = '[cPanel smartcheck] Possible Hard Drive Failure Soon';
my $smsg = <<"SMART_END";
IMPORTANT: Do not ignore this email! !!!! READ IT THOUROUGHLY !!
Your system's smartctl utility has detected some errors.
(see the "---- smartctl report --" section below for details).
You should investigate those errors according to `man smartctl`
and documentation at $smart{'url'}
including their mailing list. You can disable this check by doing:
`touch /var/cpanel/disablesmartcheck`
and reenable it at anytime by removing that file.
If you do find issues you should consider using smartd to
monitor your drives instead of/along with this script.
This email was generated by the cPanel smartcheck script and is
reporting errors from your S.M.A.R.T enabled drives with the
given commands below. It is up to you to investigate further
and take appropriate steps:
!!!! Do not submit tickets or bug reports if you get this email.
Use the avenues outlined in this email to deal with your
system's S.M.A.R.T setup. !!
To begin your troubleshooting you may want to run
`/usr/local/cpanel/scripts/smartcheck --nomail` as root via SSH.
---- smartctl report --
$msg
SMART_END
if ( !$nomail ) {
require Cpanel::Notify;
Cpanel::Notify::notification_class(
'class' => 'Check::Smart',
'application' => 'Check::Smart',
'constructor_args' => [
'origin' => 'smartcheck',
'attach_files' => [ { name => 'SMART-log.txt', content => \$msg } ],
]
);
}
if ($debug) {
print "This was emailed unless you used --nomail:\n" . "Subject: $subject\n\n$smsg";
}
}
}
return;
}
run() if !caller();
1;
__END__
=head1 NAME
/scripts/smartcheck
=head1 USAGE
/scripts/smartcheck [--help] | [--quiet --noemail]
=head1 REQUIRED ARGUMENTS
None
=head1 OPTIONS
=over 4
=item -- help
List the help section, then exit immediately.
=item --quiet
Do not output the normal dialog to STDOUT.
=item --noemail
Do not send an email alert if a disk is found to be failing.
=back
=head1 DESCRIPTION
This utility is a wrapper around smartmontool's smartctl tool. It is run regularly
as part of C</scripts/maintenance>. It may be run independently from the commandline
or as part of a more frequently occurring crontab entry.
If hard drives that are SMART enabled show signs of impending failure, this utility
will generate the necessary warnings necessary to alert the admin of this server.
=head1 DIAGNOSTICS
None
=head1 CONFIGURATION
C</var/cpanel/smartcheck_custom_dash_d.yaml> may be used for two purposes.
First, it may be used to define the type (passed to smartctl's -d flag) for a specific
drive if smartctl is unable to determine this without help.
Secondly, the configuration file may be used to define SMART enabled hard drives that
are not directly listed in the system's C</etc/fstab> file.
For more information on -d options available for supporting drives behind RAID
controllers, please visit:
L<http://www.smartmontools.org/wiki/Supported_RAID-Controllers>
=head1 EXIT STATUS
Exit status is 0 (success) unless an unexpected error occurs, in which case it will
die (255).
=head1 DEPENDENCIES
This utility requires that a modern version of smartmontools be installed. It has been
tested to work with versions 5.x and 6.x, although there is legacy support for version
2.1.
=head1 INCOMPATIBILITIES
None
=head1 SEE ALSO
The help section displayed using the C<--help> option is very handy.
=head1 BUGS AND LIMITATIONS
SMART checks are only made on SMART enabled hard drives that have device names
beginning with "hd" and "sd".
=head1 LICENSE AND COPYRIGHT
Copyright 2022 cPanel, L.L.C.