Nagiosxi restore issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagiosxi restore issue

Post by jsimon »

Do you see any errors in the browser console or network tab? If you haven't checked this already, I would recommend clearing the network tab and trying to load the performance graphs or any other page element that isn't loading. Let us know if you see any network requests that are in error state, this could be helpful in diagnosing the issue here.

In addition, if you could run this grep on your XI server:

Code: Select all

grep VERSION /usr/local/nagios/libexec/process_perfdata.pl
This would be helpful in making sure the issue isn't the version of your process.perfdata.pl file.
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: Nagiosxi restore issue

Post by elinagios »

Current live, centos 7:
grep VERSION /usr/local/nagios/libexec/process_perfdata.pl
XML_STRUCTURE_VERSION => "4",
VERSION => "0.6.11",
print_log( "process_perfdata.pl-$const{VERSION} starting in INETD Mode", 1 );
print_log( "process_perfdata.pl-$const{VERSION} starting in BULK Mode called by Nagios", 1 );
print_log( "process_perfdata.pl-$const{VERSION} starting in BULK Mode called by NPCD", 1 );
print_log( "process_perfdata.pl-$const{VERSION} starting in SYNC Mode", 1 );
printf( XML " <VERSION>%d</VERSION>\n", $const{'XML_STRUCTURE_VERSION'} );
print "Version: process_perfdata.pl $const{VERSION}\n";

New Redhat 9, clean Nagios install + restore:
grep VERSION /usr/local/nagios/libexec/process_perfdata.pl
VERSION => "0.4.14",
print_log( "process_perfdata.pl-$conf{VERSION} starting in INETD Mode", 1 );
print_log( "process_perfdata.pl-$conf{VERSION} starting in BULK Mode called by Nagios", 1 );
print_log( "process_perfdata.pl-$conf{VERSION} starting in BULK Mode called by NPCD", 1 );
print_log( "process_perfdata.pl-$conf{VERSION} starting in DEFAULT Mode", 1 );
print "Version: process_perfdata.pl $conf{VERSION}\n";

Not sure how it is that the new clean Nagios install with same version as the live, comes with older versions of files? :S Can i replace the file taken from the live, the newer version?

Regarding the tabs being empty, when i check the network tools on browser, network tab doesnt give any errors, but console tab shows these 2 errors when i open one of the tabs:
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.

Uncaught Error: jQuery UI Tabs: Mismatching fragment identifier.
jQuery 14
<anonymous> http://ipaddress/nagiosxi/includes/js/c ... 4441807:18
jQuery 13
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagiosxi restore issue

Post by jsimon »

Yes, I would recommend replacing the older perfdata file with the newer one, that was going to be my follow up suggestion in the event the file was an old version. Basically when you do an upgrade->migrate process, some of your config files are moved over to preserve functionality. If you have done progressive upgrades to an existing system, sometimes these files continue to be propagated and need to be replaced.

As for the console errors, I don't believe the "zoom" error is related to the host/service data. The JQuery UI issue could be related to internal caching, if you use any proxy service or anything like that. I would recommend replacing that perfdata file, and possibly clearing your browser's cache and trying again. It would be good to know if the issue persists after replacing that file before taking more troubleshooting steps.
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: Nagiosxi restore issue

Post by elinagios »

Ok, the perfdata issue is now resolved.

The empty tabs problem still remains even after i changed the perfdata file, tried clearing browser cache, still there are the same errors when looking with browser dev tools.
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagiosxi restore issue

Post by jsimon »

Glad we got the perfdata issue resolved, at least! For the empty tab issue, I am curious what browser you're using to access XI. This sounds like an error with the html selector being used to access that tab, and short of browser compatibility issues, this sounds very odd! If you are not using an officially supported browser (Chrome, Firefox, or Edge), I would recommend giving this another try there. If that isn't it, I'm going to recommend opening a ticket with our support team, for more hands on help, as I believe this problem is specific to your situation.

https://answerhub.nagios.com/support/s/
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: Nagiosxi restore issue

Post by elinagios »

I have tried all those 3 browsers, cache cleared, incognito mode, result is the same.
At the moment the restored server have no name record and im accessing it via IP address, could this be an issue? Thou i tried accessing our dev env with IP, there everything works with IP also (thou it has ptr pointer).
Second thing i tried is that on the restored server service checks are disabled, disabled those in dev too, but dev doesnt loose the tabs after that.
So any more ideas what to check/try before i open a ticket?
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Nagiosxi restore issue

Post by jsimon »

I don't believe the IP address would be the issue with the tabs missing. Given the troubleshooting steps you've taken so far, I don't have any other recommendations coming to mind, I do think you should go ahead with opening a ticket.
Post Reply