Project

General

Profile

Actions

Anomalie #1066

closed

installation de nagios pour remplacer zabbix

Added by Loïc Dachary about 12 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Immédiate
Assignee:
Category:
Task
Target version:
Start date:
12/03/2012
Due date:
12/03/2012
% Done:

100%

Estimated time:
Spent time:
Difficulté:
2 Facile

Description

suite à la décision de remplacer zabbix par nagios ( #1047 ), il faut installer un nagios

Actions #1

Updated by Loïc Dachary about 12 years ago

commit c3eb50adfc902444a45f8eece8f2b56b0b6dde19
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Dec 3 11:33:16 2012 +0100

    Definition de nagios.vm

diff --git a/bind/zones/masters/vm.april-int b/bind/zones/masters/vm.april-int
index 3dcc04c..d10cc86 100644
--- a/bind/zones/masters/vm.april-int
+++ b/bind/zones/masters/vm.april-int
@@ -14,4 +14,5 @@ controller            IN      A       192.168.4.1
 puppet                 IN      A       192.168.4.2
 jenkins                        IN      A       192.168.4.3
 nagios-hetzner         IN      A       192.168.4.4
+nagios                 IN      A       192.168.4.5
 april-ci               IN      A       192.168.5.1
Actions #2

Updated by Loïc Dachary about 12 years ago

root@nagios:/etc# git show
commit 9ebafe143b7db0e1230f4158215b4dcb439e10de
Author: Loic Dachary <loic@dachary.org>
Date:   Mon Dec 3 11:34:10 2012 +0000

    disable authentication because the VM is only accessible via the LAN

diff --git a/nagios3/apache2.conf b/nagios3/apache2.conf
index 0affebd..bbdb3b9 100644
--- a/nagios3/apache2.conf
+++ b/nagios3/apache2.conf
@@ -41,7 +41,7 @@ Alias /nagios3 /usr/share/nagios3/htdocs
        AuthUserFile /etc/nagios3/htpasswd.users
        # nagios 1.x:
        #AuthUserFile /etc/nagios/htpasswd.users
-       require valid-user
+       #require valid-user
 </DirectoryMatch>

 <Directory /usr/share/nagios3/htdocs>
diff --git a/nagios3/cgi.cfg b/nagios3/cgi.cfg
index 1d6cc30..609ca28 100644
--- a/nagios3/cgi.cfg
+++ b/nagios3/cgi.cfg
@@ -88,7 +88,7 @@ nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/cache/nagios3/sta
 # authentication (bad idea), while any other value will make them
 # use the authentication functions (the default).

-use_authentication=1
+use_authentication=0

Actions #3

Updated by Loïc Dachary about 12 years ago

  • Due date changed from 12/14/2012 to 12/03/2012
  • Status changed from En cours de traitement to Résolu
  • % Done changed from 0 to 100
Actions #4

Updated by Loïc Dachary about 12 years ago

apt-get install postfix et acceptation de la configuration par défaut comme "Internet" site

Actions #5

Updated by Quentin Gibeaux over 5 years ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF