re-index method ....

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
leonardo_gyn
Cacti User
Posts: 85
Joined: Sat Jan 22, 2005 4:51 pm

re-index method ....

Post by leonardo_gyn »

I would like to ask for 2 features regarding re-index method.

1) having the option of choosing the re-index method on the host template. In a host template i can add all data queries i need, but they are all added with 'uptime goes backwards'. i would love to have the ability of choosing the re-index method when adding data queries on a host template

2) having a new re-index method maybe named 'every hour' .... maybe 2 hours, 4 hours .... i want the reindex to occur sometimes, but not ALL times, which can be acchieved with 'Verify All Fields'. I also know i can use the poller_reindex_hosts.php from command line, but that would requires i know the host id. I would love to have the ability to reindex from time to time and have that managed directly on the web interface.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: re-index method ....

Post by gandalf »

leonardo_gyn wrote:I would like to ask for 2 features regarding re-index method.

1) having the option of choosing the re-index method on the host template. In a host template i can add all data queries i need, but they are all added with 'uptime goes backwards'. i would love to have the ability of choosing the re-index method when adding data queries on a host template
I'd like to second that request
2) having a new re-index method maybe named 'every hour' .... maybe 2 hours, 4 hours .... i want the reindex to occur sometimes, but not ALL times, which can be acchieved with 'Verify All Fields'. I also know i can use the poller_reindex_hosts.php from command line, but that would requires i know the host id. I would love to have the ability to reindex from time to time and have that managed directly on the web interface.
Interesting idea ....
But re-inexing takes QUITE some time. And accidentally re-indexing of all hosts of a decent installation would result in quite a mess ...
Reinhard
leonardo_gyn
Cacti User
Posts: 85
Joined: Sat Jan 22, 2005 4:51 pm

Re: re-index method ....

Post by leonardo_gyn »

2) having a new re-index method maybe named 'every hour' .... maybe 2 hours, 4 hours .... i want the reindex to occur sometimes, but not ALL times, which can be acchieved with 'Verify All Fields'. I also know i can use the poller_reindex_hosts.php from command line, but that would requires i know the host id. I would love to have the ability to reindex from time to time and have that managed directly on the web interface.
Interesting idea ....
But re-inexing takes QUITE some time. And accidentally re-indexing of all hosts of a decent installation would result in quite a mess ...
Reinhard

It's not possible to avoid 100% that people shoot their own feet. If some 'not-so-smart' cacti user/admin chooses 'verify all fields' in a decent installation, things will already be messy.

Your concern is valid .... at least not for my cactis, who handles no more than 30-40 hosts in a single cacti installation, connected through fast network links and cacti is running on a powerfull-enough machine. But that could certainly be a real problem on bigger installations.

And my main idea is to have the ability to reindex only some data query and not the hole device, which would be available through poller_reindex command line script. The idea is that the smart admin will reindex, from time to time, only those data queries that eventually got screwed.

I really think it would be a nice option, but if used in a not-so-smart way, will really make things messy, just like the 'Verify All Fields' is already capable of doing :D
leonardo_gyn
Cacti User
Posts: 85
Joined: Sat Jan 22, 2005 4:51 pm

Re: re-index method ....

Post by leonardo_gyn »

Hey gandalf ..... english is not my main language, altough i consider myself a good english reader/writer. Anyway, i never heard the expression 'I'd like to second that request '.

It means you like, dislike, is interested, is not interested ?? :D

Just for curiosity, I'm from Brazil.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Well, I'm not a native english/american speaker. But I found this lately in some book. German translation is unterstuetzen |unterstuetzte, unterstuetzt| (Umlauts tweaked due to the forum not loving german language)
Native speakers may correct me
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests