CollectiveIndustries / Mangos_Installer

ci-mangos insall scripts will be merged with a new clean server code directory
GNU General Public License v3.0
1 stars 0 forks source link

System Monitoring Daemon #7

Open Morketh opened 10 years ago

Morketh commented 10 years ago

install and set up Icinga along side MaNGOS as a system monitor. This is enhancement should give you a 5 second overview of the entire system. running processes memory usage network traffic just to name a few also sub monitoring daemons can be set up to remotely monitor the entire MaNGOS network in the same overview page to keep tabs on each realm

Morketh commented 10 years ago

Icinga can make SOAP requests using the check_http method a custom command can be used to call a private webscript that will make a SOAP request to the MaNGOS server due to security concerns i do not recomend making the SOAP ports (7878) avalible to the outside world. An example SOAP client can be found in https://github.com/CollectiveIndustries/server/blob/master/contrib/soap/example.php this should be enough to pass along HTTP requests directly to the SOAP service if running this on a world accessible webserver then i would suggest setting up an apache virtual host that accepts requests directly from the Icinga-Monitoring daemon this SOAP connection is also usefull for sending in-game GM commands like giving inventory, or any other command you have in the mangos database. i made a post a while back that detailed the instalation process from the ground up and tords the bottom of the first post you will find another PHP script that will link-into the mangos database and pull all the in-game commands for you. http://ubuntuforums.org/showthread.php?t=1964479