Almost all Links on Core Config Manager page not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Almost all Links on Core Config Manager page not working

Post by ejlorson »

Running XI 5.4.8 on CentOS instance in AWS.

I started to install cacti on our XI server (installed cacti and php-pear-Net-SNMP). I then added the cacti table to the DB. When I got to the SNMP configuration I saw that cacti does not support SNMPv3 (which is mandatory in our environment), so I uninstalled cacti and php-pear-Net-SNMP.

Since then most of the links on the CCM page do not work. The links in Quick Tools and a few in Tools work, but none of the links in Monitoring, Alerting, Templates, Commands, Advances, or CCM Admin work. When I click a dead link the page goes blank and it does not even seem like it is going out to get the page.

All the links on the other pages seems to be working (Home, Views, etc) , and I can see in the Home page that it is still monitoring all our hosts, but I cannot do any configuration.

When I cut and paste a non-working link from the menu (E.G.: Monitoring -> Services) I get the following error in the browser:
"This page isn’t working
REDACTED is currently unable to handle this request.
HTTP ERROR 500"

I need some help - I am not sure what to do to resolve this.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Almost all Links on Core Config Manager page not working

Post by scottwilkerson »

Do you still have the cacti configuration in the httpd config directory? This could be causing problems. Remove file and restart httpd

Code: Select all

service httpd restart
I would also check to see if there is any info in the httpd error log

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Re: Almost all Links on Core Config Manager page not working

Post by ejlorson »

What is the name of the file to remove and where is it?

I went to /etc/httpd/conf.d/ and there is no cacti.conf file or anything similar.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Almost all Links on Core Config Manager page not working

Post by dwhitfield »

That would be the one. Did you restart httpd after you removed it?
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Re: Almost all Links on Core Config Manager page not working

Post by ejlorson »

There was not cacti.conf file to remove - it was not there to begin with.

I did restart httpd.conf more than once.
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Re: Almost all Links on Core Config Manager page not working

Post by ejlorson »

I went back in and double-checked. There are no cacti files on my whole system.

I restarted httpd and nagios as well. There are no errors in the log file either.

I really need some help here. I cannot make any monitoring or alerting changes at all.
ejlorson
Posts: 27
Joined: Thu Jul 27, 2017 6:55 am

Re: Almost all Links on Core Config Manager page not working

Post by ejlorson »

I wound up backing up my instance and re-installing Nagios, which resolved my problem. It is not the best solution, but you can close this out because I can't spend more time on it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Almost all Links on Core Config Manager page not working

Post by scottwilkerson »

Was just going to ask for your httpd configs, but I'm glad you got it working form a backup.

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked