Some old codger giving a lecture about arithmetic ;) 


[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Some syslog-ng filter examples 
# Get almost all messages according to 
# facility and priority (old syslogd concept)
filter f_all { level(debug .. emerg); };

# Filter just messages for ssh login attempts
filter f_sshlogin { program("sshd.*") and match("(Failed|Accepted)"); };

# Filter anything with "mymsg" messages
filter f_rmatch { match("mymsg"); };




[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Some links to Y2be videos 
http://www.youtube.com/user/FreeScienceLectures#p/u
http://www.youtube.com/watch?v=bvnyot6T ... re=related
http://www.youtube.com/watch?v=tI6S5CS- ... re=related
http://www.youtube.com/watch?v=OBmhoGRD ... re=related

[ 16 comments ]   |  [ 0 trackbacks ]   |  permalink
Timey-Wimey T-Shirt 
http://www.cafepress.com/+timeywimey_tshirt,485649588

[ 2 comments ]   |  [ 0 trackbacks ]   |  permalink
Monitoring Compaq Computer Corporation Smart Array pomoci Nagiosu 
# kudzu -p | grep Array
desc: "Compaq Computer Corporation Smart Array 5i/532"


You will need hpaducli-8.60-8.0.noarch.rpm which contains HP Array Diagnostics Utility (CLI) for Linux. It can be downloaded here:

http://h20000.www2.hp.com/bizsupport/Te ... 9c1ff709dd

The output from the command line diagnostics looks like:

# /usr/sbin/hpacucli controller all show status
Smart Array 5i in Slot 0 (Embedded)
Controller Status: OK
Cache Status: OK
Battery/Capacitor Status: OK


The actual script for getting the controller status (Nagios probe):

#!/bin/sh

STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
STATE_DEPENDENT=4
/usr/bin/sudo /usr/sbin/hpacucli controller all show status > /tmp/check_raid.tmp$$

CTRLR_STATUS=""
while read line
do
CTRLR_STATUS=`echo -n $CTRLR_STATUS $line " "`
done < /tmp/check_raid.tmp$$


if [ `cat /tmp/check_raid.tmp$$ | grep "Status:" | grep "OK" | wc -l` -lt 3 ]; then
echo "CRITICAL: $CTRLR_STATUS"
rm /tmp/check_raid.tmp$$
exit $STATE_CRITICAL
fi
echo "OK: $CTRLR_STATUS"
rm /tmp/check_raid.tmp$$
exit $STATE_OK


The /usr/sbin/hpacucli requires root to run, therefore Nagios should use sudoers to run the tool:

Cmnd_Alias HPACUCLI = /usr/sbin/hpacucli
%nagios ALL = NOPASSWD: HPACUCLI


As it will not run as the interactive session we must comment out requiretty:

#Defaults    requiretty.



[ 1 comment ]   |  [ 0 trackbacks ]   |  permalink
RSA SecurID® Appliance 
http://www.itsecuritywarehouse.com/Shop ... 9pd324.htm

http://www.rsa.com/products/securid/dat ... S_0710.pdf



[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Denyhost: less password attacks guaranteed 
DenyHosts is a python program that automatically blocks ssh attacks by adding entries to /etc/hosts.deny. DenyHosts will also inform Linux administrators about offending hosts, attacked users and suspicious logins.

http://sourceforge.net/projects/denyhosts/

http://stats.denyhosts.net/stats.html

install

wget http://downloads.sourceforge.net/projec ... ror=freefr
tar xvfz DenyHosts-2.6.tar.gz
cd DenyHosts-2.6
python setup.py install
cd /usr/share/denyhosts/
cp denyhosts.cfg-dist denyhosts.cfg
cd -
cp /usr/share/denyhosts/daemon-control-dist /usr/share/denyhosts/daemon-control
cd /etc/init.d
ln -s /usr/share/denyhosts/daemon-control denyhosts
chkconfig denyhosts on
service denyhosts start


[ add comment ] ( 1 view )   |  [ 0 trackbacks ]   |  permalink
Monitoring Adaptec řadiče pomocí Nagiosu 
Stažení StorMana:

# If your architecture is x86 use
http://www.adaptec.com/en-US/speed/raid ... 30_rpm.htm
# If your architecture is x64 use
http://www.adaptec.com/en-US/speed/raid ... 30_rpm.htm


Stažení kompakt lib:

yum install compat-libstdc++-33


Následující dá status:
/usr/StorMan/arcconf GETCONFIG 1

Stažení pluginu pro Nagios a Adaptec (Adaptec RAID Check by Anchor Systems : check-aacraid.py patch):

http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/RAID-Controllers/Adaptec-RAID-Check-by-Anchor-Systems--3A-check%252Daacraid-2Epy-patch/details


--napsat raději vlastní--


[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Install fwbuilder on CentOS 
http://techchorus.net/installing-firewa ... os-53-i386

[ add comment ]   |  [ 0 trackbacks ]   |  permalink
Michael Ruppert 
http://www.mustwatch.cz/film/collapse/

[ add comment ]   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | Next> Last>>