Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Pomelo admin web tool usage

Charlie Crane edited this page Oct 31, 2013 · 3 revisions

Introduction

pomelo-admin-web provides a way to monitoring status of the running pomelo server cluster via a web browser based on the monitoring and management framework provided by pomelo. Through pomelo-admin-web, you can make real-time monitoring on the running status, performance, logs, etc. for the pomelo server cluster. Here its depends on several admin-module shown as following:

Image

  • systemInfo It is used to monitor system information for each server, including loadavg, men, CPU(I/O), DISK(I/O).

  • nodeInfo It is used to monitor node process information for each server, including pid, cpu%, mem%, vsz, rss.

  • conRequest It is used to monitor request logs generated by the connector server, including time spending for players' logging, moving, switching area and the request route.

  • rpcRequest It is used to monitor rpc invocations of the game server cluster.

  • forRequest It is used to monitor logs of request forwarding.

  • onlineUser It is used to monitor information of online players, including logged username, logged ip, logged time.

  • sceneInfo It is used to monitor the information of areas, including players and coordinates of the players.

  • scripts This admin-module provides an approach to execute a script in a certain server via client registered to master server. pomelo-cli also uses this admin-module.

  • profiler Profiles provided by chrome which is a performance analysis tool is integrated into this admin-module, so it can be used for performance analysis of the pomelo server cluster.

Installation and Usage

Platform Supported: Linux and Mac OS:

$ git clone https://github.com/NetEase/pomelo-admin-web.git
$ cd pomelo-admin-web
$ node app

The address http://localhost:7001.

If the pomelo project has been launched before, you can monitor its information now.

If port conflict happening, you can modify config/admin.json to avoid it. The browser should support WebSocket, the latest Chrome is recommended.

For script admin-module, the script executed is same as in pomelo-cli, within which there is a specification for how to write this kind script.

Clone this wiki locally