百度这个问题,有几个帖子未完结,本来想回复,注册了一个不够资格,未回复成功,所以记录在自己的网站了,希望能帮助到大家

http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=3673277&page=1#pid21913981


google了这个问题,原因是centreon重新装了,导致出现两个标题头,所以解决方法如下:

参考:http://forum.centreon.com/showthread.php/6356-Double-Menu-s


【问题】centreon页面双重菜单

错误伴我成长,出现双重菜单了

083922581.png


网上说是因为之前安装的centreon没有卸载完全,所以卸载掉重新来吧


【卸载centreon手册】

[root@localhostetc]# service httpd stop

[root@localhostetc]# service ndo2db stop

[root@localhostetc]# service nagios stop


-Drop centreon databases in MySQL

mysql>drop database centreon;

mysql>drop database centstatus;

mysql>drop database centstorage;

mysql>drop database ndo;


-Drop user centreon in mysql database in MySQL

mysql>drop user ndouser@'localhost';

mysql>drop user centreon@'localhost';


-Modify the file /etc/sudoers to delete Centreon's lines

[root@localhostetc]# vim /etc/sudoers

最后有一段注释的nagios的内容,十几行内容,删除

-Delete /etc/oreon.conf or /etc/centreon.conf

[root@localhosttools]# find / -name centreon.conf

/etc/httpd/conf.d/centreon.conf

[root@localhosttools]# rm -rf /etc/httpd/conf.d/centreon.conf


-Delete file centreon.conf in nagios/libexec directory

[root@localhosttools]# rm -rf /usr/local/nagios/libexec/centreon.conf

-Modify nagios's crontab to remove centreon's commands

是这个吗?

[root@localhosttools]# su - nagios

[nagios@localhost~]$ crontab -l

nocrontab for nagios


-Delete the ods init script

[root@localhosttools]# rm -rf /etc/init.d/cent*


-Deletecentreon file

[root@localhosttools]# rm -rf centreon-2.1.8



按照原来的方法从新来过一遍(7、安装centreon最新版本,2.4.3),好使了,菜单栏重复问题解决了,看来今天人品不错,找到的内容都有帮助。

083923924.png