Installing And Configuring Filebeat On Centos/RHEL

Published on Author gryzli

Filebeat is a perfect tool for scraping your server logs and shipping them to Logstash or directly to ElasticSeearch. You will find some of my struggles with Filebeat and it’s proper configuration.   Installing Filebeat under Centos/RHEL As with all ELK products the installation process is really easy and straight forward. Filebeat could be easily… Continue reading Installing And Configuring Filebeat On Centos/RHEL

Centos/RHEL/Fedora Create Your Own YUM Repository

Published on Author gryzli

If you have learned how to build your own rpm packages (or want to use custom already built ones) , you maybe want to use your own yum repository for installing these packages. In the following how-to I will show you how to easily setup a yum repository. Prerequisites 1| Install createrepo First you need… Continue reading Centos/RHEL/Fedora Create Your Own YUM Repository

Centos 6 – Recompile Apache Suexec

Published on Author gryzli

By default Centos 6 has Apache (2.2.x) which comes with suexec preinstalled. The suexec module itself could be found here: /etc/httpd/modules/mod_suexec.so There is also a suexec wrapper binary, which is by default installed here: /usr/sbin/suexec   0. What is the problem with default suexec ? Imagine you want to activate Suexec for some of your… Continue reading Centos 6 – Recompile Apache Suexec

YUM – List all avialable packages from a given repository – Fedora/Centos/Rhel

Published on Author gryzli

1. Get the repository ID This is sample repolist on Centos/RHEL 7.X [root@provision-test ~]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: mirror1.34sp.com * base: mirrors.neterra.net * extras: mirrors.neterra.net * updates: mirrors.neterra.net repo id repo name status atomic/7/x86_64 CentOS / Red Hat Enterprise Linux 7 – atomicrocketturtle.com 843 base/7/x86_64 CentOS-7… Continue reading YUM – List all avialable packages from a given repository – Fedora/Centos/Rhel

Centos 6.x / RHEL 6.x – Apache / Nagios 4.x – Install nagiosgraph plugin

Published on Author gryzli

Nagiosgraph gets performance data from Nagios and by using RRDtool generates nice graphics for this data. The plugin’s home page is here: http://nagiosgraph.sourceforge.net/ Prerequisites Here I assume that you already have Nagios Core 4.x installed with the appropriate Apache configurations.   Installing yum packages yum install perl-CGI rrdtool-perl perl-Time-HiRes perl-GD perl-CPAN perl-Module-Build   Install Nagios::Config… Continue reading Centos 6.x / RHEL 6.x – Apache / Nagios 4.x – Install nagiosgraph plugin

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

Published on Author gryzli

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