No data to display nonetype object has no attribute text
No data to display nonetype object has no attribute text
Hello,
Upgraded to R2.1 and I'm having issues with the capacity planner. "No data to display nonetype object has no attribute text" is shown in each graph.
Grtz
Willem
Upgraded to R2.1 and I'm having issues with the capacity planner. "No data to display nonetype object has no attribute text" is shown in each graph.
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: No data to display nonetype object has no attribute text
I checked this on two 2.1 servers, upgraded from 2.0, not able to reproduce it yet. Can you provide the output of:
While trying to access a page with those graphs? Then show us what the output is? Thanks!
Code: Select all
tail -f /var/log/httpd/error_log
Re: No data to display nonetype object has no attribute text
Sam,
Nothing to see in the error log.
Grtz
Willem
Nothing to see in the error log.
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No data to display nonetype object has no attribute text
For clarity is this every graph, or just those for your host checks?
Can you load all the graphs for a specific host and see other items?
Something has me thinking I remember this being part of a specific check adding additional performance metrics, e.g. check_ping or check_icmp
Can you load all the graphs for a specific host and see other items?
Something has me thinking I remember this being part of a specific check adding additional performance metrics, e.g. check_ping or check_icmp
Re: No data to display nonetype object has no attribute text
It's only in the capacity planner graphs of host and services. Other graphs work fine.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: No data to display nonetype object has no attribute text
Hello Willem,
It looks like what you are seeing is the python backend not able to get both warning/critical values. We confirmed it here and have fixed the component. It'll be in the next release but I've attached it for you to update on your system. You should be able to do it through the web UI.
It looks like what you are seeing is the python backend not able to get both warning/critical values. We confirmed it here and have fixed the component. It'll be in the next release but I've attached it for you to update on your system. You should be able to do it through the web UI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: No data to display nonetype object has no attribute text
I'm on holiday, so I can only upgrade from 05/01. Or do you recommend updating asap?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: No data to display nonetype object has no attribute text
When possible we would recommend upgrading to the just released 2014R2.2 which would include this fix as well as a patch to Nagios Core that could cause a notification to fail if your plugin returned LONGHOSTOUTPUT or LONGSERVICEOUTPUT that contained chars that need to be escaped, e.g. "()
This bug has been around for 9 months but it could cause missed notifications in certain circumstances
This bug has been around for 9 months but it could cause missed notifications in certain circumstances
Re: No data to display nonetype object has no attribute text
It looks like we needed to do a couple more changes to get all the issues with this component resolved so I am giving you a 2.1.8 version of the component.
You may need to extract it into the capacityplanning folder and do a chmod +x on the backend folder... something like
unzip -o /tmp/capacityplanning.zip -d /usr/local/nagiosxi/html/includes/components/
chmod +x -R /usr/local/nagiosxi/html/includes/components/capacityplanning/backend
You may need to extract it into the capacityplanning folder and do a chmod +x on the backend folder... something like
unzip -o /tmp/capacityplanning.zip -d /usr/local/nagiosxi/html/includes/components/
chmod +x -R /usr/local/nagiosxi/html/includes/components/capacityplanning/backend
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: No data to display nonetype object has no attribute text
Hello,
Just updated our QA and PR to 2.3 and the capacity planner seems to work again. Thread can be closed.
Thanks!!
Grtz
Willem
Just updated our QA and PR to 2.3 and the capacity planner seems to work again. Thread can be closed.
Thanks!!
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net