Nagios – Use an external smtp server to send notifications

One of the most important feature of Nagios is the notification system; by default Nagios will use the local mail daemon (mail) to send all the notifications.
Maybe this kind of system was working fine in past, but today, with this huge amount of spam circulating all over the world, this kind of emails from a not verified source can be filtered by the same company antispam system.
In order to avoid this issue I will explain how to configure Nagios using an external smtp server also with smtp authentication.

2,173 total views, no views today

Connect remote Linux server with SSH Key and make Mac OSx alias for remote server

How To Set Up SSH Keys

About SSH Keys

SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long string of characters: a public and a private key. You can place the public key on any server, and then unlock it by connecting to it with a client that already has the private key. When the two match up, the system unlocks without the need for a password. You can increase security even more by protecting the private key with a passphrase.

1,322 total views, no views today

How to Install and Configure MRTG on Ubuntu Server

This post will describe how to install and configure Tobi Oetiker’s MRTG (Multi Router Traffic Grapher) on your Ubuntu server. All steps assume that the Apache http server is installed and operating correctly. Once configured, you’ll be able to use MRTG to monitor the traffic in and out of your network using the SNMP capability in your network’s gateway\router. MRTG generates static HTML pages containing PNG images which provide a visual representation of this traffic. MRTG typically produces daily, weekly, monthly, and yearly graphs. MRTG is written in perl and works on Unix/Linux as well as Windows. MRTG is free software licensed under the GNU GPL.

477 total views, no views today

Mac OS X El Capitan sisteminde e-imza hatası

Safenet tarafından üretilen Aladdin e-token kullanıyorsanız muhtemelen benim de yaşadığım sorunla karşılaşmışsınızdır.

Bu sorunun çözümünü şu şekilde sağladım.

Bu kurulumlardan sonra token’ı bilgisayarınıza taktığınızda sertifikanızı görüyor hatta e-devlete giriş yapabiliyor olacaksınız.

2,108 total views, no views today

How do I kill another login session remotely on Ubuntu?

You can kill a Unix login session remotely by sending a hangup signal (SIGHUP) to the process running the login session. To do this, follow the steps below:

  1. Identify the shell you want to kill. To determine your current tty, from your Unix shell prompt, enter:
  2. To show all of your running processes, enter:

    Replace username with your username.
  3. You should see something like this:

    In the first column, “PID” stands for “process ID”. The second column shows the tty to which your processes are connected. The dash (-) before a process name shows that the process is a login shell.
  4. To remove the remote shell, look for the processes with a dash and choose the process number that is not for your current tty. Then issue the following command:

    Replace processid with the process ID number you identified.

When you send a SIGHUP (by entering kill -HUP or kill -1) to a login shell, all the processes that were started in the shell will be killed as well (unless they were in the background). SIGHUP is good because it allows applications like Elm and Emacs to exit gracefully, leaving your files intact.

Note: You cannot kill processes that are running on a computer different from the one you are logged into. This rule extends to individual nodes within clusters of Unix systems as well.

590 total views, no views today

Disable or Enable Apache SSL module

Disable SSL module

Enable SSL module

278 total views, no views today

Zararlı alan adlarını dışa aktarmak

Merhaba Arkadaşlar,

Yakın zamanda yapmış olduğumuz “Zararlı Alan Adları” çalışmamıza bir katkı da KerimCan Kalıpcıoğlu arkadaşımızdan geldi. Değerli katkılarından dolayı kendisine teşekkür ediyorum.

Sayfamızda yayınladığımız Zararlı alan adlarını dışa aktarmak için bu script‘i kullanabilirsiniz.

python export.txt

şeklinde çalıştırmanız yeterli. Tüm listeyi text formatında kaydediyor. Nerede, nasıl kullanmak istediğiniz Sizin fantazinize kalmış artık.

İsteyen script kodunu buradan kopyalayabilir.

670 total views, no views today

Nagios 4.1 installation on Ubuntu 14.04

  • Update Server

  • Install necessary packages

  • When postfix asks, set your mail config to match your situation.
  • If you are unsure, Internet Site is probably what you are looking for.
  • Next we will need to set up the user and group that Nagios will operate as.

2,367 total views, no views today

OTRS Help Desk 4.0.10 Installation on Ubuntu 14.04

OTRS (Open-source Ticket Request System) – is a ticketing system which provides organized and centralized way to manage end user support requests, complaints, inquiries and other types of communications. In other words it provides end users with a single place to report issues and IT help desk with single place to respond to issues. Which provides more systematic approach to resolving reported issues, proactive prevention, time management, statistical analysis and other useful benefits.

Installation steps 

6,154 total views, 1 views today