munin-server: utilisation de fastcgi
Sorry, mais j'ai préféré ne pas le faire avec fastcgiwrap pour être sûr de contrôler le nombre de process lancés à un instant donné. De plus, je galérais avec les path et les requests_uri pour les faire fitter aux pages que munin génère.
This commit is contained in:
parent
8e6e5552ed
commit
f5ed044766
8 changed files with 136 additions and 3 deletions
|
@ -186,6 +186,14 @@ service("mysql",
|
|||
service("munin-node",
|
||||
pidf="munin/munin-node")
|
||||
|
||||
service("munin-server",
|
||||
name="munin-fastcgi",
|
||||
pidf="munin/fastcgi-munin-graph",
|
||||
extra=[
|
||||
"if failed unixsocket /var/run/munin/fastcgi-munin-graph.sock then restart",
|
||||
"if failed unixsocket /var/run/munin/fastcgi-munin-html.sock then restart",
|
||||
])
|
||||
|
||||
service("nslcd",
|
||||
pidf="nslcd/nslcd",
|
||||
extra=["if failed unixsocket /var/run/nslcd/socket then restart"])
|
||||
|
|
|
@ -38,13 +38,13 @@ contact.roots.command mail -s "Munin - ${var:host} : ${var:graph_title}" nobody@
|
|||
#contact.impression.command mail -s "Munin - ${var:graph_title}" impression@crans.org
|
||||
|
||||
# Nagios
|
||||
contact.nagios.command /usr/sbin/send_nsca -H localhost -c /etc/send_nsca.cfg -to 120 > /dev/null
|
||||
contacts nagios
|
||||
#contact.nagios.command /usr/sbin/send_nsca -H localhost -c /etc/send_nsca.cfg -to 120 > /dev/null
|
||||
#contacts nagios
|
||||
|
||||
# Les graphes sont réalisés via le CGI
|
||||
graph_strategy cgi
|
||||
cgiurl /munin-bin
|
||||
cgiurl_graph /munin-cgi/munin-cgi-graph
|
||||
cgiurl_graph /munin-graph
|
||||
|
||||
# Et l'html aussi
|
||||
html_strategy cgi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue