Show your love for Nagios by voting in the poll! NOTE: If you haven’t participated on the LQ forum, before you’ll have to create an account and post a new message before you can vote. The options are: Nagios Zabbix […]
add new disk in linux
This is without using LVM. try fdisk -l to find the new disk path (as in /dev/sdxx) # fdisk -l use fdisk /dev/sdxx to create partition. # fdisk /dev/sdd1 n p 1 , t,83 w use mkfs to create a […]
linux comand to show memory slots
linux comand to show memory slots To find out many hardware information on linux you can use the awesome lshw but when not available also dmidecode. To find out how many memory for examples: -How many slots: # dmidecode -t […]
reset redhat 5 password
reset redhat 5 password +boot When you lost your root password in a RedHat Linux Based systems you should first have access to the console, (the machine itself). Power on, or reboot as needed. and as soon as you get […]
vbs script to check services
Script to check services, check_services.vbs I tried developing it so the services could be passed via arguments, but using check_nt (NC_Net) and vbscript I found it impossible when we came along multiple arguments containing spaces, its a shame 🙁 Maybe […]
Slow ssh login
Slow ssh login SSH session slow to start? It’s the DNS fault! Just add “UseDNS no” to /etc/ssh/sshd_config service sshd restart
How varnish can identify mobile users
How varnish can identify mobile users In this example it basically finds out via regex on the user-agent tag if the user is mobile if so it redirect to a mobile site. sub identify_device { unset req.http.hash-input; set req.http.X-Device = […]