No data to display nonetype object has no attribute text

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

No data to display nonetype object has no attribute text

Post by WillemDH »

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
Nagios XI 5.8.1
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

Post by slansing »

I checked this on two 2.1 servers, upgraded from 2.0, not able to reproduce it yet. Can you provide the output of:

Code: Select all

tail -f /var/log/httpd/error_log
While trying to access a page with those graphs? Then show us what the output is? Thanks!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: No data to display nonetype object has no attribute text

Post by WillemDH »

Sam,

Nothing to see in the error log.

Grtz

Willem
Nagios XI 5.8.1
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

Post by scottwilkerson »

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: No data to display nonetype object has no attribute text

Post by WillemDH »

It's only in the capacity planner graphs of host and services. Other graphs work fine.
Nagios XI 5.8.1
https://outsideit.net
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: No data to display nonetype object has no attribute text

Post by jomann »

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: No data to display nonetype object has no attribute text

Post by WillemDH »

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
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

Post by scottwilkerson »

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: No data to display nonetype object has no attribute text

Post by jomann »

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 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.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: No data to display nonetype object has no attribute text

Post by WillemDH »

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
Nagios XI 5.8.1
https://outsideit.net
Locked