Install NagioSQL On CentOS 7

We already install NConf application to configure Nagios hosts, but there is another application to configure hosts in Nagios called NagioSQL application. NagiosQL is a professional, web-based configuration tool for Nagios based monitoring tools and any Nagios functionalities are supported. It is designed for large enterprise requirements as well as small environments, support for every Nagios object definition option and for template definitions (host, services, contacts), and et cetera. As of the writing, the latest version of Nagios is 3.3.0 and we will install it on CentOS 7.
Continue reading

How To Configure Only PING Service For The Host in NConf

In the previous article, we installed NConf application to manage the hosts in Nagios. But sometimes we just want to monitor the host whether the host is on or not and we need not monitor other services on the host. In short, we only want PING service only and do not require other services for the host. By default, NConf application does not provide as we want and we must configure it so we can monitor the host whether the host is on or off.
Continue reading

How to Install ownCloud on CentOS 7

OwnCloud is open source application for file sharing similar to Dropbox. Using this application we can store and access our data across all of your devices and share your files with others as well. Frank Karlitschek made the application and release its initial release in 2010. OwnCloud has 2 licenses: community and enterprise licenses and this article will explain how to install community version of ownCloud on CentOS 7.
Continue reading

How To Hide User Input In The Bash Script

Usually, if we create a bash script to ask the user for input we use the command called read. The command will display input from user to terminal so a user can read it in the monitor. What about if we want to create a bash script to ask the user to input the password? It is very dangerous if someone sees the password when the user types it. The example we create a bash script to display all database in MySQL or MariaDB:
Continue reading

Install NConf To Manage Hosts In Nagios Via Web-Based

In the previous article, we explained about adding hosts to Nagios using NRPE agent or not. But maybe it is very hard and confuses too many users because we must add hosts using the command line. This time, we will add hosts using NConf, the application to manage hosts to Nagios via web-based. The application was built using PHP and Perl by Fabian Gander, Angelo Gargiulo, and Bernhard Waldvogel and release latest stable version on 2011 and as of this writing, no more releases since version 1.3.0 is released until now.
Continue reading

How To Add Windows Host To Nagios Using NSClient++

In the previous article, we already explain how to add Linux host to Nagios. Now, the article will explain how to add Windows host to Nagios. If we want to add Windows host to Nagios, we must install NSClient++ agent in windows host. You can download the agent in SourceForge site and choose whether using 32 bit or 64 bit based on your Windows architecture. I use IP 192.168.56.101 for Nagios Server, IP 192.168.56.103 for Windows host and 64 bit 0.4.1.90 version of NSClient++ for this article.
Continue reading

How To Add Linux Host To Nagios Using NRPE Plugin

In the previous article, we already explain how to add Linux host to Nagios but we do not use Nagios plugin to do that. Now, we want to add Linux host to Nagios using Nagios plugin called NRPE or Nagios Remote Plugin Executor. NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines and monitor remote machine metrics (disk usage, CPU load, etc.). NRPE can also communicate with some of the Windows agent add-ons, so you can execute scripts and check metrics on remote Windows machines as well. In this article, we want to add Linux centOS 7 to Nagios with IP 192.168.56.102 using NRPE and IP Nagios Server is 192.168.56.101. Please disable SELinux and IPTables on each server.
Continue reading