|
|
| Author |
Message |
amsys
Joined: 17 Sep 2007 Posts: 4
|
Posted: Mon Jan 28, 2008 2:23 pm Post subject: Host template Data query re-index method |
|
|
This patch adds possibility to associate re-index method with Indexed data query in host template
Maybe there was a reason to not include this but I needed it so I added it.
You must add new column into MySQL table host_template_snmp_query
| Code: | | ALTER TABLE `host_template_snmp_query` ADD COLUMN `reindex_method` TINYINT(3) UNSIGNED DEFAULT '1' AFTER `snmp_query_id`; |
by the way, I spotted there is no input validation when associating indexed query with host_template
| Description: |
| patch against svn branch 0.8.7, works with 0.8.7a |
|
 Download |
| Filename: |
cacti-ht-reindex.patch.gz |
| Filesize: |
2.05 KB |
| Downloaded: |
68 Time(s) |
Last edited by amsys on Mon Jan 28, 2008 5:33 pm; edited 2 times in total |
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Mon Jan 28, 2008 3:47 pm Post subject: |
|
|
can you explain this patch ?
i have a bug and maybe this can help me
also, can you please post a full patched file, not a patch ?
|
|
| Back to top |
|
 |
amsys
Joined: 17 Sep 2007 Posts: 4
|
Posted: Mon Jan 28, 2008 5:19 pm Post subject: |
|
|
Head post edited, sorry, I forgot about this
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Tue Jan 29, 2008 11:41 am Post subject: |
|
|
Thanks for posting this. This issue is on my todo list. So I will examine your patch. This feature is planned for 088.
Reinhard
|
|
| Back to top |
|
 |
|