Home     About Us     RSSRSS

Archives: Nagios

NagiosXI – SQL: SQL Error [ndoutils]

October 21, 2015 by @HKw@! | No Comments | Filed in centos, Linux, Nagios, Open Source

Problem Symptoms

Error “SQL: SQL Error [ndoutilsSQL: SQL Error [ndoutils]

SQL-SQL Error

If you see above error when you logon the NagiosXi Server,  it may be a symptom of one or more crashed tables. The steps outlined below allow you to repair the MySQL database tables used by Nagios XI.

Repairing MySQL Tables

  • First, login to your Nagios XI server as the root user via SSH.
  • Run the Nagios XI database repair script with the following command:

cd /usr/local/nagiosxi/scripts
./repair_databases.sh

This process may take several minutes to complete, depending on the size of your database

If above step unable to solve the problem, you may have to contact Nagios support team

Could not construct return packet in NRPE handler check client side (nsclient.log) logs…

October 16, 2015 by @HKw@! | 2 Comments | Filed in Nagios, Open Source

When i try to run check _nrpe command from Nagios to perform a memory check the physical memory of the Windows Server 2012, i get the following error message:-

NRPE error

From the above error message it show that Nagios Server unable to get the results from the NSClient services. It is because NRPE module is not enable in the NSClient services. By default, NRPE module is not enable.

To enable the NRPE module, below are the steps:

1. navigate to the NSClient++ directory which should be in your C:\Program Files directory.

2. There is a file named NSC.ini in there. This is the main configuration file for NSClient. Open this in your favorite text editor.

3. Now in the [NRPE] section we need to enable the following:

port 5666

allow_arguments=1

 

4. Once done, save the NSC.ini files and restart NSClient++ services

5. Now you try the run the same command again and it should return the expected result.

checkMEM

How to install NRPE Agent on CentOS 7

October 26, 2014 by @HKw@! | No Comments | Filed in centos, Linux, Nagios, Open Source

centos_logoNagios Remote Plugin Executor (NRPE) is a Nagios agent allows you to remotely execute Nagios plugins on other Linux/Unix machines. This allows you to monitor remote machine metrics (disk usage, CPU load, etc.).

Normally there is an official guide available on Nagios Website allow you to download and install NRPE Agent. Unfortunately there is no official guide for install NRPE Agent on Centos 7.

Here i going to show you how to install NRPE Agent and Nagios Plugins on CentOS 7: (more…)