Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

[2.7.0-RC2] the module centreon-nagvis does not work after migration #3954

Closed
kermith72 opened this issue Dec 10, 2015 · 8 comments
Closed

Comments

@kermith72
Copy link
Contributor

After migration centreon 2.6.6 to 2.7.0 RC2, the module centreon-nagvis does not work.
install-centreon-nagvis2015-12-10_07-13-12_am
there is no menu for this module

@mathieuchateau
Copy link

Hello,

do you know if backend module still works ? could you test from nagvis
directly if still able to see resources?

Cordialement,
Mathieu CHATEAU
http://www.lotp.fr

2015-12-10 7:15 GMT+01:00 kermith72 notifications@github.com:

After migration centreon 2.6.6 to 2.7.0 RC2, the module centreon-nagvis
does not work.
[image: install-centreon-nagvis2015-12-10_07-13-12_am]
https://cloud.githubusercontent.com/assets/12350746/11708256/846f751c-9f0d-11e5-8155-f6473ad0650a.png
there is no menu for this module


Reply to this email directly or view it on GitHub
centreon/centreon#3954.

@kermith72
Copy link
Contributor Author

the centreon-backend works ;-)
install-centreon-nagvis2015-12-10_07-27-38_am
install-centreon-nagvis2015-12-10_07-31-04_am
it's just the web interface is not working
regards

@mathieuchateau
Copy link

Thanks, I am feeling better :)

Cordialement,
Mathieu CHATEAU
http://www.lotp.fr

2015-12-10 7:32 GMT+01:00 kermith72 notifications@github.com:

the centreon-backend works ;-)
[image: install-centreon-nagvis2015-12-10_07-27-38_am]
https://cloud.githubusercontent.com/assets/12350746/11708456/b445bc40-9f0f-11e5-8af4-46c680f2ffdf.png
[image: install-centreon-nagvis2015-12-10_07-31-04_am]
https://cloud.githubusercontent.com/assets/12350746/11708489/0eea3022-9f10-11e5-9909-5ad45610ba45.png
it's just the web interface is not working
regards


Reply to this email directly or view it on GitHub
centreon/centreon#3954 (comment).

@qdelance
Copy link
Contributor

This is likely due to a "topology" change in 2.7.
We no longer have a View menu item (graphs have moved in monitoring menu item).
So this is probably just a matter of changing the correct parent ID (Views => Monitoring) in DB

@jdufrene
Copy link

Hello!
Do someone know what I have to change in the DB to make nagvis works with the new UI?

@querwin
Copy link
Contributor

querwin commented Dec 18, 2015

Hello,

I close here. The problem is open in the nagvis project : centreon/centreon-nagvis#7

@querwin querwin closed this as completed Dec 18, 2015
@DaStivi
Copy link

DaStivi commented Dec 21, 2015

i've tried to change the topology ...

INSERT INTO topology (topology_id, topology_name, topology_icone, topology_parent, topology_page, topology_order, topology_group, topology_url, topology_url_opt, topology_popup, topology_modules, topology_show) VALUES ('', 'Nagvis', NULL, 2, 243, 20, 1, './modules/centreon-nagvis/index.php', NULL, '0', '1', '1');

i see the nagvis link in the monitoring tab... but the page does not load anymore... same for my centreon-nagmap plugin.... the link is in the monitoring tab but the pages does not load anymore...

@DaStivi
Copy link

DaStivi commented Dec 24, 2015

i "found" the cause why the iframe is not displaying correctly.... there is some issue in the resize function... i can't track it down as i'm not aware of the jquery commands... butmay this information help someone to fix it :)

my workaround is to add the height tag in .map section... at least on load i can see the page, but it doesn't respond to resizes....

edit:
i've found another workaround... changed the function resize_map() in nagvis.ihtml file to this:
function resizeMap() {
var height = jQuery('html').height();
jQuery('#map').height(0);

/* Header */
height = height - jQuery('#header').height() - jQuery('#forMenuAjax').height();

/* Footer /
height = height - jQuery('#footer').height() - 80;
/
height = height - jQuery('#Tcontener').height();*/
jQuery('#map').height(height);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants