PDA

View Full Version : Ventrilo Server Monitoring


Maverick
06-08-2005, 12:51 PM
I tried and tried to find one, but I was unsuccesfull...Does anyone know where I can find a FREE Ventrilo Server Monitoring HTML script? (cause I really can't work with PHP)

Maverick
06-08-2005, 12:53 PM
btw, with "monitoring" I mean people can see who's online on your site....

Flagship
06-08-2005, 01:07 PM
Download page. PHP scripts.

Maverick
06-08-2005, 01:35 PM
yeh I already tried to figure out PHP, HTML is less difficult for me.

So there isn't any HTML code to monitor show who's online on your site?

Flagship
06-08-2005, 02:53 PM
No

Maverick
06-08-2005, 04:55 PM
ouch

Patrick
06-08-2005, 05:24 PM
The scripts are already written Maverick. Read the docs and change the couple values you need to change, it's super easy to at least get them working without any knowledge of php.

Customization is a different story and you will need someone who knows both to help you out with that.

Maverick
06-21-2005, 12:23 PM
ok thx, made my last exam 2day, so I have plenty of time to get it working, hope it works...

Maverick
06-29-2005, 06:47 AM
CVentriloStatus->Request() failed. PHP Unable to start external status process.

Building a ventrilo:// web link from the supplied information. Please note that if the retrieved server name has spaces in it then anything following them will not show up in the client. This is a client side issue. You might use _'s in server names instead until the problem is fixed.

Click here to connect to the following server. (ventrilo://127.0.0.1:3784/servername=)

Basic information about the server using VentriloInfoEX1.


Notice: Undefined property: CVentriloStatus::$m_auth in C:\Program Files\Abyss Web Server\htdocs\ventriloinfo_ex1.php on line 41
Name
Phonetic
Comment
Auth
Max Clients
Voice Codec
Voice Format
Uptime
Platform
Version
Channel Count
Client Count

Channel and user info using VentriloDisplayEX2.


Flags UID CID Sec Ping Name Comment
Channel and user info using VentriloDisplayEX1.



Notice: Trying to get property of non-object in C:\Program Files\Abyss Web Server\htdocs\ventrilodisplay_ex1.php on line 20
Lobby


Whats wrong here?
Please help me

Patrick
06-29-2005, 04:49 PM
CVentriloStatus->Request() failed. PHP Unable to start external status process.

Do you have the ventrilo_status program? I would recommend putting it in the same directory as the .php files just for ease.

Notice: Undefined property: CVentriloStatus::$m_auth in C:\Program Files\Abyss Web Server\htdocs\ventriloinfo_ex1.php on line 41

What is your $m_auth value set to?

Maverick
06-30-2005, 09:16 AM
Oh God bless you!
I got it working...finally...
Thx for your help.
Customizing doesn't seem to be hard, gonna take a backup of what I got now, and try to get some nice colours into the page.
Have to get the weblink working as well, I know how to make one for an html page, but php is a bit harder :p luckfully stuff is well explained.
I thought it would be something like this, but it ain't working....yet!

$weblink = "ventrilo://81.82.163.209$stat->m_cmdhost:3784$stat->m_cmdport/servername=Mavericks Server$stat->m_name";
echo "<center><a href=\"$weblink\">Click here to connect to the following server.</a></center><br><br>\n";


It looks like this now:

Building a ventrilo:// web link from the supplied information. Please note that if the retrieved server name has spaces in it then anything following them will not show up in the client. This is a client side issue. You might use _'s in server names instead until the problem is fixed.



Click here to connect to the following server. (ventrilo://127.0.0.1:3784/servername=Mavericks%20Server)

Basic information about the server using VentriloInfoEX1.

Name Mavericks Server
Phonetic Mavericks Server
Comment
Auth 1
Max Clients 8
Voice Codec GSM 6.10
Voice Format 11025 Hz, 16 bit
Uptime 205
Platform WIN32
Version 2.2.0
Channel Count 0
Client Count 1

Channel and user info using VentriloDisplayEX2.


Flags UID CID Sec Ping Name Comment A 1 0 171 0 Maverick

Channel and user info using VentriloDisplayEX1.



Notice: Trying to get property of non-object in C:\Program Files\Abyss Web Server\htdocs\ventrilodisplay_ex1.php on line 20
Lobby "A" Maverick

Patrick
06-30-2005, 08:05 PM
Happy to hear you got it working! :D

$weblink = "ventrilo://81.82.163.209$stat->m_cmdhost:3784$stat->m_cmdport/servername=Mavericks Server$stat->m_name";

If you are using the page to autogenerate the link, try this:

$weblink = "ventrilo://81.82.163.209:$stat->m_cmdport/servername=$stat->m_name";

If that doesn't work because of the server name having a space, try entering in servername=Mavericks_Server instead. It should work fine though...

You can also add on a auto server password if you want to:
$weblink = "ventrilo://81.82.163.209:$stat->m_cmdport/servername=$stat->m_name&serverpassword=passwordhere";

[FBI]_Inque187
07-06-2005, 12:57 AM
http://www.ventrilo.com/forums/showthread.php?t=7237

Simple "Online/Offline" Status Script
<?PHP
$vt_ip = "123.45.67.89"; // Change to your server's IP external or domain name
$vt_port = "3784"; // Make sure this port is open on the router or firewall

$output = @fsockopen("$vt_ip", $vt_port, $errno, $errstr, 2);

if (!$output) {
echo "<FONT COLOR=#DD0000><B>OFFLINE</B></FONT>";
} else {
echo "<FONT COLOR=#00DD00><B>ONLINE</B></FONT>";
}
@fclose($output);
?>