Your request was not processed in a timely manner...
Re: Your request was not processed in a timely manner...
In /etc/httpd/conf.d/nagiosxi.conf are you forcing a redirect?
Former Nagios Employee.
me.
me.
-
goldmund84
- Posts: 42
- Joined: Mon Jan 06, 2014 6:48 am
Re: Your request was not processed in a timely manner...
Yes, according to the manual - https://assets.nagios.com/downloads/nag ... s%20XI.pdf
I have redirect:
Redirect permanent / https://<Your-XI-Server-Address-or-Hostname>
I have redirect:
Redirect permanent / https://<Your-XI-Server-Address-or-Hostname>
Re: Your request was not processed in a timely manner...
Can you change
Redirect permanent / https://<Your-XI-Server-Address-or-Hostname>
to
Redirect permanent / https://<Your-XI-Server-Address-or-Hostname>/
And give it a whirl?
Thanks.
Redirect permanent / https://<Your-XI-Server-Address-or-Hostname>
to
Redirect permanent / https://<Your-XI-Server-Address-or-Hostname>/
And give it a whirl?
Thanks.
Former Nagios Employee.
me.
me.
-
goldmund84
- Posts: 42
- Joined: Mon Jan 06, 2014 6:48 am
Re: Your request was not processed in a timely manner...
Hello, tryied, but with no result.
Re: Your request was not processed in a timely manner...
Lets try and run the reconfigure script as the nagios user and see if we get any errors that could help on this issue.
Run the following in a shell and post the output here.
Run the following in a shell and post the output here.
Code: Select all
cd /usr/local/nagiosxi/scripts
su nagios
./reconfigure_nagios.shBe sure to check out our Knowledgebase for helpful articles and solutions!
-
goldmund84
- Posts: 42
- Joined: Mon Jan 06, 2014 6:48 am
Re: Your request was not processed in a timely manner...
Hello,
Done, log attached. There are some warnings, maybe that causes the problem.
Done, log attached. There are some warnings, maybe that causes the problem.
You do not have the required permissions to view the files attached to this post.
Re: Your request was not processed in a timely manner...
The warnings are not causing the issue.
Can you post all of the files in this folder?
Also, can you post the /etc/sudoers file?
Can you post all of the files in this folder?
Code: Select all
/etc/httpd/conf.d/Be sure to check out our Knowledgebase for helpful articles and solutions!
-
goldmund84
- Posts: 42
- Joined: Mon Jan 06, 2014 6:48 am
Re: Your request was not processed in a timely manner...
Hello.
Here is the list of all files in apache configuration directory:
ls -la /etc/httpd/conf.d/
drwxr-xr-x. 2 root root 4096 Oct 22 14:51 .
drwxr-xr-x. 5 root root 4096 May 6 2014 ..
-rw-r--r-- 1 root root 1664 Nov 25 2014 cacti.conf
-rwxr-xr-x 1 root root 2201 May 6 2014 gestioip.conf
-rw-r--r--. 1 root root 330 Nov 12 2012 mrtg.conf
-rw-r--r--. 1 root root 1010 Aug 22 2013 nagios.conf
-rwxrwxrwx. 1 root root 601 Aug 22 2013 nagiosmobile.conf
-rw-r--r--. 1 root root 427 Aug 12 2014 nagiosql.conf
-rw-r--r-- 1 root root 848 Oct 22 14:51 nagiosxi.conf
-rw-r--r--. 1 apache apache 2148 Aug 22 2013 nagvis.conf
-rw-r--r--. 1 root root 344 Aug 22 2013 nrdp.conf
-rw-r--r-- 1 root root 1796 Apr 17 2014 perl.conf
-rw-r--r-- 1 root root 674 Aug 6 2014 php.conf
-rw-r--r--. 1 root root 392 Aug 13 2013 README
-rw-r--r-- 1 root root 9841 Sep 16 2014 ssl.conf
-rw-r--r--. 1 root root 9473 Aug 22 2013 ssl.conf.nagiosxibackup
-rw-r--r--. 1 root root 299 Aug 2 2013 welcome.conf
Or you want to see the contents of each file?
The part of sudoers file concerning nagiosxi:
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
Here is the list of all files in apache configuration directory:
ls -la /etc/httpd/conf.d/
drwxr-xr-x. 2 root root 4096 Oct 22 14:51 .
drwxr-xr-x. 5 root root 4096 May 6 2014 ..
-rw-r--r-- 1 root root 1664 Nov 25 2014 cacti.conf
-rwxr-xr-x 1 root root 2201 May 6 2014 gestioip.conf
-rw-r--r--. 1 root root 330 Nov 12 2012 mrtg.conf
-rw-r--r--. 1 root root 1010 Aug 22 2013 nagios.conf
-rwxrwxrwx. 1 root root 601 Aug 22 2013 nagiosmobile.conf
-rw-r--r--. 1 root root 427 Aug 12 2014 nagiosql.conf
-rw-r--r-- 1 root root 848 Oct 22 14:51 nagiosxi.conf
-rw-r--r--. 1 apache apache 2148 Aug 22 2013 nagvis.conf
-rw-r--r--. 1 root root 344 Aug 22 2013 nrdp.conf
-rw-r--r-- 1 root root 1796 Apr 17 2014 perl.conf
-rw-r--r-- 1 root root 674 Aug 6 2014 php.conf
-rw-r--r--. 1 root root 392 Aug 13 2013 README
-rw-r--r-- 1 root root 9841 Sep 16 2014 ssl.conf
-rw-r--r--. 1 root root 9473 Aug 22 2013 ssl.conf.nagiosxibackup
-rw-r--r--. 1 root root 299 Aug 2 2013 welcome.conf
Or you want to see the contents of each file?
The part of sudoers file concerning nagiosxi:
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/nmap *
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
Re: Your request was not processed in a timely manner...
Your /etc/sudoers file seems to be missing some entries. Can you update it to the included settings below and see if that resolves the issue?
Code: Select all
Defaults:nagios !requiretty
Defaults:apache !requiretty
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_linux_stats.pl
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
goldmund84
- Posts: 42
- Joined: Mon Jan 06, 2014 6:48 am
Re: Your request was not processed in a timely manner...
Added missing lines but with no effect (((.