SNMP router/switch config wizard not working
SNMP router/switch config wizard not working
When I run the SNMP Router/Switch config wizard it shows a blank page.
I enter the IP address, SNMP community string and click next
The screen is then blank and does not move on even if I wait for 5 minutes.
This happens when I try a new router to monitor or try and configure new router to monitor.
I enter the IP address, SNMP community string and click next
The screen is then blank and does not move on even if I wait for 5 minutes.
This happens when I try a new router to monitor or try and configure new router to monitor.
Re: SNMP router/switch config wizard not working
What version of the wizard are you running?
Andrew J. - Do you even grok?
Re: SNMP router/switch config wizard not working
In addition to providing the version of the wizard as vAJ, suggested, what version of XI are you using and are you using the default switch/router wizard, or did you manually install it?
Reason I ask is this:
Reason I ask is this:
https://support.nagios.com/wiki/index.p ... n_ProblemsWhen plugins, components or wizards are not installed through the proper menus, this creates problems in Nagios XI, such as "wiping out" all wizards, so they can not be viewed in the Web interface, blank pages in the Web browser and other weird behaviors.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: SNMP router/switch config wizard not working
Hi Guys,
XI Version is 5.2.7
Wizard Network Switch/Router
Wizard Version is 2.3.0
The wizard is the default wizard.
It was working. the first page of the wizard shows, I enter the details for SNMP and the IP, hit next it says it's checking the device with the waiting indicator, then pops onto the next page but that is blank.
XI Version is 5.2.7
Wizard Network Switch/Router
Wizard Version is 2.3.0
The wizard is the default wizard.
It was working. the first page of the wizard shows, I enter the details for SNMP and the IP, hit next it says it's checking the device with the waiting indicator, then pops onto the next page but that is blank.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: SNMP router/switch config wizard not working
Run this command on your XI server in an SSH session:
Go and run the wizard to reproduce the problem.
Please post here the output produced in the SSH session.
Code: Select all
tail /var/log/httpd/error_log -fPlease post here the output produced in the SSH session.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: SNMP router/switch config wizard not working
The details I enter

The result from the tail
The result from the tail
Code: Select all
--base: Get Device Info on [email protected]:161::::1
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.1)
SNMPv1_Session (remote host: "10.18.2.1" [10.18.2.1].161)
community: "nagios"
request ID: -1901505832
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 651
SNMPWALK Problem for 1.3.6.1.2.1.1 on [email protected]:161::::1:v4only
at /usr/bin/cfgmaker line 951
WARNING: Skipping [email protected]:161::::1 as no info could be retrieved
Use of uninitialized value $comment_sysdescr in substitution (s///) at /usr/bin/cfgmaker line 379.
Use of uninitialized value $sysname in concatenation (.) or string at /usr/bin/cfgmaker line 412.
Use of uninitialized value $comment_sysdescr in concatenation (.) or string at /usr/bin/cfgmaker line 412.
Use of uninitialized value $syscontact in concatenation (.) or string at /usr/bin/cfgmaker line 412.
Use of uninitialized value $syslocation in concatenation (.) or string at /usr/bin/cfgmaker line 412.
[Fri Apr 29 20:40:43 2016] [error] [client 192.168.1.60] PHP Fatal error: Call to undefined function debug() in /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php on line 1143, referer: http://monitor.ucommgroup.com.au/nagiosxi/config/monitoringwizard.php?update=1&nextstep=2&nsp=2570589465d6d74eaaa485e9ec744c30&wizard=switchRe: SNMP router/switch config wizard not working
Can you grab the versions of your installed SNMP packages?
Cent/RHEL:
Also OS distro & version:
Follow-up questions:
1. You're certain that "nagios" is the configured SNMP community string?
2. Do you have any other switches or routers that you've configured successfully with the wizard?
Cent/RHEL:
Code: Select all
rpm -qa | grep snmpCode: Select all
cat /etc/*-release
or
cat /proc/version1. You're certain that "nagios" is the configured SNMP community string?
2. Do you have any other switches or routers that you've configured successfully with the wizard?
Andrew J. - Do you even grok?
Re: SNMP router/switch config wizard not working
There is a bug found in the Network Switch / Router Wizard that could be causing the error you are getting.
If you login to to your XI server and edit this file
Change line 42 from
to
Save the file out and see the Network Switch / Router Wizard works for you.
Please post back your results.
If you login to to your XI server and edit this file
Code: Select all
/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.phpCode: Select all
$snmpversion = (in_array($snmpversion, array("1", "2", "3")) ? $snmpversion : "1");Code: Select all
$snmpversion = (in_array($snmpversion, array("1", "2c", "3")) ? $snmpversion : "1");Please post back your results.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: SNMP router/switch config wizard not working
I spoke to a dev about this and there was an issue with that wizard version of 2.3.0.
Before you do any t-shooting, upgrade it to the latest version of 2.3.1 - which might just resolve this -
Admin > System Extensions > Manage Config Wizards
Before you do any t-shooting, upgrade it to the latest version of 2.3.1 - which might just resolve this -
Admin > System Extensions > Manage Config Wizards
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: SNMP router/switch config wizard not working
Thanks - should have tried this first. Assumed (as always assumptions are the cause of many issues) that the wizards get updated with nagiosXI.bwallace wrote:I spoke to a dev about this and there was an issue with that wizard version of 2.3.0.
Before you do any t-shooting, upgrade it to the latest version of 2.3.1 - which might just resolve this -
Admin > System Extensions > Manage Config Wizards
All working now as it did in the past.
Many thanks to those how replied.