|
|
| Author |
Message |
Elvis
Joined: 13 Jun 2008 Posts: 2
|
Posted: Tue Jun 17, 2008 1:48 am Post subject: reply Error msg with aggregate 0.65 , cacti 0.8.7b ... |
|
|
| gandalf wrote: | Please find V0.66 attached to first post of this thread.
Reinhard |
Not sure if this reply was on my post but I installed it anyway since I was using 0.65 but i am still having problems with the same error message:
PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'C:\Apache\htdocs\cacti\lib\adodb\adodb-lib.inc.php' LINE NO:'537'
copy of line 537 = $recordSet =& new $rsclass(-1,$zthis->fetchMode);
Thanks in advance
Elvis
|
|
| Back to top |
|
 |
super-hornet Cacti User
Joined: 27 May 2007 Posts: 144
|
Posted: Tue Jun 17, 2008 4:08 am Post subject: |
|
|
Hi Gandalf
On your first page, u state:
Installation:
- tar -zxf into ./plugins/aggregate folder
- change ./include/config.php to add the plugins line for "aggregate", as usual
No more need to manually import the table sql
Ain't it suppose to be:
"- change ./include/global.php to add the plugins line for "aggregate", as usual" ?
BTW, thanks for the new updates.
I not sure whether this new version will fix a problem that I encounter on 0.64.
On 0.64, when I create a new aggregate graphs (from 'A', 'B', and 'C') for example. Then if I go and modify the 'A' or 'B' or 'C' graph template like changing the color or the title, the aggregate graph contents will go out of position/sequence.
SH
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Wed Jun 18, 2008 2:14 pm Post subject: |
|
|
| super-hornet wrote: | Hi Gandalf
On your first page, u state:
Installation:
- tar -zxf into ./plugins/aggregate folder
- change ./include/config.php to add the plugins line for "aggregate", as usual
No more need to manually import the table sql
Ain't it suppose to be:
"- change ./include/global.php to add the plugins line for "aggregate", as usual" ? | Bad me. You're correct, at least for 087. For 086, it's still config.php
| Quote: | I not sure whether this new version will fix a problem that I encounter on 0.64.
On 0.64, when I create a new aggregate graphs (from 'A', 'B', and 'C') for example. Then if I go and modify the 'A' or 'B' or 'C' graph template like changing the color or the title, the aggregate graph contents will go out of position/sequence. |
No. It's not mentioned in the CHANGELOG and it's not yet done. I acknowledge it as a bug, that's for sure.
Reinhard
|
|
| Back to top |
|
 |
newifu
Joined: 23 Jun 2008 Posts: 8
|
Posted: Mon Jun 23, 2008 12:02 pm Post subject: nothing shown after installing aggregate 0.66 |
|
|
cacti 0.87b
PA 2.1
nothing shown under graph managemen and user managerment. no error message.
I tried some other plugins such as weatehrmap snd network toolsand they show up.
Is there anything I miss?
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Mon Jun 23, 2008 2:24 pm Post subject: |
|
|
Please do not crosspost; answered to the other thread
Reinhard
|
|
| Back to top |
|
 |
sneakymonkey
Joined: 22 Jan 2008 Posts: 10 Location: Manchester, UK
|
Posted: Wed Jul 02, 2008 5:19 am Post subject: |
|
|
i've installed PA 2.1/Aggregate 0.66 and running CACTI 8.7b. i've followed all installation steps and all have been sucessful except when i try to aggregate two graphs together i get the below error over the page;
| Code: | | PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374' |
*also see attached screenshot showing this*
the permissions on my cacti.log are;
| Code: | oot@cacti:/www/htdocs/cacti/log# ls -las
total 5792
4 drwxr-xr-x 2 cactiuser root 4096 2008-07-02 10:21 ./
4 drwxr-xr-x 15 root root 4096 2008-07-01 14:33 ../
4 -rw-r--r-- 1 cactiuser root 33 2008-02-12 00:57 .htaccess
5740 -rw-r--r-- 1 cactiuser cacti 5861482 2008-07-02 11:10 cacti.log
40 -rw-r--r-- 1 cactiuser cacti 39166 2008-07-02 11:10 cron.log
|
when i try to ignore the message and procceed and confirm the aggregate graph i get;
| Code: |
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'/www/htdocs/cacti/lib/adodb/adodb-lib.inc.php' LINE NO:'537'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374'
PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/www/htdocs/cacti/log/cacti.log) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/www/htdocs/cacti/lib/functions.php' LINE NO:'374' |
Any help/updates?
Thanks
| Description: |
|
| Filesize: |
125.66 KB |
| Viewed: |
3300 Time(s) |

|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Wed Jul 02, 2008 9:57 am Post subject: |
|
|
Ok. It seems that this plugin writes messages to cacti.log running as a httpd.
Either allow httpd to update cacti.log (which, I have to agree, is not a recommended practise) or make me change the logging. Bah. Shame on me
Reinhard
|
|
| Back to top |
|
 |
sneakymonkey
Joined: 22 Jan 2008 Posts: 10 Location: Manchester, UK
|
Posted: Thu Jul 03, 2008 2:02 am Post subject: |
|
|
Thanks. i've changed my /www/htdocs/cacti/log/.htaccess to show;
| Code: |
Order allow,deny
Allow from all
|
this stops the permission issues but when i try confirm and generate the graphs i'm still left with;
| Code: |
PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'/www/htdocs/cacti/lib/adodb/adodb-lib.inc.php' LINE NO:'537'
|
Thanks again.
|
|
| Back to top |
|
 |
sneakymonkey
Joined: 22 Jan 2008 Posts: 10 Location: Manchester, UK
|
Posted: Thu Jul 03, 2008 3:48 am Post subject: |
|
|
*FYI* for anyone following. ignoring this message is fine and the graph will be generated.
Though i have had a run in with the corruption of the original graphs.. i think if you look earlier through this post like on page 3/4 you will find what i'm on about.
Thanks for your help Gandalf.
|
|
| Back to top |
|
 |
eschoeller Cacti User
Joined: 13 Dec 2004 Posts: 105
|
Posted: Thu Jul 10, 2008 5:15 pm Post subject: |
|
|
I apologize if this has been discussed before ... Is there a way to define additional color templates?
Thanks.
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Fri Jul 11, 2008 3:12 pm Post subject: |
|
|
Sure. It's just the usual "Add" thingy from menu "Color Templates"
Reinhard
|
|
| Back to top |
|
 |
eschoeller Cacti User
Joined: 13 Dec 2004 Posts: 105
|
Posted: Tue Jul 15, 2008 1:24 pm Post subject: |
|
|
Well, I've been madly clicking around (My favorite cacti activity) I have no clue where the Color Templates menu is, but I'm sure it's right under my nose. Any more hints?
Thnx.
EDIT: I noticed that I'm running .64, so I tried to upgrade to .66 in my test enviornment (087b PA 2.0) and "Create Aggregate Graph" Disappeared.. So I'm back on .64 again.
|
|
| Back to top |
|
 |
eschoeller Cacti User
Joined: 13 Dec 2004 Posts: 105
|
Posted: Tue Jul 15, 2008 2:56 pm Post subject: |
|
|
Just an FYI, it doesn't seem like Aggregate graphs export correctly, when using the Graph Export feature. The graphs are created and exported, but the tree/html code doesn't link to the generated graphs correctly.
Should I file a bug report for this?
|
|
| Back to top |
|
 |
zivley
Joined: 13 Nov 2007 Posts: 47
|
Posted: Mon Jul 28, 2008 4:07 am Post subject: |
|
|
Hi Gandalf,
May I know where can I download the latest and most fixed aggregate plugin? I've been reading the 18 pages of this thread and there are a lot of problems and fixes and I've lost focus, is the first post still the source for the plugin? What's the status of it? known bugs or issues, etc?
Thanks,
Ziv
|
|
| Back to top |
|
 |
gninja Cacti User
Joined: 24 Aug 2004 Posts: 293 Location: San Francisco, CA
|
Posted: Wed Aug 06, 2008 6:10 pm Post subject: |
|
|
Is there any interest, or thought, towards having automated aggregate graphs?
What's coming up a lot for me, is that we have aggregated graphs of, for example, the slave lag for all the databases in one database cluster.
But we move hosts in/out of that cluster all the time, so every few weeks, I need to regenerate the aggregate graphs.
What would be great, if there was a way to say "Generate this aggregate graph, with this template, including all data sources that have this datasource template"
It could be automatic on graph view... It could be rebuilt on a cron... Not sure what the best way to do it is.. Any thoughts Gandalf? If this isn't something you're working on, or interested in working on, I'll look into doing it myself.
|
|
| Back to top |
|
 |
|