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
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
proxy_pass localhost:8090; | |
} | |
} |
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
server { | |
listen 8090; | |
server_name localhost; | |
location / { | |
proxy_pass localhost; | |
} | |
} |
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
Interval Since Last Panic Report: 276904 sec | |
Panics Since Last Report: 1 | |
Anonymous UUID: A32457F1-519F-4B3F-83DD-FD6519CA313D | |
Wed Nov 16 21:43:55 2011 | |
panic(cpu 2 caller 0xffffff80002c266d): Kernel trap at 0xffffff8000539801, type 14=page fault, registers: | |
CR0: 0x000000008001003b, CR2: 0xfffffffffffffe6d, CR3: 0x000000002ffa4085, CR4: 0x00000000000606e0 | |
RAX: 0xffffff800d08a808, RBX: 0xffffff800bca4a68, RCX: 0x0000000000000024, RDX: 0xffffff800cdf8800 | |
RSP: 0xffffff807fb6bd50, RBP: 0xffffff807fb6bd90, RSI: 0xffffff8010193098, RDI: 0xffffff800cdf8800 | |
R8: 0xffffff80008bdb40, R9: 0xffffff800778da10, R10: 0xfffffe800168c2a8, R11: 0x00000000001592f4 |
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
StartServers 50 | |
MinSpareServers 15 | |
MaxSpareServers 30 | |
MaxClients 225 | |
MaxRequestsPerChild 4000 |
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
74.96.178.237 - - [09/Jan/2012:02:11:46 +0000] "GET /rss.xml HTTP/1.0" 200 19192 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1" vhost=onegsb.stanford.edu hosting_site=sfordgsb request_time=60002 | |
201.9.222.64 - - [09/Jan/2012:02:11:48 +0000] "GET /favicon.ico HTTP/1.0" 404 63 "http://primeiro-acto.blogspot.com/2010/08/ir-ao-encontro-do-cliente.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7" vhost=onegsb.stanford.edu hosting_site=sfordgsb request_time=0 | |
- - - [09/Jan/2012:02:11:58 +0000] "POST /Shibboleth.sso/SAML2/POST HTTP/1.0" 302 205 "https://idp.stanford.edu/idp/profile/SAML2/Redirect/SSO" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)" vhost=onegsb.stanford.edu hosting_site=sfordgsb request_time=28000 | |
212.113.37.105 - - [09/Jan/2012:02:12:11 +0000] "GET /node?page=31&page0_000000E_00_000000E_00_000000E_0a_href%252525255E%252525255E%252525255E%2 |
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
class utility { | |
package { "htop": | |
ensure => installed, | |
} | |
} |
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
node default { | |
include hiera | |
include nagios::client | |
} |
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
class nagios::client { | |
file { "$nrpedir/nrpe.cfg": | |
owner => $nrpeuser, | |
group => $nrpegroup, | |
mode => 644, | |
content => template("nagios/nrpe.cfg.erb") | |
} | |
} |
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
$allowed_hosts = ['localhost', 'nagios.mycompany.com'] | |
$nrpeservice = "nrpe" | |
$nrpepattern = "nrpe" | |
$nrpepackage = "nrpe" | |
$nrpedir = "/etc/nagios" | |
$nrpeuser = "nrpe" | |
$nrpegroup = "nrpe" | |
$pluginsdir = "/usr/local/nagios/libexec" |
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
:hierarchy: - %{environment}/%{location}/%{calling_module} | |
- %{environment}/%{calling_module} | |
- common |
OlderNewer