Not able to use Capacity Planning Component of Reports
Posted: Thu Feb 10, 2022 7:53 am
All,
I am unable to use the Capacity Planning Component of Nagios XI. Below is the error obtained from /var/log/httpd/error_log.
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanning.py", line 25, in <module>
filemode='a')
File "/usr/lib64/python2.7/logging/__init__.py", line 1529, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/usr/local/nagiosxi/var/components/capacityplanning.log'
FIle /usr/local/nagiosxi/var/components/capacityplanning.log' has adequate permissions ownership nagios:nagios and the permissions I changed to RWXRWXRWX.
Any ideas of why this is?
Thank you,
I am unable to use the Capacity Planning Component of Nagios XI. Below is the error obtained from /var/log/httpd/error_log.
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanning.py", line 25, in <module>
filemode='a')
File "/usr/lib64/python2.7/logging/__init__.py", line 1529, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/usr/local/nagiosxi/var/components/capacityplanning.log'
FIle /usr/local/nagiosxi/var/components/capacityplanning.log' has adequate permissions ownership nagios:nagios and the permissions I changed to RWXRWXRWX.
Any ideas of why this is?
Thank you,