# Google Drive # Introduction **Ver**. 26-03-2024 This plugin is intended to monitor the space and the date of the last change of a Google Drive file. **Tipo**: Plug-in server # Compatibility matrix
**Systems where tested** | Rocky linux, Fedora 34 |
**Systems where it works** | Any linux system |
**--creds\_json** | json file with google credentials |
**--creds\_base64** | Base 64 of json file with google credentials |
**--port** | Port. Default : 8080 |
**--file\_name** | Name of the file, which is to be monitored and the date of its last change. Need be propietary or have edit privileges. |
**--log\_file** | Log file path |
**--agent\_prefix** | Prefix for all agents created by the plugin |
**--module\_prefix** | Prefix for all modules created by the plugin |
**--interval** | Agent monitoring interval |
**--temporal** | PandoraFMS temporary directory |
**--data\_dir** | PandoraFMS Data Directory |
**--transfer\_mode** | Data transfer mode, local or tentacle |
**--tentacle\_client** | Tentacle client path, by default "tentacle\_client". |
**--tentacle\_opts** | Additional tentacle options |
**--tentacle\_port** | Tentacle Port |
**--tentacle\_address** | Tentacle IP |
For each parameter a macro must be configured, the syntax of this macro being the following : \_fieldx\_, where x is the positional number of the parameter.
[](https://pandorafms.com/guides/public/uploads/images/gallery/2024-03/5pximage.png) **5. The previous macros are configured, adding the value of the parameter in each one:** [](https://pandorafms.com/guides/public/uploads/images/gallery/2024-03/BHwimage.png) **6. Once configured, we should create a module in an agent that executes the plugin. In the modules menu of an agent we create a new plugin type module:** [](https://pandorafms.com/guides/public/uploads/images/gallery/2024-03/ykpimage.png) **7. In the module configuration menu, give it a name, select the plugin configured before and click on "create".** [](https://pandorafms.com/guides/public/uploads/images/gallery/2024-03/K7wimage.png) **8. The agent will be created with the modules or the modules in the selected agent in the next execution of the plugin:** [](https://pandorafms.com/guides/public/uploads/images/gallery/2024-03/qnbimage.png) # Agent and modules generated by the plugin The plugin will create an agent named <Prefix>Google Drive, with the following modules:< Prefix > < Google Drive Used > |
< Prefix > < File name > |