Centreon: [2.7.0-RC2] the module centreon-nagvis does not work after migration

Created on 10 Dec 2015  Â·  8Comments  Â·  Source: centreon/centreon

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

Most helpful comment

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);
}

All 8 comments

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 [email protected]:

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
https://github.com/centreon/centreon/issues/3954.

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

Thanks, I am feeling better :)

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

2015-12-10 7:32 GMT+01:00 kermith72 [email protected]:

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
https://github.com/centreon/centreon/issues/3954#issuecomment-163514981.

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

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

Hello,

I close here. The problem is open in the nagvis project : https://github.com/centreon/centreon-nagvis/issues/7

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...

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);
}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tiempososcuros picture tiempososcuros  Â·  3Comments

Kevin1904 picture Kevin1904  Â·  3Comments

kabreu picture kabreu  Â·  7Comments

nailyk-fr picture nailyk-fr  Â·  3Comments

wackou72 picture wackou72  Â·  4Comments