Created
June 4, 2024 23:06
-
-
Save mackuba/1d298aba7a96d40b232c4fe51a99390f to your computer and use it in GitHub Desktop.
Munin CGI configuration to allow zooming in charts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Munin graph CGI | |
After=network.target syslog.target | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=/usr/bin/spawn-fcgi -n -s /var/run/munin/fastcgi-graph.sock -u www-data /usr/lib/munin/cgi/munin-cgi-graph | |
TimeoutSec=15 | |
Restart=on-failure | |
RestartSec=1 | |
SyslogIdentifier=munin-cgi | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install spawn-fcgi libcgi-fast-perl | |
# add /etc/systemd/system/munin-cgi.service | |
sudo systemctl enable --now munin-cgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment