Nagios: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 25: | Zeile 25: | ||
This is done by intention and will not fixed. See also #538828 for more informations. | This is done by intention and will not fixed. See also #538828 for more informations. | ||
| − | |||
| − | |||
=== Mails Benachichtigungen Limitieren === | === Mails Benachichtigungen Limitieren === | ||
| Zeile 36: | Zeile 34: | ||
I must admit I haven't tried it though. | I must admit I haven't tried it though. | ||
| − | |||
== Nagios Grapher == | == Nagios Grapher == | ||
| Zeile 42: | Zeile 39: | ||
== Links == | == Links == | ||
* http://www.nagios-wiki.de/nagios/howtos/nagiosgrapher | * http://www.nagios-wiki.de/nagios/howtos/nagiosgrapher | ||
| + | * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571801 | ||
| + | * http://osdir.com/ml/network.nagios.plugins/2008-05/msg00070.html | ||
Version vom 3. März 2011, 09:32 Uhr
Nagios
Aktivieren von External Commands
Nagios 3 is not configured to look for external commands in the default configuration as a security feature. To enable external commands, you need to allow the web server write access to the nagios command pipe. the simplest way of doing this is to set check_external_commands=1 in your nagios configuration, and then change the permissions in a way which will be maintained across package upgrades (otherwise dpkg will overwrite your permission changes). The following is the recommended approach: - activate external command checks in the nagios configuration. this can be done by setting check_external_commands=1 in the file /etc/nagios3/nagios.cfg. sed -i "s/check_external_commands=0/check_external_commands=1/" /etc/nagios3/nagios.cfg - perform the following commands to change directory permissions and to make the changes permanent: /etc/init.d/nagios3 stop dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3 /etc/init.d/nagios3 start This is done by intention and will not fixed. See also #538828 for more informations.
Mails Benachichtigungen Limitieren
If you want to receive only 1 mail, it's easy. Set the notification_interval to 0. But if you want 2, I guess you might achieve this using escalation and setting notification_interval to 0. Defining escalation with first_notification 2, and last_notification 2, it should work. I must admit I haven't tried it though.