Project

General

Profile

Anomalie #1066

installation de nagios pour remplacer zabbix

Added by Loïc Dachary over 9 years ago. Updated about 3 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

Associated revisions

Revision ca78344b (diff)
Added by Loïc Dachary over 9 years ago

Add the nagios.vm.april-int nagios server. refs #1066

History

#1

Updated by Loïc Dachary over 9 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
#2

Updated by Loïc Dachary over 9 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

#3

Updated by Loïc Dachary over 9 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
#4

Updated by Loïc Dachary over 9 years ago

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

#5

Updated by Quentin Gibeaux about 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF