Centreon Forum  

Go Back   Centreon Forum > Centreon Devel > Centreon 2.x

Centreon 2.x For centralising all questions and suggestions about centreon 2.

Reply
 
Thread Tools Display Modes
  #11  
Old 10th February 2010
talirk81 talirk81 is offline
Junior Member
Oreonistes
 
Join Date: Feb 2010
Posts: 8
Default

Actually there is some buggery going on with the saving curves. Ill post a new patch once ive figured it out....

Last edited by talirk81; 10th February 2010 at 20:55.
Reply With Quote
  #12  
Old 10th February 2010
talirk81 talirk81 is offline
Junior Member
Oreonistes
 
Join Date: Feb 2010
Posts: 8
Default

Fixed in lasted copy... replaced old attachment also.
Attached Files
File Type: zip 2.1.4_Stack.patch.v2(FIXED).zip (8.7 KB, 10 views)
Reply With Quote
  #13  
Old 22nd February 2010
gueutzilla gueutzilla is offline
Senior Member
Habituated
 
Join Date: Jan 2009
Posts: 109
Default

Thank you for this patch ;o)

I have download your lastest patch and apply it but when I want to save "curve" I have a white page and my stack option was not save...

Any idee?


Thanks for your help ;o)

PS: I think it's necessary to include this feature in the future version if possible...
Reply With Quote
  #14  
Old 22nd February 2010
talirk81 talirk81 is offline
Junior Member
Oreonistes
 
Join Date: Feb 2010
Posts: 8
Default

Quote:
Originally Posted by gueutzilla View Post
Thank you for this patch ;o)

I have download your lastest patch and apply it but when I want to save "curve" I have a white page and my stack option was not save...

Any idee?


Thanks for your help ;o)

PS: I think it's necessary to include this feature in the future version if possible...


Did you:


Then run:
* Be sure to replace centreon with your centron DB name, and use -u -p if required for alter access *
mysql centreon -e "ALTER TABLE `giv_components_template` ADD `host_id` INT( 11 ) NULL AFTER `compo_id`";
mysql centreon -e "ALTER TABLE `giv_components_template` ADD `service_id` INT( 11 ) NULL AFTER `host_id`";
mysql centreon -e "ALTER TABLE `giv_components_template` ADD `ds_stack` ENUM( '0', '1' ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL AFTER `name`";



If so check out your apache logs and let me know what it and your php error logs say. Im better you didnt add the columns to the database.
Reply With Quote
  #15  
Old 22nd February 2010
gueutzilla gueutzilla is offline
Senior Member
Habituated
 
Join Date: Jan 2009
Posts: 109
Default

Thank you for your repply,

Yes I have run the sql query. When I rerun the query I have:
Quote:
mysql> ALTER TABLE `giv_components_template` ADD `HOST_ID` INT (11) NULL AFTER `compo_id`;
ERROR 1060 (42S21): Duplicate column name 'host_id'
mysql> ALTER TABLE `giv_components_template` ADD `service_id` INT (11) NULL AFTER `HOST_ID`;
ERROR 1060 (42S21): Duplicate column name 'service_id'
mysql> ALTER TABLE `giv_components_template` ADD `ds_stack` ENUM ('0 ', '1') CHARACTER SET utf8 COLLATE utf8_general_ci NULL AFTER `name`;
ERROR 1060 (42S21): Duplicate column name 'ds_stack'
mysql>
I will check for the apache error log...
Reply With Quote
  #16  
Old 23rd February 2010
gueutzilla gueutzilla is offline
Senior Member
Habituated
 
Join Date: Jan 2009
Posts: 109
Default

I have no error in my apache log!!!

But when I apply the patch I have this error:

nagios@ubuntu:/usr/local/centreon$ sudo patch -p1 <2.1.4_Stack.patch.txt
patching file www/include/views/graphs/componentTemplates/DB-Func.php
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file www/include/views/graphs/componentTemplates/DB-Func.php.rej

patching file www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml
patching file www/include/views/graphs/componentTemplates/formComponentTemplate.php
patching file www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml
patching file www/include/views/graphs/componentTemplates/listComponentTemplates.php
patching file www/include/views/graphs/generateGraphs/generateODSImage.php
patching file www/include/views/graphs/generateGraphs/generateODSImageZoom.php
patching file www/include/views/graphs/generateGraphs/generateODSMetricImage.php
nagios@ubuntu:/usr/local/centreon$


Any idee?
Reply With Quote
  #17  
Old 19th March 2010
ADeluiz ADeluiz is offline
Junior Member
Oreonistes
 
Join Date: Mar 2010
Posts: 1
Default

Patch is not working. At least for me! Some steps have a failure status.
Can anyone help me ?

Quote:
# patch -p1 -V simple --verbose < 2.1.4_Stack.patch.txt
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml centreon.stackmod/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml
|--- centreon.org/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml 2010-02-10 10:49:00.000000000 -0600
|+++ centreon/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml 2010-02-10 10:53:09.000000000 -0600
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/componentTemplates/DB-Func.php centreon.stackmod/www/include/views/graphs/componentTemplates/DB-Func.php
|--- centreon.org/www/include/views/graphs/componentTemplates/DB-Func.php 2010-02-10 10:49:00.000000000 -0600
|+++ centreon/www/include/views/graphs/componentTemplates/DB-Func.php 2010-02-10 10:53:09.000000000 -0600
--------------------------
Patching file www/include/views/graphs/componentTemplates/DB-Func.php using Plan A...
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file www/include/views/graphs/componentTemplates/DB-Func.php.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml centreon.stackmod/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml
|--- centreon.org/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml 2010-02-10 10:49:00.000000000 -0600
|+++ centreon/www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml 2010-02-10 10:53:09.000000000 -0600
--------------------------
Patching file www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml using Plan A...
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file www/include/views/graphs/componentTemplates/formComponentTemplate.ihtml.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/componentTemplates/formComponentTemplate.php centreon.stackmod/www/include/views/graphs/componentTemplates/formComponentTemplate.php
|--- centreon/www/include/views/graphs/componentTemplates/formComponentTemplate.php 2010-02-09 12:29:51.000000000 -0600
|+++ centreon.stackmod/www/include/views/graphs/componentTemplates/formComponentTemplate.php 2010-02-10 09:11:23.000000000 -0600
--------------------------
Patching file www/include/views/graphs/componentTemplates/formComponentTemplate.php using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 95.
Hunk #3 succeeded at 172.
Hunk #4 succeeded at 224.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml centreon.stackmod/www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml
|--- centreon/www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml 2010-02-09 12:29:51.000000000 -0600
|+++ centreon.stackmod/www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml 2010-02-10 09:13:21.000000000 -0600
--------------------------
Patching file www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml using Plan A...
Hunk #1 FAILED at 19.
Hunk #2 FAILED at 50.
2 out of 2 hunks FAILED -- saving rejects to file www/include/views/graphs/componentTemplates/listComponentTemplates.ihtml.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/componentTemplates/listComponentTemplates.php centreon.stackmod/www/include/views/graphs/componentTemplates/listComponentTemplates.php
|--- centreon/www/include/views/graphs/componentTemplates/listComponentTemplates.php 2010-02-09 12:29:51.000000000 -0600
|+++ centreon.stackmod/www/include/views/graphs/componentTemplates/listComponentTemplates.php 2010-02-10 09:38:18.000000000 -0600
--------------------------
Patching file www/include/views/graphs/componentTemplates/listComponentTemplates.php using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 succeeded at 129.
Hunk #3 succeeded at 187.
Hunk #4 succeeded at 202.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/generateGraphs/generateODSImage.php centreon.stackmod/www/include/views/graphs/generateGraphs/generateODSImage.php
|--- centreon/www/include/views/graphs/generateGraphs/generateODSImage.php 2010-02-09 12:29:51.000000000 -0600
|+++ centreon.stackmod/www/include/views/graphs/generateGraphs/generateODSImage.php 2010-02-10 09:48:59.000000000 -0600
--------------------------
Patching file www/include/views/graphs/generateGraphs/generateODSImage.php using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 85.
Hunk #3 succeeded at 159.
Hunk #4 succeeded at 223.
Hunk #5 succeeded at 254.
Hunk #6 succeeded at 280.
Hunk #7 succeeded at 333.
Hunk #8 succeeded at 384.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/generateGraphs/generateODSImageZoom.php centreon.stackmod/www/include/views/graphs/generateGraphs/generateODSImageZoom.php
|--- centreon/www/include/views/graphs/generateGraphs/generateODSImageZoom.php 2010-02-09 12:29:51.000000000 -0600
|+++ centreon.stackmod/www/include/views/graphs/generateGraphs/generateODSImageZoom.php 2010-02-10 09:58:36.000000000 -0600
--------------------------
Patching file www/include/views/graphs/generateGraphs/generateODSImageZoom.php using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 50.
Hunk #3 succeeded at 89.
Hunk #4 succeeded at 153.
Hunk #5 succeeded at 208.
Hunk #6 succeeded at 218.
Hunk #7 succeeded at 237.
Hunk #8 succeeded at 265.
Hunk #9 succeeded at 313.
Hunk #10 succeeded at 367.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u -X stackfiff.exclude centreon/www/include/views/graphs/generateGraphs/generateODSMetricImage.php centreon.stackmod/www/include/views/graphs/generateGraphs/generateODSMetricImage.php
|--- centreon/www/include/views/graphs/generateGraphs/generateODSMetricImage.php 2010-02-09 12:29:51.000000000 -0600
|+++ centreon.stackmod/www/include/views/graphs/generateGraphs/generateODSMetricImage.php 2010-02-10 10:01:59.000000000 -0600
--------------------------
Patching file www/include/views/graphs/generateGraphs/generateODSMetricImage.php using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 74.
Hunk #3 succeeded at 144.
Hunk #4 succeeded at 191.
Hunk #5 succeeded at 211.
Hunk #6 succeeded at 280.
Hunk #7 succeeded at 319.
done
Reply With Quote
  #18  
Old 21st April 2010
BigMonitor BigMonitor is offline
Junior Member
Newbie
 
Join Date: Jun 2008
Posts: 27
Default

Is this feature still not in the main release?
Reply With Quote
  #19  
Old 21st May 2010
BigMonitor BigMonitor is offline
Junior Member
Newbie
 
Join Date: Jun 2008
Posts: 27
Default

Any news on this?
Reply With Quote
  #20  
Old 21st May 2010
Ehndorysh Ehndorysh is offline
Member
Newbie
 
Join Date: Oct 2008
Posts: 31
Default

It's scheduled for the 3.0 release, see the roadmap
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:21.