Nagios: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(17 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
== Nagios ==
+
*[[Nagios Core]]
=== Aktivieren von External Commands ===
+
*[[Nagios Xi]]
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.
 
 
- perform the following commands to change directory permissions and
 
  to make the changes permanent:
 
<source lang="bash">
 
sed -i "s/check_external_commands=0/check_external_commands=1/" /etc/nagios3/nagios.cfg
 
/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
 
</source>
 
This is done by intention and will not fixed. See also #538828 for more informations.
 
 
 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571801
 
 
 
== Nagios Grapher ==
 
 
 
== Links ==
 
* http://www.nagios-wiki.de/nagios/howtos/nagiosgrapher
 

Aktuelle Version vom 3. Februar 2022, 11:03 Uhr