Gentoo Archives: gentoo-user-de

From: Boris <boris@×××××××.eu>
To: gentoo-de <gentoo-user-de@l.g.o>
Subject: [gentoo-user-de] nagios-Problem
Date: Fri, 12 Oct 2007 07:06:38
Message-Id: 470F19AC.4090105@voelkle.eu
1 Hallo @all,
2
3 hoffe mir kann einer weiterhelfen:
4
5 Folgendes Problem:
6
7 Ich habe Nagios-3.0 manuell kombiliert, schön nach Anweisung
8 konfiguriert ( Buchvon Barth und Online-Doku).
9 Hat auch alles geklappt. Im nächsten Schritt hab ich einen Ordner
10 angelegt mit Unterordner:
11
12 bigB ~ # tree /etc/nagios/
13 /etc/nagios/
14 |-- cgi.cfg
15 |-- htpasswd
16 |-- nagios.cfg
17 |-- nessensohn
18 | |-- commands.cfg
19 | |-- contacts.cfg
20 | |-- localhost.cfg
21 | |-- printer
22 | |-- printer.cfg
23 | |-- router
24 | |-- servers
25 | | |-- Srv-sql-sag.cfg
26 | | |-- bio-data.cfg
27 | | |-- bio-terminal.cfg
28 | | `-- work-gateway.cfg
29 | |-- switch.cfg
30 | |-- templates.cfg
31 | |-- timeperiods.cfg
32 | |-- windows.cfg
33 | `-- workstations
34 |-- objects
35 | |-- commands.cfg
36 | |-- contacts.cfg
37 | |-- localhost.cfg
38 | |-- printer.cfg
39 | |-- switch.cfg
40 | |-- templates.cfg
41 | |-- timeperiods.cfg
42 | `-- windows.cfg
43 `-- resource.cfg
44
45 6 directories, 24 files
46
47 In der /etc/nagios/nagios.cfg hab ich auf cfg_dir=/etc/nagios/nessensohn
48 gesetzt, auch sind die Berechtigungen alle auf nagios:nagios gesetzt.
49
50
51
52 # Definitions for monitoring a Windows machine
53 #cfg_file=/etc/nagios/objects/windows.cfg
54
55 # Definitions for monitoring a router/switch
56 #cfg_file=/etc/nagios/objects/switch.cfg
57
58 # Definitions for monitoring a network printer
59 #cfg_file=/etc/nagios/objects/printer.cfg
60
61
62 # You can also tell Nagios to process all config files (with a .cfg
63 # extension) in a particular directory by using the cfg_dir
64 # directive as shown below:
65
66 cfg_dir=/etc/nagios/nessensohn
67
68 #cfg_dir=/etc/nagios/printers
69 #cfg_dir=/etc/nagios/switches
70
71 Eine Prüfung der Konfiguration ergibt keine Fehler. Erst wenn ich den
72 Nagios starten will, bricht er ab mit der Meldung, dass ich meine .cfg
73 überprüfen soll.
74 In den Log-Files find ich nix. Steh etwas auf dem Schlauch.
75
76
77 Gruss
78
79 Boris
80
81
82
83 --
84
85 ---------------------------------------------------------------------
86 ---- boris@×××××××.eu -------- www.voelkle.eu -----------------------
87 ---------------------------------------------------------------------
88 ---- Schlüssel-ID:0x53571272 --- pool.sks-keyservers.net ------------
89 ---------------------------------------------------------------------
90 ---- Fingerprint:BDEA F0DE 7485 0239 0659 D48F 3DC4 3AA9 5357 1272 --
91 ---------------------------------------------------------------------

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user-de] nagios-Problem Michael Gisbers <Michael@×××××××.de>
Re: [gentoo-user-de] nagios-Problem Tobias Scherbaum <dertobi123@g.o>