ok let us try getting collectd to work
This commit is contained in:
parent
f70f7a9580
commit
6d8898f6bc
1 changed files with 4 additions and 2 deletions
|
@ -23,12 +23,14 @@ ScriptAlias /tac.cgi /usr/lib64/nagios/cgi-bin/tac.cgi
|
||||||
Options ExecCGI
|
Options ExecCGI
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
{% if vars['nagios_location'] == 'external' %}
|
|
||||||
<Location /apache-status>
|
<Location /apache-status>
|
||||||
SetHandler server-status
|
SetHandler server-status
|
||||||
|
{% if vars['nagios_location'] == 'external' %}
|
||||||
Require ip 2610:28:3090:3001:dead:beef:cafe:fed9
|
Require ip 2610:28:3090:3001:dead:beef:cafe:fed9
|
||||||
</Location>
|
{% else %}
|
||||||
|
Require ip 127.0.0.1
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</Location>
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^/$ /nagios/ [R]
|
RewriteRule ^/$ /nagios/ [R]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue