Re: Setting up Cacti
Posted: Mon Dec 14, 2015 5:20 pm
That setting most likely is not present in the httpd config file. You can add it in like so:
LimitRequestLine 12285
LimitRequestLine 12285
Support for Nagios products and services
https://support.nagios.com/forum/
Even after adding that parameter, I am unable to download the graph.tmcdonald wrote:That setting most likely is not present in the httpd config file. You can add it in like so:
LimitRequestLine 12285
Code: Select all
grep LimitRequestLine /etc/httpd/conf/httpd.conf
LimitRequestLine 12285
Code: Select all
http://10.10.83.90/nagiosxi/index.php
Couldn't create temporary file. Check that the directory permissions for the /temp directory are set to 777.Code: Select all
tail -20 /var/log/httpd/error_log
[Mon Dec 14 17:23:34 2015] [error] [client 172.30.245.235] PHP Notice: Undefined variable: home_id in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 283
[Mon Dec 14 17:23:34 2015] [error] [client 172.30.245.235] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 285
[Mon Dec 14 17:23:34 2015] [error] [client 172.30.245.235] PHP Notice: Undefined variable: home in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 289
[Mon Dec 14 17:23:35 2015] [error] [client 172.30.245.235] PHP Notice: Undefined variable: home_id in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 283, referer: http://10.10.83.90/nagiosxi/
[Mon Dec 14 17:23:35 2015] [error] [client 172.30.245.235] PHP Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 285, referer: http://10.10.83.90/nagiosxi/
[Mon Dec 14 17:23:35 2015] [error] [client 172.30.245.235] PHP Notice: Undefined variable: home in /usr/local/nagiosxi/html/includes/utils-dashboards.inc.php on line 289, referer: http://10.10.83.90/nagiosxi/
[Mon Dec 14 17:23:35 2015] [error] [client 172.30.245.235] PHP Notice: Undefined index: background in /usr/local/nagiosxi/html/includes/page-home-main.php on line 55, referer: http://10.10.83.90/nagiosxi/
[Mon Dec 14 21:08:48 2015] [error] [client 10.10.80.31] File does not exist: /var/www/html/robots.txt
[Tue Dec 15 01:17:30 2015] [notice] caught SIGTERM, shutting down
[Tue Dec 15 01:17:31 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 15 01:17:31 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 15 01:17:31 2015] [notice] Digest: done
[Tue Dec 15 01:17:31 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Dec 15 01:20:17 2015] [error] [client 172.30.245.212] PHP Warning: file_put_contents(temp/be476f35d68998b2093d523a102f5796.svg): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/index.php on line 73, referer: http://10.10.83.90/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=A1WUSSVPDOMC02.fossil.com&service=CPU+Usage&dest=auto
[Tue Dec 15 01:21:24 2015] [error] [client 172.30.245.212] PHP Warning: file_put_contents(temp/9a4a897255a2befb3dacd76729ea3f9c.svg): failed to open stream: Permission denied in /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/index.php on line 73, referer: http://10.10.83.90/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=A1WUSSVPDOMC02.fossil.com&service=CPU+Usage&dest=auto
[Tue Dec 15 01:22:46 2015] [notice] caught SIGTERM, shutting down
[Tue Dec 15 01:22:46 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 15 01:22:46 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 15 01:22:46 2015] [notice] Digest: done
[Tue Dec 15 01:22:46 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
You have new mail in /var/spool/mail/root
Code: Select all
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
ls -l /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/tempHi sasx,ssax wrote:What is the output of these commands:
Thank youCode: Select all
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp ls -l /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
Code: Select all
[root@lussvpnagiosxi00 conf.d]# ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
drwxr-x---. 2 nagios nagios 4096 Nov 30 06:14 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
[root@lussvpnagiosxi00 conf.d]# ls -l /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
total 0
Code: Select all
chmod 770 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/tempHi Ssax,ssax wrote:Please run this command:
Let us know if that fixes the problem for you.Code: Select all
chmod 770 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
Code: Select all
Error while converting SVG.
raamardhani7 wrote:Hi Ssax,ssax wrote:Please run this command:
Let us know if that fixes the problem for you.Code: Select all
chmod 770 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
Permissions issues sorted, new problem now.
Code: Select all
Error while converting SVG.
Code: Select all
chmod 770 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/