Rsyslog central logging with LogAnalyzer

Rsyslog central logging with LogAnalyzer

After reaching a number of managed servers a central log-collecting and -analyzing solution is inevitable.

As most Linux systems come with rsyslog by default, it’s an easy way to use it to redirect some or all our logs to a central log server.

We’ll need only a few modifications on the client side, and the setup of an rsyslogd server on a new vps or on one of our current servers.

Continue reading “Rsyslog central logging with LogAnalyzer”

Trend Micro client uninstallation issue

Trend Micro has much security software; one of them is a corporate Antivirus Software, named OfficeScan. The corporate means that the antivirus clients are managed centrally – the installation, and the updates are handled remotely.

I recently faced a problem, when I tried to change the OfficeScan client locally on the machine. I was asked a password to uninstall the program, but I did not have any password.

TM_01

There are several reasons why we need to modify the centrally managed software locally. In my case I had an OVF template with preinstalled Trend Micro client, but the site has no management server. The only one solution was the local removal, so you could find the solution below.

Continue reading “Trend Micro client uninstallation issue”

From the diary of an automation sysengineer role

8:32 – Hurry for warm-up call

I started the day cleaning snow and ice off from the windows of my Mondeo. The
only problem was that I only have had 28 minutes before our MySQL warm-up
conference call. A conference call where some of my colleagues and me should
have had to share desktops presenting generic overview about our MySQL
environment to Nils, to our new MySQL specialist advisor. So handfree
bluetooth phone connection from the car wouldn’t have been enough. I decided
to optimize my available resources and started the engine and turned the
defroster of the car on. While getting out from the car I switched on the GPS
receiver on my smartphone. Waze app can be very useful during the Budapest
rush hours in the morning. I managed removing ice with a simple plasctic
scraper form the four side windows. The front and rear windows were melting by
the defroster threads, only a small assistance was required before windshield
wipers started to wipe. I jumped in, switched the seat heating – holy winter
package – and called my colleague, Gabor who developed the Puppet modules of
the MySQL cluster and will participate in the call. Just ringing, no answer.
Ok, Waze estimated 8:57 as arrival time. Gabor called me back in 5 minutes so
he would have facilitated the first few minutes. He called me again that Nils
is in traffic jam, we can start with 30 minutes delay. Unbelievable. I arrived
into the underground parking lot on time 8:54. 3 minutes on the upstairs and
my laptop was docked and started at 9:01.

Used tools:
The social navigation app Waze on Android smartphone with GPS
Bluetooth car kit
Ice scarper

Continue reading “From the diary of an automation sysengineer role”

How-To create your iptables firewall

Aim

When I first used iptables my aim was as simple as setting up a reliable firewall to protect my home network from unwanted traffic, and share my Internet connection to all the computers on the LAN. This article gives an easy example for such purposes.

Continue reading “How-To create your iptables firewall”

What is Bacula?

Bacula is an open source backup solution. It’s known to be robust enough but yet relatively easy-to-configure. As it is open source, software license costs are nullified. Also a proof to its stability, it’s RPMs and DEBs are to be found in software repositories of the most popular Linux server distributions, Red Hat (CentOS) and Debian, so installation and deployment of upgrades can be done in a common way by anyone. Bottom line, Bacula has its flaws, but it’s still likely better than fooling around with rsync based scripts and catalogues. Continue reading “What is Bacula?”

How to set up PuppetDB for your puppet environment

First of all I would like to share a few words about PuppetDB from the official site site (https://docs.puppetlabs.com/puppetdb/latest/):

“PuppetDB collects data generated by Puppet. It enables advanced Puppet features like exported resources, and can be the foundation for other applications that use Puppet’s data.”

Before you start the installation steps of this article, please make sure that the previous steps from the “Puppet first steps: How to install a puppetmaster with a puppetclient” are already done.

Continue reading “How to set up PuppetDB for your puppet environment”

VMware – PowerCLI | Deploy Ubuntu/Debian VM from template and set basic parameters

Today it’s a common task of an operator to create a new virtual machine quickly for a customer or for testing purposes. Scripting the setup and the basic customization can provide a good basis for automation, mass deployment or integration with self-service portals as well.

The following example intends to give hints on basic usage of PowerCLI and a simple checklist: which basic parameters should be customized for a newly deployed VM.

Continue reading “VMware – PowerCLI | Deploy Ubuntu/Debian VM from template and set basic parameters”