Existing Custom Operations Screen

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Existing Custom Operations Screen

Post by blariv »

Hi,

I had posted earlier about the XI5 upgrade. I installed a fresh copy then tried to import my custom OPS screen that was designed through Nagios. Unfortunately it did not work. How do I go about getting this re-engineered so it will work with the latest XI version?

Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Existing Custom Operations Screen

Post by rkennedy »

Just to make sure, are you referring to this thread? https://support.nagios.com/forum/viewto ... 35#p197135

With the process you did, it will only be moving over your configuration files, and not all of the other data.

To help get things on track, how was the custom OPS screen built? Is it a dashboard, or an external page? Could you show us a screenshot from the old system?
Former Nagios Employee
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Existing Custom Operations Screen

Post by blariv »

yes I am referring to that thread, sorry!

I think i need help with getting everything from my existing system over to a new system.

the screen config is attached.

are there paid services I can get to do the move?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Existing Custom Operations Screen

Post by lmiltchev »

Try the following "workaround".

1. Backup the original file "/usr/local/nagiosxi/html/includes/components/opscreen/opscreen.php".

Code: Select all

cp -p /usr/local/nagiosxi/html/includes/components/opscreen/opscreen.php /usr/local/nagiosxi/html/includes/components/opscreen/opscreen.php.orig
2. Open the "/usr/local/nagiosxi/html/includes/components/opscreen/opscreen.php" in a text editor, and change this line (around line 9):

Code: Select all

<script type="text/javascript" src="../../js/jquery/jquery-1.8.2.min.js">
to this:

Code: Select all

<script type="text/javascript" src="../../js/jquery/jquery-1.11.2.min.js">
Save, exit, and restart httpd:

Code: Select all

service httpd restart
Try accessing the "Operations Screen" again. Did it work this time?
Be sure to check out our Knowledgebase for helpful articles and solutions!
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Existing Custom Operations Screen

Post by blariv »

awesome! worked like a charm.

any idea how I can migrate all perf data over too?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Existing Custom Operations Screen

Post by lmiltchev »

You should be able to just copy over the RRDs and XMLs to "/usr/local/nagios/share/perfdata/" directory. If you are however changing the architecture, you will need to follow the steps, outlined in our "Nagios XI - Migrate Performance Data" KB article here:
https://support.nagios.com/kb/article.php?id=166
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Existing Custom Operations Screen

Post by Box293 »

You can also use this tool I created called the Performance Data Tool for migrating performance data.

http://exchange.nagios.org/directory/Ad ... ol/details

Upload it into Nagios XI via Admin > System Extensions > Manage Components.

Access it via the Tools menu.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked