Fail XI monitoring wizard on CentOS 5.2.5

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Fail XI monitoring wizard on CentOS 5.2.5

Post by bheden »

Welp, as it turns out, I was wrong. If the last portion of the array is not exactly 40 characters, then absolutely nothing happens. If you update that block of code to the following, it should resolve your issues:

Code: Select all

            // Determine wizard directory/file name
            $cdir = system("ls -1 ".$tmpdir."/");
            $cname = $cdir;
            if (strlen($cdir) > 40) {
                $a = explode('-', $cdir);
                if (strlen(end($a)) == 40) {
                    $i = count($a);
                    unset($a[$i-1]);
                    unset($a[$i-2]);
                    $cname = implode('-', $a);
                }
            }
Sorry about that! :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

Re: Fail XI monitoring wizard on CentOS 5.2.5

Post by ankit_bansal3 »

But its impacting our console, below is our wizard name.

"Dell_OpenManage_NagiosXI_monitoring_wizard"
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Fail XI monitoring wizard on CentOS 5.2.5

Post by bheden »

The fix that I supplied previously should fix that!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
Locked