Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:server_monitoring [2019/03/25 10:25] fiserp [Monitoring of server with CzechIdM] |
tutorial:adm:server_monitoring [2019/03/25 10:28] fiserp [Implementation] |
||
---|---|---|---|
Line 33: | Line 33: | ||
===== Implementation ===== | ===== Implementation ===== | ||
We will use nrpe and probes from the standard system packages. We have epel repository enabled. | We will use nrpe and probes from the standard system packages. We have epel repository enabled. | ||
- | * NRPE daemon will listen on 5666\tcp (its default port). Open the port in your iptables by adding the rule: //-A INPUT -m state --state ESTABLISHED, | + | * NRPE daemon will listen on 5666\tcp (its default port). Open the port in your iptables by adding the rule: '' |
- | * All probes are located in their default installation location | + | * All probes are located in their default installation location |
- | * We use one external probe check_mem | + | * We use one external probe check\_mem |
<code bash> | <code bash> | ||
#!/bin/bash | #!/bin/bash | ||
- | # Modified for CentOS7 - Petr Fiser, BCV solutions s.r.o. | + | # Original version https:// |
+ | # Modified for CentOS7/ | ||
if [ " | if [ " | ||