.

Post Reply
vitaminx
Member
Posts: 49
Joined: Tue Dec 30, 2014 15:08

.

by vitaminx » Post

.
Last edited by vitaminx on Sun Sep 23, 2018 15:42, edited 2 times in total.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: How to monitor minetest server?

by sfan5 » Post

You can have a Lua mod that writes e.g. the number of players into a file every 30 seconds.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: How to monitor minetest server?

by ExeterDad » Post

VanessaE has some nice shell scripts that parse the log files to get all kinds of info.

User avatar
Pitriss
Member
Posts: 254
Joined: Mon Aug 05, 2013 17:09
GitHub: Pitriss
IRC: pitriss
In-game: pitriss
Location: Czech republic, Bohumin

Re: How to monitor minetest server?

by Pitriss » Post

vitaminx wrote:about how to pull all the numbers from the server.
https://github.com/Pitriss/overridemodp ... ster/munin

some example which is running fine on our private server.. rest info about CPU usage, RAM usage etc. is gathered by standard linux tools
I reject your reality and substitute my own. (A. Savage, Mythbusters)
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.

vitaminx
Member
Posts: 49
Joined: Tue Dec 30, 2014 15:08

.

by vitaminx » Post

.
Last edited by vitaminx on Sun Sep 23, 2018 15:42, edited 2 times in total.

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: How to monitor minetest server?

by ExeterDad » Post

vitaminx wrote:Awesome! That helped a lot and together with some logfile grep magic this is what I came up with.
zabbix_graph.png
zabbix_metrics.png
Thanks,
vitaminx
Nice setup! Grep and sed are my best friends :)

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests