Server Performance Report not showing Graph

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Server Performance Report not showing Graph

Postby marcoe » Tue Feb 22, 2011 5:26 pm

Hi,

I noticed from a few versions back that the Server Performance Report was not showing the bottom graph. The server performance flag on Admin->Servers is set to "Y" and the text data is displayed.

By looking a bit deeper I found that for some reason the report expects the pl executable to be in /usr/local/bin and it really is in /usr/bin.

So I altered the report for the correct path and it worked ok, but I don't think this problem should be corrected on the report, right ? My simple guess is that Vicibox is installing it on the wrong path.

This happened on Vicibox 3.1.6 ISO, Vicidial VERSION: 2.4-297 BUILD: 110124-1134, I didn't have a chance to test it on newer versions, but I'll post back here as soon as possible, but if someone with a newer version could verify this it would help.

Thanks
marcoe
 
Posts: 60
Joined: Tue Feb 23, 2010 2:06 pm
Location: Brazil

Postby Kumba » Tue Feb 22, 2011 7:32 pm

Blah. I'll fix it in the next release.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby williamconley » Tue Feb 22, 2011 7:34 pm

that's cool. can you create a diff and post it to the VICIDIAL Issue Tracker and post a link to it back here? I'm not sure if Kumba works off that link or if this is actually a vicidial base issue ... but it is a great catch. 8)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby williamconley » Tue Feb 22, 2011 7:37 pm

LOL. I guess that answers that!

but DO post the exact fix for those who are interested before Kumba gets to it 8)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby marcoe » Wed Feb 23, 2011 7:36 am

OK, here it is :
http://www.vicidial.org/VICIDIALmantis/view.php?id=453

Thanks Kumba and William
marcoe
 
Posts: 60
Joined: Tue Feb 23, 2010 2:06 pm
Location: Brazil

Postby actiondave » Fri Nov 04, 2011 2:01 pm

is this still an issue? I show text stats but no graph with version:

Redux.x86_64-3.1.12
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm

Postby williamconley » Fri Nov 04, 2011 2:37 pm

did you change the graph selection choice to "yes"?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby actiondave » Fri Nov 04, 2011 2:53 pm

Is that in the server settings?

Im reading page 169 in the manual. The only thing it mentions is to make sure the System Performance Setting set to Y

William, hopefully i can give back to the community after getting this setup properly and in production. About ~2-3 weeks / 24 agents

And get rid of the dialer we are currently using
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm

Postby williamconley » Fri Nov 04, 2011 5:04 pm

nope. that's on the page. when you submit the request to generate the report, that is an 'option' that must be set to yes to get the graph. right on the page.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby actiondave » Fri Nov 04, 2011 5:45 pm

Weird, I don't see that option in this report.

Image

With some output:

Image
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm

Postby williamconley » Fri Nov 04, 2011 6:35 pm

Apologies! I thought we were talking about the Campaign VDAD report.

I believe this bug is still in place after a fashion ... although it is obviously a work in progress. The server performance page has a bug view executable of the report graphic generator.

If you "view source" you will find something like this:

Code: Select all
echo "<!-- /usr/bin/local/pl -png $DOCroot/$HTMfile -o $DOCroot/$PNGfile -->";
(actually, you'll find the real output, as it will have been processed by php and the resulting html file will have real data in it).

I modified my version by removing the "local" as previously suggested (after creating a link to the bin from the local and having it still fail!). The result was informative, so I executed it manually to see the results ... which indicates the bug lives:

Code: Select all
/usr/bin/pl -png /srv/www/htdocs/vicidial/ploticus//1XX.XXX.XX.XX2011-11-04_191630.htm -o /srv/www/htdocs/vicidial/ploticus//XX.XXX.XX.XX2011-11-04_191630.png
pl proc areadef: error 105: both min and max expected (xrange)
pl proc areadef: error 10: cannot set up plotting area .. likely culprits: bad xrange or yrange, or bad area rectangle

I note also that the htm files refer to the .dat files ... and the dat files are all 0 length.
Last edited by williamconley on Fri Nov 04, 2011 10:07 pm, edited 1 time in total.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby actiondave » Fri Nov 04, 2011 6:51 pm

No worries...thanks for the information.

You are always very helpful
New Setup:Vicibox Redux.x86 64-4.0.3
Database/Webserver - Asus KFSN4-DRE/SAS | 2x AMD Opteron 2356 Quad Core |8GB RAM

Telephony Server: HP Proliant DL380 G5 - 2x 2.5GHz Xeon Quad Core - 16GB RAM

Archive Server - 1.7GHz (recordings)
actiondave
 
Posts: 63
Joined: Mon Jun 20, 2011 9:46 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 83 guests