how to change the limit of 10 fieds with NRPE

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
simone84.an
Posts: 5
Joined: Tue Jul 09, 2013 7:44 am
Location: Weybridge, Surrey

how to change the limit of 10 fieds with NRPE

Post by simone84.an »

Hi All,

I am new in this forum, but I need your help to change a default configuration on Nagios XI.
When I add a new server on the GUI (NRPE) I can set only 10 checks... but I need more!!!
Can someone hel me???

thanks!!!

SA
Last edited by abrist on Fri Aug 16, 2013 9:37 am, edited 2 times in total.
Reason: Moved to Nagios Xi forum as this is not feedback, rather, a question.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: how to change the limit of 10 fieds with NRPE

Post by slansing »

Are you talking about the NRPE monitoring wizard? If so you can add as many rows as you like via the "Add Row" button.
simone84.an
Posts: 5
Joined: Tue Jul 09, 2013 7:44 am
Location: Weybridge, Surrey

Re: how to change the limit of 10 fieds with NRPE

Post by simone84.an »

Hi,

Yes, I am talking about NRPE...
I have 3 Nagios Server with the same version and release:

2- installed with an "ovf template" for VMware {with the problem}
[simone@edinagios ~]$ uname -a
Linux xxxnagios 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed Jun 12 03:34:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[simone@edinagios ~]$ cat /etc/redhat-release
CentOS release 6.4 (Final)
PHP_patch:
php-pdo-5.3.3-22.el6.x86_64
php-snmp-5.3.3-22.el6.x86_64
php-mcrypt-5.3.3-1.el6.rf.x86_64
php-mssql-5.3.3-1.el6.x86_64
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-gd-5.3.3-22.el6.x86_64
php-mysql-5.3.3-22.el6.x86_64
php-pear-1.9.4-4.el6.noarch
php-5.3.3-22.el6.x86_64
php-xml-5.3.3-22.el6.x86_64
php-common-5.3.3-22.el6.x86_64
php-cli-5.3.3-22.el6.x86_64
php-mbstring-5.3.3-22.el6.x86_64
php-pgsql-5.3.3-22.el6.x86_64

1- compiled by me {without the problem}
[root@nagios11s ~]# uname -a
Linux nagios11s 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
[root@nagios11s ~]# cat /etc/redhat-release
CentOS release 6.3 (Final)
PHP_patch:
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-mssql-5.3.3-1.el6.i686
php-5.3.3-22.el6.i686
php-mysql-5.3.3-22.el6.i686
php-ldap-5.3.3-22.el6.i686
php-pdo-5.3.3-22.el6.i686
php-cli-5.3.3-22.el6.i686
php-gd-5.3.3-22.el6.i686
php-mcrypt-5.3.3-1.el6.rf.i686
php-pgsql-5.3.3-22.el6.i686
php-xml-5.3.3-22.el6.i686
php-mbstring-5.3.3-22.el6.i686
php-common-5.3.3-22.el6.i686
php-pear-1.9.4-4.el6.noarch
php-snmp-5.3.3-22.el6.i686

I think that there is a "problem" during the compilation for ovf template version... (different kind of php version an example!)

What do you think about it?
Do you know how to solve this problem without reinstall Nagios Server?

THANKS!!!

SA
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: how to change the limit of 10 fieds with NRPE

Post by slansing »

What version of Nagios XI is running on that OVF? I'm not sure why this would happen off the top of my head, so is the Add Row button completely missing? Do you notice any other issues other than with this wizard? Also, do not double post please, we see all threads so there is no need to do any bumping here..
simone84.an
Posts: 5
Joined: Tue Jul 09, 2013 7:44 am
Location: Weybridge, Surrey

Re: how to change the limit of 10 fieds with NRPE

Post by simone84.an »

Hi Slancing,

first thing, I am apologize for the double post;
The version is 2012R2.2;
I have attached two pictures with the difference between the OVF installation and the compiled installation where you can see the button missing!

Thanks 1000!
nagiosXI_compiled_ok.jpg
nagiosXI_with_OVF.jpg
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: how to change the limit of 10 fieds with NRPE

Post by abrist »

Lets check a few things:
1. Check your wizard version: Go to Admin --> Manage Config Wizards --> Check the NRPE wizard version (should be v1.3)
2. Check the apache error logs. Run the following tail and then try to access the NRPE wizard, browsing to the page with the missing link. Post the ouput from the tail afterwards here in code wraps:

Code: Select all

tail -f /var/log/httpd/error_log
3. Pull up the javascript error console (Ctrl-Shift-J), post any errors (not warnings, as there may be a few of those).
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
simone84.an
Posts: 5
Joined: Tue Jul 09, 2013 7:44 am
Location: Weybridge, Surrey

Re: how to change the limit of 10 fieds with NRPE

Post by simone84.an »

Hi Abrist,

below the informations required:

1- The version of NRPE is 1.1

2- [root@XXXnagios ~]# tail -f /var/log/httpd/error_log
[Sun Aug 11 03:33:02 2013] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Aug 11 03:33:02 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Mon Aug 12 06:13:46 2013] [error] [client 10.44.38.170] PHP Notice: Undefined variable: service in /usr/local/nagiosxi/html/rr.php on line 73
[Tue Aug 13 14:08:06 2013] [error] [client 10.44.33.199] PHP Notice: Undefined offset: 7 in /usr/local/nagiosxi/html/includes/configwizards/nrpe/nrpe.inc.php on line 296, referer: http://10.44.150.12/nagiosxi/config/mon ... wizard.php
[Tue Aug 13 14:08:06 2013] [error] [client 10.44.33.199] PHP Notice: Undefined offset: 8 in /usr/local/nagiosxi/html/includes/configwizards/nrpe/nrpe.inc.php on line 296, referer: http://10.44.150.12/nagiosxi/config/mon ... wizard.php
[Tue Aug 13 14:08:06 2013] [error] [client 10.44.33.199] PHP Notice: Undefined offset: 9 in /usr/local/nagiosxi/html/includes/configwizards/nrpe/nrpe.inc.php on line 296, referer: http://10.44.150.12/nagiosxi/config/mon ... wizard.php
[Tue Aug 13 14:12:39 2013] [error] [client 10.44.33.199] PHP Notice: Undefined offset: 7 in /usr/local/nagiosxi/html/includes/configwizards/nrpe/nrpe.inc.php on line 296, referer: http://10.44.150.12/nagiosxi/config/mon ... wizard.php
[Tue Aug 13 14:12:39 2013] [error] [client 10.44.33.199] PHP Notice: Undefined offset: 8 in /usr/local/nagiosxi/html/includes/configwizards/nrpe/nrpe.inc.php on line 296, referer: http://10.44.150.12/nagiosxi/config/mon ... wizard.php
[Tue Aug 13 14:12:39 2013] [error] [client 10.44.33.199] PHP Notice: Undefined offset: 9 in /usr/local/nagiosxi/html/includes/configwizards/nrpe/nrpe.inc.php on line 296, referer: http://10.44.150.12/nagiosxi/config/mon ... wizard.php

3- nothing error in the java console...

Thanks and I am sorry for the delay in the answer.
simone84.an
Posts: 5
Joined: Tue Jul 09, 2013 7:44 am
Location: Weybridge, Surrey

Re: how to change the limit of 10 fieds with NRPE

Post by simone84.an »

Hi all,

problem solved updating the NRPE 1.1 version with the last 1.3.

THANKS 1000 for the support!
Locked