Ansible Commands

Published on Author gryzliLeave a comment

Here I will describe some ansible related commands, which I use in my day-to-day ansible usage.   ansible-playbook Execute test_job.yml playbook

  Ansible ansible-playbook limit playbook execution to a certain hosts only Sometime you may want to execute a given playbook (or part of it), only on certain hosts. Instead of making different inventory… Continue reading Ansible Commands

Network Troubleshooting Tools

Published on Author gryzliLeave a comment

Here I’m going to list all of the tools I use when I need to do some network troubleshooting…   Usefull sites for network connectivity checks The first one of course is ripe.net which provides a bunchf of handy tools for all kind of network related tests. RIPEstat – By given ip address/network it provides a… Continue reading Network Troubleshooting Tools

Centos 6 – Install Nagios client from source

Published on Author gryzliLeave a comment

We are assuming that our Nagios Server has IP: 192.168.1.1 By default client NRPE will listen on port 5666, so make sure it’s enabled on IPTABLES. Prerequisities Add nagios user

  Install openssl devel

  Install xinetd

    Install Nagios NRPE Current version of NRPE is 2.15.

  Install Nagios… Continue reading Centos 6 – Install Nagios client from source

Centos – Webuzo – Requested action not taken: mailbox unavailable 550 Sender verify failed

Published on Author gryzli1 Comment

Background When I configure email accounts in Webuzo and try to send mail from account which already resides in: /etc/aliases I get the following error: Requested action not taken: mailbox unavailable 550 Sender verify failed The problem is that the default exim.conf which Webuzo installs has badly configured order of mail routers. Here are some FIXES… Continue reading Centos – Webuzo – Requested action not taken: mailbox unavailable 550 Sender verify failed

Nagios Core + Nagios plugins basic install from source on Centos 6.x

Published on Author gryzliLeave a comment

Download nagios core source In my case the latest stable nagios is nagios-4.0.8 Here’s the URL: http://www.nagios.org/download/core/thanks/?t=1414494536   Install some dependecy packages

  Create nagios user/groups

  Untar the source and install

  Copy event handlers

  Syntax check nagios.cfg configuration file

  Create htpasswd containing access credentials The credentials… Continue reading Nagios Core + Nagios plugins basic install from source on Centos 6.x

Mounting remote filesystem through SSH/SCP by using SSHFS

Published on Author gryzliLeave a comment

Background Recently I found myself frequently editing files locally (with some nice IDE/ text editor) and then having to re-upload them to a destination server. And…. one day I searched for “SSH filesystem” through Google, which was so kind to return me the following result: https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh This was my first touch to sshfs, which seemed… Continue reading Mounting remote filesystem through SSH/SCP by using SSHFS

OpenSuse – Zypper usefull commands (cheat sheat)

Published on Author gryzliLeave a comment

Here are some useful zypper commands: Querying Searching Packages [ zypper search OR zypper se]

  Getting information about packages [ zypper info OR zypper if ]

  Getting information about dependecies [ zypper what-provides OR zypper wp ]

  Utilities   Verify Depndecies  

  Install new recommended packages

Continue reading OpenSuse – Zypper usefull commands (cheat sheat)

BIND – Configure master/slave zone

Published on Author gryzliLeave a comment

Below is some simple configuration for running DNS Master/Slave zone.   We assume the following IP configuration: DNS Master : 192.168.1.1 DNS Slave : 192.168.1.2 DNS Zone: domain.com   Master Server Configuration Master server’s named.conf must contain something like this:

  Slave Server Configuration Slave server’s named.conf must contain something like that:

 … Continue reading BIND – Configure master/slave zone

LSI MegaCLI commands (MegaCLI cheatsheat)

Published on Author gryzliLeave a comment

Here I will describe frequently used by me MegaCLI commands.   Controller related info

  Physical drives info

  Virtual Drive info

      References http://erikimh.com/megacli-cheatsheet/

GIT – Basic installation

Published on Author gryzliLeave a comment

This is a simple resume on bringing online git server repository + client accessing it. Make sure you have git installed – the easiest way is by using your distribution’s package manager. Example Server Setup We assume that we have the following basic straight-forward sever setup : – Git Server –> server.example.com – Git Client… Continue reading GIT – Basic installation