http://wiki.r1soft.com/display/CDP3/Installing+Enterprise+Edition+on+Windows
http://wiki.r1soft.com/display/CDP3/Configuring+Enterprise+Edition+on+Windows
http://wiki.r1soft.com/display/CDP3/Adding+the+Server+Key+to+Windows+Agent
ls /etc/init.d | grep postfix (defaults)
ls /etc/init.d | grep sendmail
yum install postfix -y
yum install sendmail -y
======
chkconfig postfix on
chkconfig sendmail on
======================
Set cronjob for mail aleart
===========
cd /etc/cron.hourly
vi MegaRAIDcron
#!/bin/bash
cd /opt/MegaRAID/MegaCli
./MegaCli64 -AdpAllInfo -aALL | grep "Degraded" > degraded.txt
./MegaCli64 -AdpAllInfo -aALL | grep "Failed" >> degraded.txt
cat degraded.txt | grep "1" > /dev/null
if [[ $? -eq 0 ]];
then
cat degraded.txt | mailx -s 'Degraded RAID on '$HOSTNAME <testgmla@gmail.com>
fi
==============
To test cron, we need to make one small change to the file. Change the following:
From
cat degraded.txt | grep "1" > /dev/null
To
cat degraded.txt | grep "0" > /dev/null
Save the changes and run the cron manually:
/etc/cron.hourly/MegaRAIDcron
If you have installed everything correctly, you should receive an email which shows the following:
Degraded : 0
Security Key Failed : No
Failed Disks : 0
Deny Force Failed : No
Sree
openssl s_client -connect ServerIP:443 -ssl3
CONNECTED(00000003)
140051818760008:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s3_pkt.c:1257:SSL alert number 40
140051818760008:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:596:
========================SSLHonorCipherOrder On
SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2
SSLHonorCipherOrder On
SSLProtocol -All +TLSv1