General parameters
Execution command:
python pandora_mongodb -u <uri> -s <server> -d <databases> -a <alldatabases> -p <prefix> -c <collectionstats> [ -g <group> ] [ --data_dir <data dir> ] [ --as_agent_plugin 1]
If the execution is successful we will see an integer, which will be the database number we have.
If we want to run it as an agent plugin, we will do it using the optional parameter "as_agent_plugin" with a "1" which will return an xml with the data of our server:
This will only work if you put a single database with the -d parameter, it will not work with -a which is the parameter for all databases.