I was forced to update my blog and delete a few old posts as I am preparing to post some work related (IT) material in twitter pointing here.Most deleted posts concern old work interests and World of Warcraft links.The material to be posted will be about Nagios, Ansible, Python, and Automation in general.
Category: IT
Εγκατάσταση Nagios 4.1.0 σε Ubuntu Server 14.04.3 LTS με plugins, check_nrpe, check_esxi_hardware και nagiosgraph
Σήμερα έπιασα ξανά το θέμα του upgrade σε Nagios 4 και έμαθα ότι στις 18/8 (χθες) βγήκε το Nagios 4.1.0 stable. Ξεκίνησα (μετά από δοκιμή για upgrade) ένα clean install στον ubunagios03 με εγκατάσταση από την αρχή του Ubuntu Server 14.04.3 LTS και nagios core 4.1.0 & nagios plugins v.2.1.1 Πρώτα ενεργοποίησα το χρήστη root…
Copy & Paste with vim
These are the sources: http://stackoverflow.com/questions/4620672/copy-and-paste-content-from-one-file-to-another-file-in-vi http://vim.wikia.com/wiki/Cut/copy_and_paste_using_visual_selection http://www.tech-recipes.com/rx/219/copy-and-paste-text-with-vi-or-vim/ Since you already know how to cut/yank text, here are a few ideas for pasting it back into another file: Edit the first file, yanking the text you want. Then open your second file from within vi (:e /path/to/other/file) and paste it Open both files together in a…
vim search and replace commands
If you want to match something at the end of the line you need to use the $ character at the end of the string pattern. The following are taken from : http://www.linux.com/learn/tutorials/8255-vim-tips-the-basics-of-search-and-replace Let’s start by looking at searches and doing search and replace operations within Vim. You can do a search in normal mode…
Ubuntu Server Network Configuration
Here is a link for Ubuntu Server Network Configuration. The guide is valid for 12.04 version. https://help.ubuntu.com/12.04/serverguide/network-configuration.html Below are some important parts: Static IP Address Assignment To configure your system to use a static IP address assignment, add the static method to the inet address family statement for the appropriate interface in the file /etc/network/interfaces….
amd and hackintosh project
Here are some links I have found about the hackintosh project. I am interested in installing that as dual boot in my pc. http://www.macbreaker.com/2012/01/look-at-state-of-amd-hackintoshing.html and some more: http://lifehacker.com/5672051/how-to-build-a-hackintosh-mac-and-install-os-x-in-eight-easy-steps http://www.hackintosh.com/ http://wiki.osx86project.org/wiki/index.php/Installation_Guides http://suhastech.com/how-to-amd-hackintosh-install-dual-boot-windows-7-and-mac-os-x-snow-leopard-10-6-6-or-10-6-7/ http://blog.nawcom.com/ http://www.macbreaker.com/2012/04/lion-legacy-kernel-finally-released.html http://www.macbreaker.com/2012/02/how-to-install-mac-os-x-snow-leopard-on.html http://tonymacx86.com/downloads.php http://www.macbreaker.com/2012/01/how-to-use-multibeast-comprehensive.html
nagios sms
I am trying to find a way to send sms messages whenever an alert is generated in a nagios monitoring system. The links below contain material that can lead to a solution. Implementation links: http://www.lecentre.net/blog/archives/985 http://www.youtube.com/watch?v=oZIB8OAVBtY http://www.sms-integration.com/p_110-nagios-sms.html http://matt.bottrell.com.au/archives/205-Nagios-2-way-alerting-via-SMS-Part-2.html SMS Gateways links for Greece: http://www.clickatell.com/products/sms_gateway.php?cid=31683 http://www.smsn.gr/index.php?mm=home http://www.smsgateway.gr/ The first one seems promising as it can provide…
Free alternative for backing up VMs
Take a look at this: http://serverfault.com/questions/52327/copy-vmware-vmdk-files-while-vm-is-running http://sanbarrow.com/vmdk-basics.html http://computer-forensics.sans.org/blog/2010/09/28/digital-forensics-copy-vmdk-vmware-virtual-environment/
Reverse proxy links
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html http://www.apachetutor.org/admin/reverseproxies LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so ProxyRequests Off “” Order deny,allow Allow from all ProxyPass /foo http://ftp.ntua.gr/pub/linux/centos ProxyPassReverse /foo http://ftp.ntua.gr/pub/linux/centos
Bring vlan into the esxi platform!
I will produce some descrtiption text soon, take these links first. Sample configuration of virtual machine(VM) VLAN Tagging (VGT Mode) in ESX VLAN Configuration on Virtual Switch, Physical Switch, and Virtual Machines Sample configuration of virtual switch VLAN tagging (VST Mode) VLAN Configuration on Virtual Switch, Physical Switch, and Virtual Machines Sample configuration of EtherChannel…