Sorry for the delayed response, here's the output:
[root@nagios ~]# tail -100 /usr/local/nagiosxi/var/components/capacityplanning.log
for chunk in self._iterencode_dict(o, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 275, in _iterencode_dict
for chunk in self._iterencode(value, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 304, in _iterencode
yield floatstr(o, self.allow_nan)
File "/usr/lib64/python2.6/json/encoder.py", line 47, in floatstr
raise ValueError(msg)
ValueError: Out of range float values are not JSON compliant: nan
Fri, 02 Aug 2019 11:10:52 ERROR Out of range float values are not JSON compliant: nan
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 301, in main
print json.dumps(info, allow_nan=False, sort_keys=o.json_sort, indent=o.json_indent)
File "/usr/lib64/python2.6/json/__init__.py", line 237, in dumps
**kw).encode(obj)
File "/usr/lib64/python2.6/json/encoder.py", line 367, in encode
chunks = list(self.iterencode(o))
File "/usr/lib64/python2.6/json/encoder.py", line 309, in _iterencode
for chunk in self._iterencode_dict(o, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 275, in _iterencode_dict
for chunk in self._iterencode(value, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 304, in _iterencode
yield floatstr(o, self.allow_nan)
File "/usr/lib64/python2.6/json/encoder.py", line 47, in floatstr
raise ValueError(msg)
ValueError: Out of range float values are not JSON compliant: nan
Fri, 02 Aug 2019 11:10:53 ERROR Out of range float values are not JSON compliant: nan
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 301, in main
print json.dumps(info, allow_nan=False, sort_keys=o.json_sort, indent=o.json_indent)
File "/usr/lib64/python2.6/json/__init__.py", line 237, in dumps
**kw).encode(obj)
File "/usr/lib64/python2.6/json/encoder.py", line 367, in encode
chunks = list(self.iterencode(o))
File "/usr/lib64/python2.6/json/encoder.py", line 309, in _iterencode
for chunk in self._iterencode_dict(o, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 275, in _iterencode_dict
for chunk in self._iterencode(value, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 304, in _iterencode
yield floatstr(o, self.allow_nan)
File "/usr/lib64/python2.6/json/encoder.py", line 47, in floatstr
raise ValueError(msg)
ValueError: Out of range float values are not JSON compliant: nan
Fri, 02 Aug 2019 11:10:55 ERROR Out of range float values are not JSON compliant: nan
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 301, in main
print json.dumps(info, allow_nan=False, sort_keys=o.json_sort, indent=o.json_indent)
File "/usr/lib64/python2.6/json/__init__.py", line 237, in dumps
**kw).encode(obj)
File "/usr/lib64/python2.6/json/encoder.py", line 367, in encode
chunks = list(self.iterencode(o))
File "/usr/lib64/python2.6/json/encoder.py", line 309, in _iterencode
for chunk in self._iterencode_dict(o, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 275, in _iterencode_dict
for chunk in self._iterencode(value, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 304, in _iterencode
yield floatstr(o, self.allow_nan)
File "/usr/lib64/python2.6/json/encoder.py", line 47, in floatstr
raise ValueError(msg)
ValueError: Out of range float values are not JSON compliant: nan
Fri, 02 Aug 2019 11:10:55 ERROR 'NoneType' object has no attribute 'set_period'
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 201, in main
observed.set_period(o.period)
AttributeError: 'NoneType' object has no attribute 'set_period'
Fri, 02 Aug 2019 11:10:55 ERROR 'NoneType' object has no attribute 'set_period'
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 201, in main
observed.set_period(o.period)
AttributeError: 'NoneType' object has no attribute 'set_period'
Fri, 02 Aug 2019 11:10:55 ERROR 'NoneType' object has no attribute 'set_period'
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 201, in main
observed.set_period(o.period)
AttributeError: 'NoneType' object has no attribute 'set_period'
Fri, 02 Aug 2019 11:10:55 ERROR 'NoneType' object has no attribute 'set_period'
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 201, in main
observed.set_period(o.period)
AttributeError: 'NoneType' object has no attribute 'set_period'
Fri, 02 Aug 2019 11:10:55 ERROR 'NoneType' object has no attribute 'set_period'
Traceback (most recent call last):
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 308, in <module>
main()
File "/usr/local/nagiosxi/html/includes/components/capacityplanning/backend/capacityplanningCustom.py", line 201, in main
observed.set_period(o.period)
AttributeError: 'NoneType' object has no attribute 'set_period'
[root@nagios ~]#
1. What happens when you shorten the time period from 1 month to 1 week? Same output from month period, changing the period doesn't effect on the output, still the same even if changing it
2. Are you experiencing this behavior across the board or only for host OCASAD1TOOAPRE1? Nope, all Host had the same issue.
3. What error message are you getting when try to download the system profile? Can you post a screen shot of the message for us to review. Please see file attached. messeage is " Failed to retrieve zip file!"
You do not have the required permissions to view the files attached to this post.
I can confirm the data is in the database and can generate capacity graphs from it. The profile didn't contain all the information I was looking for though. Please confirm the version of XI this is as well as the version of the capacity planning component:
PROD [root@nagios ~]# head /usr/local/nagiosxi/html/includes/components/capacityplanning/CHANGES.txt
2.2.1
==================
- Fixed table pager not respecting manually overriden report settings [TPS#8208] -BH
2.2.0 - 11/30/2015
==================
- Fixed time period and extrapolation method boxes to be in the main selection area -JO
- Fixed when disabled auto-running reports is from blanking out during page changes -JO