MONyog server configuration via command line

You are viewing an old version of this question. View the current version here.

Is it possible to add new servers in monyog via shell commands??

Answer Answered by Sibin AS in this comment.

You can use the MONyog API which enables MONyog to interact with command shell or script or even an application. You can configure as well as perform other actions that you would in the MONyog interface.

You can add servers in MONyog using the URL that you can use with curl,

curl "http://localhost:5555/?_object=MONyogAPI&_action=addserver&_mysqluser=msandbox&
_mysqlhost=127.0.0.1&_mysqlport=3306&_tags=Production&_server=Test&
_mysqlpassword=msandbox&_connectontype=direct&_user=admin&
_password=Password”

You may also refer our FAQ regarding MONyog API and the parameters that can be passed to perform various actions in MONyog, here >> http://monyogkb.webyog.com/category/116-the-monyog-api

You may also write to [email protected] if you have any queries. Sibin (Webyog)

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.