Adding several game servers to 1 hlstatsx page

Use this forum if you have a relatively general question or comment about a game, Ventrilo, TeamSpeak, or Murmur/Mumble server with us. If you have a server-specific question that might not help out the community, please directly contact us through your control panel instead.
Post Reply
Jamesderf
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Feb 25, 2014 7:19 am

Adding several game servers to 1 hlstatsx page

Post by Jamesderf »

I'm trying to add my other game servers onto 1 hlstats page, I have added them to 1 hlstatsx page http://tradex1.hlstatsx.nfoservers.com/hlstats.php and they show up but they don't log any stats, what am I doing wrong?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Adding several game servers to 1 hlstatsx page

Post by soja »

Is the rcon password set properly for all of them?

Have you made sure the logaddress is set properly?
(check this with logaddress_list in the server console)
Not a NFO employee
Jamesderf
New to forums
New to forums
Posts: 6
Joined: Tue Feb 25, 2014 7:19 am

Re: Adding several game servers to 1 hlstatsx page

Post by Jamesderf »

the rcon is set properly but can you explain the logaddress_list
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Adding several game servers to 1 hlstatsx page

Post by soja »

yes.

The game server uses log streaming to send logs to your hlstats daemons. You need to give your game servers an address to log to using logaddress_add. I assume NFO takes care of this for you on initial setup of the first game server.

On your current working game server, run this command in the game servers console:
logaddress_list
This will return an IP address and port that the server uses to send logs to your hlstats system.

Take that IP:port and copy it, and then put this in each of your servers autoexec.cfg:
logaddress_add ip:port
where ip:port is the information taken from your original, working game server.

Reboot your server and you should be good to go :)
Not a NFO employee
Jamesderf
New to forums
New to forums
Posts: 6
Joined: Tue Feb 25, 2014 7:19 am

Re: Adding several game servers to 1 hlstatsx page

Post by Jamesderf »

when I ran log_address list I got 2 ip address
192.223.26.14:27015
206.253.195.193:10000
I added both to the autoexec.cfg
logaddress_add 192.223.26.14:27015
logaddress_add 206.253.195.193:10000
and then restarted the game server and stats server and still nothing happens
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Adding several game servers to 1 hlstatsx page

Post by soja »

206.253.195.193:1000 would be the ip address you are looking for. The other IP is of your game server, and doesn't need to be there.

After you add
logaddress_add 206.253.195.193:1000 to your other servers autoexec.cfg and restarted the server, you should be able to run logaddress_list and it should return the IP:Port you just added.

I haven't had the chance to use the hlstats offering by NFO(I use my own installation), do you have daemon logs that you can look at?
Not a NFO employee
Jamesderf
New to forums
New to forums
Posts: 6
Joined: Tue Feb 25, 2014 7:19 am

Re: Adding several game servers to 1 hlstatsx page

Post by Jamesderf »

when I run logaddress_list 206.253.195.193:1000 shows up on the other servers but still no luck, I don't know where the daemon logs are located
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Adding several game servers to 1 hlstatsx page

Post by soja »

My guess would be NFO is restricting the ability to add additional game servers to your hlstats daemon. Adding servers to a hlstats daemon increases its resource usage, making it more expensive to run. Maybe a staff member could confirm or deny this.

I would love to see if I can help you out first-hand using something like teamviewer. I run a pretty large hlstats install for my community. If you are interested please add me on steam using the button in my signature.
Not a NFO employee
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Adding several game servers to 1 hlstatsx page

Post by kraze »

We don't restrict the amount of servers you can add to one install. We don't support it either, but you can do it. If your stats were to ever break or one of your secondary servers were to stop recording stats we'd be unable to troubleshoot it.

Looking at your stats install, though. The port you are using is incorrect. I'd recommend getting that information from the "stats" page.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Jamesderf
New to forums
New to forums
Posts: 6
Joined: Tue Feb 25, 2014 7:19 am

Re: Adding several game servers to 1 hlstatsx page

Post by Jamesderf »

All taken care of, I sent a ticket off to support and they had directed me to the right ip
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Adding several game servers to 1 hlstatsx page

Post by soja »

Alright great, glad you got it figured out :)
Not a NFO employee
Post Reply