Page History
...
- Add an open square bracket ( [ ) character to top of the file and a closed square bracket ( ] ) character to the bottom of the file. The plugin entries should be listed between these characters.
- In the public extension.json file, search for the plugin monitor(s) that you want to include in your local extension.json file. Each plugin section is encompassed by curly brackets ({ and }).
- When copying plugin entries from the public extension.json file to your internal copy, ensure that the very last plugin entry does not have a trailing comma character (,) after the closing curly bracket. The comma is used to separate plugin entries in the extension.json file.
- For each plugin entry in your local extension.json file, change the git_file_target field from the public location to http://uptimehost:9999/PluginRepo/plugin.zip.IfyouhaveanalternatepluginzipfilestoragelocationthatisaccessiblebytheUptimeInfrastructureMonitorMonitoringStation, modify the link accordingly.
- The icon_url field or grid_url_target fields should be left as is.
This example local extension.json file only contains the File and Directory and Enhanced Log monitor plugins. You may include as many or as few as you desire.
Code Block | ||
---|---|---|
| ||
[ { "category": "Operating System Monitors", "supported_versions": \[ "7.3" ], "name": "File and Directory", "git_file_target": "https://github.com/uptimesoftware/file-directory-monitor/raw/develop/dist/file- directory-monitor.zip", "icon_url": "http://the-grid.uptimesoftware.com/img/posts/placeholder-logo.png", "upgrade_in_place": true, "requires_additional_setup": false, "requires_agent_scripts": true, "version": "4.0", "supported_platforms": \[ "windows", "linux" ], "grid_url_target": "http://the-grid.uptimesoftware.com/plugin/file-directory-monitor.html", "type": "plugin", "description": "Monitor the number of files, largest size, and how old the files are in a directory." }, { "category": "Operating System Monitors", "supported_versions": \[ "7.3" ], "name": "Enhanced Log Monitor", "git_file_target": "https://github.com/uptimesoftware/enhanced-logfile-monitor/raw/develop/dist/enhanced-logfile-monitor.zip", "icon_url": "http://the-grid.uptimesoftware.com/img/posts/placeholder-logo.png", "upgrade_in_place": true, "requires_additional_setup": false, "requires_agent_scripts": true, "version": "3.0", "supported_platforms": [ "windows", "linux" ], "grid_url_target": "http://the-grid.uptimesoftware.com/plugin/enhanced-logfile-monitor.html", "type": "plugin", "description": "This monitor is designed for use with the Uptime monitoring station and Windows, Linux, Solaris or AIX agents. It scans for certain log files on the agent system and searches the files for a specified string (regex compatible). It will scan only new lines in files and not generate alerts for older issues. It keeps track of this by using a bookmark (in a temp file) so each time it runs it will simply go to the last position in the file and continue scanning. It is designed to scan large (multi-GB) as well as many files within a second." } ] |
...