Gentoo Archives: gentoo-user-de

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

Attachments

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

Replies

Subject Author
Re: [gentoo-user-de] nagios-Problem Boris <boris@×××××××.eu>