×
Back to ITRS Internal Only FAQ
Internal documentation only
This page has been marked as draft.
Netflow_housekeeping
Description Copied
This script removes Netflow data that exceeds the configured retention period for collectors, helping to reduce disk usage.
Problem Copied
In some cases, Netflow data older than the retention period may not be automatically removed by the netflow_housekeeping script included with the Netflow Collector installation.
Impact of Netflow Housekeeping Not Running Copied
- Increased disk usage: Accumulation of Netflow data beyond the retention period.
- Increased inode usage: Potentially affecting file system capacity.
Prerequisites Copied
- Opsview support scripts must be installed on the orchestrator/collector: Opsview - Install support scripts
- Ensure these are up-to-date: Opsview - Update support scripts
Process Copied
After downloading the support scripts, follow the steps below:
1. Run the netflow_housekeeping script manually to verify it executes successfully:
/opt/opsview/supportscripts/bin/netflow_housekeeping
**2.**Schedule the script to run automatically by adding it to the root crontab:
crontab -e
Add the following entry (example runs daily at 00:10):
10 0 * * * /opt/opsview/supportscripts/bin/netflow_housekeeping
3. Save and exit the crontab editor.
["Geneos"]
["FAQ"]