...
- Distant Server
- Select user for rsync actions
- Install the appropriate ssh public key in .ssh/authorized_keys
- Select a directory for opReports (ensure permissions are correct)
- OMK Server
- Select a directory for opReports that should be placed on the distant server.
- Create a cron job that rsync's the selected directory to the corresponding distant server directory.
Example cron job:
Code Block | ||
---|---|---|
| ||
### This cron job will sync the /data/reports directory to a distant server
* * * * * root rsync -rz /data/reports 192.168.10.71:/data/share/omk/. |
Configuration
The new directory needs to be added to the opreports_output_dirs array in /usr/local/omk/conf/opCommon.nmis. In the example below /data/reports was added.
...