MONyog server configuration via command line
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@example.com if you have any queries. Sibin (Webyog)