Page 1 of 1

Network Switch/Router Wizard failing to add router

Posted: Fri Feb 18, 2022 8:32 am
by ksafa
Hello,
I've been trying to add a router using the Network Switch/Router wizard but doesn't seem to be working correctly. I'm not seeing any update to /etc/mrtg/mrtg.cfg and the bandwidth services show "/var/lib/mrtg/*.rrd does not exist". I also see the following in /var/log/http/error_log

PHP Notice: Array to string conversion in /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php on line 944, referer: http://X.X.X.X/nagiosxi/config/monitoringwizard.php
sed: -e expression #1, char 76: unterminated `s' command

I'm currently running Nagios XI 5.4.13 which I know is probably old but this is first time I'm seeing this problem adding a router/switch.

Thanks

Re: Network Switch/Router Wizard failing to add router

Posted: Mon Feb 21, 2022 11:26 am
by ssax
You're likely hitting a bug in the old version of the wizard.

Do you have this file? If so, please PM it to me
- X.X.X.X will be the IP of the device that you are having issues with

Code: Select all

/usr/local/nagiosxi/tmp/mrtg-X.X.X.X

Re: Network Switch/Router Wizard failing to add router

Posted: Fri Feb 25, 2022 11:26 am
by ksafa
I PM'd you the file.

Thanks

Re: Network Switch/Router Wizard failing to add router

Posted: Thu Mar 03, 2022 11:01 am
by pbroste
Hello @khaled

Following up with you on this support request to let you know that @ssax is out of the office and want to have you send info to me so we see what is going on.
ssax wrote:You're likely hitting a bug in the old version of the wizard.

Do you have this file? If so, please PM it to me
- X.X.X.X will be the IP of the device that you are having issues with

Code: Select all

/usr/local/nagiosxi/tmp/mrtg-X.X.X.X
Thanks,
Perry