Monthly Archives: December 2012

nmap port scanning

nmap -p80 10.1.1.0/24 -oG – | grep 80/open

Will display all ports in the /24 that have port 80 open

Crontab

yum install vixie-cron crontabs
/sbin/chkconfig crond on
/sbin/service crond start

sFlow XenServer

Download iso

http://sourceforge.net/projects/host-sflow/files/REL-1_22/

HERE!

mount and install.

service hsflowd start
service sflowovsd start

chkconfig hsflowd on
chkconfig sflowovsd on

edit conf file

nano /etc/hsflowd.conf

agent = xenbr0

DNSSD = off
polling = 20
sampling = 512

collector {
ip = 10.1.1.x
udpport = 6343
}

service hsflowd restart