Search found 62 matches

by Cristhian_Plaza
Wed Sep 06, 2017 11:45 am
Forum: Open Source Nagios Projects
Topic: NRPE Arguments
Replies: 1
Views: 1539

NRPE Arguments

When I send arguments to NRPE, I got this answer "CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected)." Command define command { command_name check_xvda1 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c "check_xvda1" -a $ARG2$ $ARG3$ $ARG4$ } Service defi...
by Cristhian_Plaza
Fri Aug 25, 2017 7:51 am
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

Not knowing completely how this was installed we could hit other problems, however from inside the db directory you may be able to do the following: sed -i "s/TYPE/ENGINE/g" ./*.sql When these scripts were written 10 years ago the TYPE directive was proper however it has been switched to ...
by Cristhian_Plaza
Thu Aug 24, 2017 11:39 am
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

We need to install the package yum install perl-DBD-MySQL -y Then try to perform the command again I installed the package required but I have another problem. [root@ip-10-0-8-150 db]# ./upgradedb -u xxxx -p xxxxx -h localhost -d xxxx Current database version: 1.4b2 ** DB upgrade required for 1.4b3...
by Cristhian_Plaza
Wed Aug 23, 2017 10:11 pm
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

Are you able to upgrade to the latest version? It doesn't look like this is directly related to the 2.1.3 fixes, but if this is a bug, it would be great to see if this exists in the latest version. Please see https://github.com/NagiosEnterprises/ndoutils/blob/50bf12d7b1c7de7c4dd960b6631a84c9557872e...
by Cristhian_Plaza
Sat Aug 19, 2017 3:09 pm
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

What's the output of: sestatus cat /etc/*-release ? Can you post your /etc/sudoers? [centos@ip-10-0-8-150 ~]$ sestatus SELinux status: disabled [centos@ip-10-0-8-150 ~]$ cat /etc/*-release CentOS Linux release 7.3.1611 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="cento...
by Cristhian_Plaza
Fri Aug 18, 2017 11:49 am
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

Do you know what version of Core and ndoutils you are running? How were they installed? This line makes me think it is quite old Last Modified: 09-05-2007 NDO2DB 2.1.2n Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 2005-2008 Ethan Galstad Last Modified: 11...
by Cristhian_Plaza
Thu Aug 17, 2017 8:48 am
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

ok, now I guess we need to see what you have configured in the nagios.cfg for the neb module Run the following replacing /usr/local/nagios/etc/nagios.cfg with the path to your magios.cfg grep ndomod.cfg /usr/local/nagios/etc/nagios.cfg Then please attach the ndomod.cfg attached. We are going to als...
by Cristhian_Plaza
Wed Aug 16, 2017 4:38 pm
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

If it helps..., a new message appeared into /var/log/messages, this says:

Code: Select all

nagios: ndomod: Please check remote ndo2db log, data                                                                                      base connection or SSL Parameters
by Cristhian_Plaza
Wed Aug 16, 2017 3:52 pm
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

This is the first time I have seen a sucessful connection logged in all of your messages: Successfully connected to MySQL database but it doesn't make any sense that there is nothing in that log. You did change the debug_level to be 1 right? Yes... I changed it two times..., first to generate the n...
by Cristhian_Plaza
Wed Aug 16, 2017 3:22 pm
Forum: Open Source Nagios Projects
Topic: Problem with NDOUtils
Replies: 32
Views: 17119

Re: Problem with NDOUtils

It connects correctly to the Database as you can see.., in the new file created "ndo2db.log" it doesn't appear any information, nothing. [root@ip-10-0-8-150 nagios]# systemctl status ndo2db ● ndo2db.service - Stores data from Nagios in a database Loaded: loaded (/usr/lib/systemd/system/ndo...