Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revize Předchozí verze Následující verze | Předchozí verze Následující verze Obě strany příští revize | ||
linux:centos:nagios [02.08.2016 17:45] vm |
linux:centos:nagios [02.08.2016 17:46] vm |
||
---|---|---|---|
Řádek 23: | Řádek 23: | ||
<note>If the host is behind a firewall, or you have enabled firewall software on the host, you need to open for incoming traffic on TCP port 5666.</note> | <note>If the host is behind a firewall, or you have enabled firewall software on the host, you need to open for incoming traffic on TCP port 5666.</note> | ||
+ | iptables -A INPUT -p tcp -m tcp --dport 5666 -j ACCEPT | ||
Nagios plugins are located at ''/usr/lib64/nagios/plugins/'' folder. | Nagios plugins are located at ''/usr/lib64/nagios/plugins/'' folder. | ||
Řádek 59: | Řádek 60: | ||
If you do not want change SElinux policy, another workaround is to exclude offending file systems using -X flags in check definition. | If you do not want change SElinux policy, another workaround is to exclude offending file systems using -X flags in check definition. | ||
- | -X configfs -X cgroup -X tmpfs -X selinuxfs -X sysfs -X proc -X mqueue -X binfmt_misc -X devtmpfs | + | /usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -X configfs -X cgroup -X tmpfs -X selinuxfs -X sysfs -X proc -X mqueue -X binfmt_misc -X devtmpfs |
Source: | Source: | ||
* [[https://bugzilla.redhat.com/show_bug.cgi?id=1255948]] | * [[https://bugzilla.redhat.com/show_bug.cgi?id=1255948]] | ||
* [[http://edvoncken.net/2012/01/workaround-for-nagios-check_disk-failure-in-rhel-centos-6-2/]] | * [[http://edvoncken.net/2012/01/workaround-for-nagios-check_disk-failure-in-rhel-centos-6-2/]] |
linux/centos/nagios.txt · Poslední úprava: 15.09.2016 16:56 autor: vm