TeamSpeak - Current Players
Moderators: Developers, Moderators
Also, what am I looking for exactly, from what I see everything makes sense. I changed the input string. Correct me if im wrong it said: php <path_cacti>/scripts/ts.php to execute the script. My installed version for the system seems to be php5. I changed the string to: /www/php/bin/php <path_cacti>/scripts/ts.php because tahts where my php 4.x version is. I still have nothing showing on graph. Anything else i Should look at?
yepp, you've to edit your ts.php
Code: Select all
$socket = getSocket("remoteip", 51234, $errno, $errstr, 1);
-
- Posts: 1
- Joined: Wed Jul 20, 2005 1:26 pm
I'm having the same problem as an earlier poster I believe. When the poller script runs ts.php it outputs header information before the actual ts user count similar to:
# php ts.php
Content-type: text/html
X-Powered-By: PHP/4.3.9
0
If you run the script via "php -q ts.php" then you don't see this information, but I'm not sure how to get rid of it when run via the poller script. I tried adding "#!/usr/bin/php -q" as the first line of the script but this didn't help.
# php ts.php
Content-type: text/html
X-Powered-By: PHP/4.3.9
0
If you run the script via "php -q ts.php" then you don't see this information, but I'm not sure how to get rid of it when run via the poller script. I tried adding "#!/usr/bin/php -q" as the first line of the script but this didn't help.
I'm new to cacti also, but I want to graph my teamspeak ...
I have installed the XML and I get graphs, but all the graphs keep empty.
Output...
/cacti-0.8.6f# php scripts/ts.php
Warning: fscanf(): supplied argument is not a valid File-Handle resource in /home/httpd/dragon-night.net/html/admin/cacti-0.8.6f/scripts/ts.php on line 25
I get this error in an endless loop
I have installed the XML and I get graphs, but all the graphs keep empty.
Output...
/cacti-0.8.6f# php scripts/ts.php
Warning: fscanf(): supplied argument is not a valid File-Handle resource in /home/httpd/dragon-night.net/html/admin/cacti-0.8.6f/scripts/ts.php on line 25
I get this error in an endless loop
Who is online
Users browsing this forum: No registered users and 3 guests