Page 1 of 1

SNMP configuration wizard goes white

Posted: Tue May 16, 2017 2:03 am
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..

Re: SNMP configuration wizard goes white

Posted: Tue May 16, 2017 10:56 am
by avandemore
Have you tried with a different browser?

Re: SNMP configuration wizard goes white

Posted: Wed May 17, 2017 2:08 am
by ushahab88
i have tried on different computers different users and even different browsers..same result..

Re: SNMP configuration wizard goes white

Posted: Wed May 17, 2017 9:15 am
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)

Re: SNMP configuration wizard goes white

Posted: Wed May 17, 2017 11:19 pm
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)

Re: SNMP configuration wizard goes white

Posted: Thu May 18, 2017 11:11 am
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.