SNMP configuration wizard goes white

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ushahab88
Posts: 15
Joined: Mon Apr 24, 2017 11:36 am

SNMP configuration wizard goes white

Post by ushahab88 »

Moderator Edit: This thread has been moved from the Nagios Ideas forum.
In the future, please post in the appropriate section of the forum.


HI dear as i am trying to configure the snmp on nagiosxi through web interface. when i put the host IP and snmp version and the string, after this i press the button next screen goes white..
i have checked the httpd log on nagios server following error occurs..
[:error] [pid 17637] [client "host IP"] PHP Fatal error: Call to undefined function snmprealwalk() in /usr/local/nagiosxi/html/includes/configwizards/linux_snmp/linux_snmp.inc.php on line 307 referer: http://Nagiosxi'ip/nagiosxi/config/monitoringwizard.php?update=1&nextstep=2&nsp=a0af2657d0bb4f31e7e7b728d61fde2bbab34dcf91bea08605e6fe2a8fb8bd9f&wizard=linux_snmp

monitoring is going through agent based either for linux or windows..
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: SNMP configuration wizard goes white

Post by avandemore »

Have you tried with a different browser?
Previous Nagios employee
ushahab88
Posts: 15
Joined: Mon Apr 24, 2017 11:36 am

Re: SNMP configuration wizard goes white

Post by ushahab88 »

i have tried on different computers different users and even different browsers..same result..
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SNMP configuration wizard goes white

Post by tmcdonald »

Please provide the following information:
  • Nagios XI version (bottom left of the web interface)
  • OS version (run cat /etc/*release* from the command line)
Former Nagios employee
ushahab88
Posts: 15
Joined: Mon Apr 24, 2017 11:36 am

Re: SNMP configuration wizard goes white

Post by ushahab88 »

Nagios version is Nagios XI 5.4.4
and server OS is
CentOS Linux release 7.3.1611 (Core)
Derived from Red Hat Enterprise Linux 7.3 (Source)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: SNMP configuration wizard goes white

Post by tgriep »

First thing to do is to make sure the Wizards are up to date on the server.
Login to the XI GUI and go to the Admin > Manage Config Wizards menu, click on the Check for Updates button and if needed, upgrade the wizards.

Next, lets increase the memory and timeout values that PHP uses and see if that helps.
Edit the /etc/php.ini file and change the following from

Code: Select all

max_execution_time = 30
max_input_time = 60
memory_limit = 128M
to

Code: Select all

max_execution_time = 60
max_input_time = 120
memory_limit = 512M
Then add this to the bottom of that file

Code: Select all

max_input_vars=5000
Save the file

Then edit this file

Code: Select all

/etc/httpd/conf/httpd.conf
and add this line to the bottom of the file

Code: Select all

LimitRequestLine 100000
Save the file and restart Apache for the changes to take affect by running the following as root.
service httpd restart

Then run the Wizard again and see if it functions for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked