Skip to content
Permalink
Browse files

Moved config examples to subdirectory, add example for ngnix

  • Loading branch information
MathiasKettner committed Aug 24, 2014
1 parent 3b80897 commit f617a1cc2967dd90fc8b3ada481de4d9cae780e9
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,16 @@
# Example configuration file. If you do not supply
# a configuration file then autodetection is being tried.

servers = [
{
"protocol" : "http",
"address" : "localhost",
"port" : 80,
},
{
"protocol" : "https",
"address" : "localhost",
"port" : 443,
"page" : "nginx_status",
},
]
File renamed without changes.
@@ -43,22 +43,7 @@ description:
The plugin tries to autodetect all running nginx servers. If that fails
for some reason you need to create the configuration file
{/etc/check_mk/nginx_status.cfg} and configure your servers in that file.
Take a look at the example section for the content of that file.

examples:
servers = [
{
'protocol' : 'http',
'address' : 'localhost',
'port' : 80 ,
},
{
'protocol' : 'https',
'address' : 'localhost',
'port' : 443 ,
'page' : 'my-server-status',
},
]
You find an example of that file in your agent directory ({share/check_mk/agents}).

inventory:
One service per web server will be created.

0 comments on commit f617a1c

Please sign in to comment.
You can’t perform that action at this time.