Results 31 to 45 of 58
-
16-07-2012, 09:47 #31
-= TeamSpeak Lover =-
- Join Date
- May 2010
- Location
- Germany
- Posts
- 35
It seems that you have inserted the ts3 db as storage db for the Channelwatcher. This currently overwrites the server-db completely, causing a crash.To be exact, mysql db just dropped everything just like that exactly in that second I used that script
The database used by the Channellwatcher is different fom the database the TeamSpeak3-Server is using!
We accountered this misunderstanding several times, so we opened two issues for the next release (#44 and #45) to improve documentation and add some in-app checks to avoid accidental overwrites
-
16-07-2012, 20:22 #32
-= TeamSpeak User =-
- Join Date
- Mar 2008
- Location
- ger
- Posts
- 10
i use the script with mysql db. The DB work, but no channel get deleted
:~$ php app.php crawl example
:~$ php app.php crawl example
:~$ php app.php crawl example
:~$ php app.php crawl example
:~$ php app.php crawl example
:~$ php app.php delete example
There were just 0.0 crawls per hour. At least 2.0 crawls per hour are needed
Rerun with --trust-crawls if you want to delete based on this insufficent data
:~$ php app.php delete --trust-crawls example
:~$
nothing happend
any ideas?
-
17-07-2012, 02:02 #33
-= TeamSpeak User =-
- Join Date
- Feb 2012
- Location
- Poland
- Posts
- 16
@drak3 Working, thanks for assistance
Just out of curiosity - what's the difference between crawl and watch, I mean, as I can see watch is sitting on the server constantly and crawl only once and has to be croned, but besides that is there any difference in working?
-
17-07-2012, 17:05 #34
-= TeamSpeak Lover =-
- Join Date
- May 2010
- Location
- Germany
- Posts
- 35
@ich123
you have to run the crawl command regulary:
The watch command connects to the server and notes down for each channel if it is visited. This data is then used by the delete command to decide which channels should be deleted.
That's why you have to do enough crawls before the ChannelWatcher is able to delete any channels. The amount of minimum crawls is currently configured as a minimum of two crawls per hour in the configured period of 'time_to_live' of a channel.
That means for example, that if your channels should be deleted after 2 weeks of inactivity ('time_to_live' = two weeks) you need at least 2*24*7 = 336 crawls before the ChannelWatcher can delete anything safely. (This number seems to be huge, but its just needed to run the crawl command every half an hour for two weeks to get this density of crawls)
@Firenz:
Good to hear
Yep, the watch command is currently simply a wrapper around the crawl command. If you take a look at the source code (https://github.com/devMX/TeamSpeak3-...ingWatcher.php) you can see that it just waits and crawls...
However, this command is currently not documented and therefore not officially supported as it lacks basic features such as keeping-alive the connection and isn't yet tested enough (e.g. there could be unexpected memory leaks) and therefore it isn't meant to be used in production where a CronJob is much more lightweight.
We probably will make this command production ready in 1.1 or 1.2
-
24-07-2012, 19:53 #35
-= TeamSpeak Lover =-
- Join Date
- May 2010
- Location
- Germany
- Posts
- 35
We just released version 1.0.1

We fixed some bugs that made the ChannelWatcher unusable with versions older than 5.3.7.
Now we officially support 5.3.3 again. (5.3.2 might work too, but is not supported)
Downloadlink can be found in the first post.
-
25-07-2012, 05:36 #36
-= TeamSpeak Addict =-
- Join Date
- Jun 2011
- Location
- Russian Federation
- Posts
- 208
I still do not get nothing ... upload to the website please complete your version is already configured for sqlite format "devMX TeamSpeak3 Channelwatcher.zip" according to your settings will be clearer to me that the change for themselves
-
28-07-2012, 02:12 #37
-= TeamSpeak Addict =-
- Join Date
- Jun 2012
- Location
- Portugal
- Posts
- 147
Hi, when my suggestion will be added?
-
28-07-2012, 12:23 #38
This is currently planned to be added in version 1.1.0. You can track the development here.
-
01-08-2012, 20:27 #39
-= TeamSpeak Addict =-
- Join Date
- Jun 2012
- Location
- Portugal
- Posts
- 147
Ok I tried to find that and couldn't find
Thanks
-
06-08-2012, 20:25 #40
-= TeamSpeak User =-
- Join Date
- Feb 2012
- Location
- Poland
- Posts
- 16
Just a small suggestion to give a possibility in cfgs to set a proper name because it looks "<21:22:06> "Channel Watcher from 195.***.***.85:54297" disconnected (disconnecting)" and when channels will be deleted the remote IP will show up, and I prefer to keep it in secret, thanks in advance
-
06-08-2012, 21:34 #41
-= TeamSpeak Fanatic =-
- Join Date
- Jan 2010
- Location
- Germany
- Posts
- 2,039
99.9% of the Time the Bots will run on the same machine as the Server itself runs on, so it will be the same IP as the one of the Server which is never a secret since every Client that connects to that IP already (and hence already knows it).
In addition to that nobody is able to see the Query Clients by default and even if they enable the Option to view Query Clients in Teamspeak they will still need sufficient i_client_needed_serverquery_view_power to view the Clients.
I expect this Tool will login as ASQ so this makes it invisible to everyone including Server Admin. So if you can see it you already screwed up your Permissions...
-
08-08-2012, 01:18 #42
-= TeamSpeak User =-
- Join Date
- Feb 2012
- Location
- Poland
- Posts
- 16
It is a secret because I'm running on 2 servers, first is public with TS installed and the second is our test, remote machine which should stay hidden. I can't install channel watcher on a public server because I have to use phpenv to use which is installed only on the remote one to avoid mess with apache.
No, I didn't. I know dependencies between i_client_serverquery_view_power and i_client_needed_serverquery_view_power. I'm talking that when it comes to delete unused channels they'll see a notify like "Channel x deleted by Channel Watcher from ***.***.***.**" so it seems you didn't understand that issue.
Though it shouldn't be a big deal to add a query client name change so here's my request
-
09-08-2012, 14:27 #43
-= TeamSpeak Lover =-
- Join Date
- May 2010
- Location
- Germany
- Posts
- 35
This will be implemented in the 1.1.0 release.Just a small suggestion to give a possibility in cfgs to set a proper name because it looks "<21:22:06> "Channel Watcher from 195.***.***.85:54297" disconnected (disconnecting)" and when channels will be deleted the remote IP will show up, and I prefer to keep it in secret, thanks in advance
However, the name can just be changed AFTER selecting the vserver so it will at least show up once.
You can follow development at github, were I've opened an issue
-
09-08-2012, 23:41 #44
-= TeamSpeak User =-
- Join Date
- Feb 2012
- Location
- Poland
- Posts
- 16
Another issue - I set channels to live for 2 weeks, watcher has been croned for every 2 minutes:
I wanted to delete unused channels and it returned meCode:#!/bin/bash export PATH="/home/users/firenz/.phpenv/versions/5.3.8/bin:$PATH" cd /home/users/firenz/TeamSpeak3-ChannelWatcher/ php app.php crawl main
I was checking if it works properly and it does, print_unused confirms that (was checking frequently too), also watcher's mysql database is integral and complete so it's not a big issue, just for info. As we were talking before, it runs on phpenv 5.3.8Code:There were just 0.0 crawls per hour. At least 2.0 crawls per hour are needed Rerun with --trust-crawls if you want to delete based on this insufficent data
Used with --trust-crawls and worked like a magic 
I'm also wondering if you need a translator between English and Polish to issue #63, regards.
-
13-08-2012, 14:14 #45
-= TeamSpeak Lover =-
- Join Date
- May 2010
- Location
- Germany
- Posts
- 35
Thanks for reporting, we were able to reproduce this issue. It will hopefully gets fixed in 1.0.2. (See the issue on github).
that's a misunderstanding... I've meant "polish" as a verb
since I found some aspects of the CLI relatively unclear.
We're not planning to translate the CLI as the benefit seems relatively small.
However if you want help us translating, you could either contribute a polish translation for our Webviewer at translate.devmx.de or (as a little bit bigger project) you could help us translating the ChannelWatcher documentation. (There is currently no automatation for that, so contact us if you'd like to help us with that.)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Release] Teamspeak3 Webviewer
By drak3 in forum ToolsReplies: 156Last Post: 08-02-2013, 05:33 -
[Release] devMX TeamSpeak3 Webviewer Lite
By Maxe___ in forum ToolsReplies: 7Last Post: 14-08-2012, 15:32 -
Auto Delete channels
By Ar2rJke in forum ToolsReplies: 7Last Post: 26-06-2012, 12:45 -
Auto Delete channels without activity x days
By MarioH in forum ToolsReplies: 74Last Post: 17-04-2012, 13:38 -
Auto delete clients?
By Trekkan in forum Server SupportReplies: 3Last Post: 13-10-2010, 08:51


Reply With Quote
