如何配置Kali上Greenbone Security Assistant 7.0.2的RRD性能报告?
Hey there, let's get that proper RRD-based performance report working instead of the basic Fallback Report you're seeing. Here's how to configure it step by step:
1. Install Required RRD Dependencies
First, make sure the RRDtool and its libraries are installed—GSA relies on these to generate the rich performance graphs. Run this in your terminal:
sudo apt update && sudo apt install rrdtool librrd-dev
2. Configure GVMD for RRD Data Storage
GVMD (the Greenbone Vulnerability Manager daemon) handles collecting and storing performance data in RRD files. Edit its config file:
sudo nano /etc/gvm/gvmd.conf
Add or verify these lines exist in the file:
# Ensure database socket connection is set (default should be this, but double-check) db_address = /run/gvmd/gvmd.sock # Specify directory where RRD files will be stored rrd_directory = /var/lib/gvm/rrd
Save and exit the editor (Ctrl+O, Enter, then Ctrl+X in nano).
3. Fix RRD Directory Permissions
The rrd_directory needs to be writable by the gvm user. Set the correct ownership and permissions:
sudo chown -R gvm:gvm /var/lib/gvm/rrd sudo chmod -R 750 /var/lib/gvm/rrd
4. Restart GVM Services
Apply the changes by restarting the relevant daemons:
sudo systemctl restart gvmd sudo systemctl restart gsad
5. Wait for Data Collection & Verify
RRD reports require some data to be collected first—give it 15-30 minutes for GVMD to gather enough metrics. Then refresh your Greenbone Security Assistant page, navigate to the performance report section, and you should see the full RRD-based graphs (CPU usage, memory stats, disk I/O, etc.) instead of the Fallback Report.
Troubleshooting Tips
If you still see the Fallback Report, check the GVMD logs for errors related to RRD:
sudo journalctl -u gvmd | grep -i rrd
Look for messages about permission issues, missing directories, or RRDtool execution failures—these will point you to what needs fixing. Also, ensure all your GVM components (GVMD, GSAD, OpenVAS Scanner) are on compatible versions with GSA 7.0.2 (this should be the case if you installed them via Kali's official repos).
内容的提问来源于stack exchange,提问作者ceskib

