Gentoo Archives: gentoo-user-de

From: Boris <boris@×××××××.eu>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] nagios-Problem
Date: Fri, 12 Oct 2007 09:14:46
Message-Id: 470F3848.6060700@voelkle.eu
In Reply to: Re: [gentoo-user-de] nagios-Problem by Michael Gisbers
1 >
2 > Dann überprüf doch einfach mal, ob die Dateien auch alle von dem nagios - User
3 > lesbar sind.
4 >
5 >
6 sind sie
7
8 bigB ~ # ls -laR /etc/nagios/nessensohn/
9 /etc/nagios/nessensohn/:
10 total 72
11 drwxr-xr-x 6 nagios nagios 4096 Oct 11 20:56 .
12 drwxrwxr-x 4 nagios nagios 4096 Oct 11 20:56 ..
13 -rw-r--r-- 1 nagios nagios 7694 Oct 11 20:53 commands.cfg
14 -rw-r--r-- 1 nagios nagios 2166 Oct 11 20:53 contacts.cfg
15 -rw-r--r-- 1 nagios nagios 5403 Oct 11 20:53 localhost.cfg
16 drwxr-xr-x 2 nagios nagios 4096 Oct 7 17:39 printer
17 -rw-r--r-- 1 nagios nagios 3132 Oct 11 20:53 printer.cfg
18 drwxr-xr-x 2 nagios nagios 4096 Oct 7 17:39 router
19 drwxr-xr-x 2 nagios nagios 4096 Oct 7 21:51 servers
20 -rw-r--r-- 1 nagios nagios 3302 Oct 11 20:53 switch.cfg
21 -rw-r--r-- 1 nagios nagios 10821 Oct 11 20:53 templates.cfg
22 -rw-r--r-- 1 nagios nagios 3209 Oct 11 20:53 timeperiods.cfg
23 -rw-r--r-- 1 nagios nagios 4007 Oct 11 20:53 windows.cfg
24 drwxr-xr-x 2 nagios nagios 4096 Oct 7 17:39 workstations
25
26 /etc/nagios/nessensohn/printer:
27 total 8
28 drwxr-xr-x 2 nagios nagios 4096 Oct 7 17:39 .
29 drwxr-xr-x 6 nagios nagios 4096 Oct 11 20:56 ..
30
31 /etc/nagios/nessensohn/router:
32 total 8
33 drwxr-xr-x 2 nagios nagios 4096 Oct 7 17:39 .
34 drwxr-xr-x 6 nagios nagios 4096 Oct 11 20:56 ..
35
36 /etc/nagios/nessensohn/servers:
37 total 24
38 drwxr-xr-x 2 nagios nagios 4096 Oct 7 21:51 .
39 drwxr-xr-x 6 nagios nagios 4096 Oct 11 20:56 ..
40 -rw-r--r-- 1 nagios nagios 4007 Oct 7 21:51 Srv-sql-sag.cfg
41 -rw-r--r-- 1 nagios nagios 4007 Oct 7 21:50 bio-data.cfg
42 -rw-r--r-- 1 nagios nagios 4007 Oct 7 21:50 bio-terminal.cfg
43 -rw-r--r-- 1 nagios nagios 4030 Oct 7 21:49 work-gateway.cfg
44
45 /etc/nagios/nessensohn/workstations:
46 total 8
47 drwxr-xr-x 2 nagios nagios 4096 Oct 7 17:39 .
48 drwxr-xr-x 6 nagios nagios 4096 Oct 11 20:56 ..
49
50 Das Problem geht erst los, wenn ich cfg_dir=/etc/nagios/nessensohn verwände.
51 Nagios hat doch die Eigenschaft, dass es sämtliche .cfg-Dateien rekursiv
52 auslist ?
53 Auch wenn ich die Direkive auf cfg_dir=/etc/nagios/nessensohn/servers
54 setze gibts einen Fehler.
55
56 Gruss
57 Boris
58
59
60 --
61
62 ---------------------------------------------------------------------
63 ---- boris@×××××××.eu -------- www.voelkle.eu -----------------------
64 ---------------------------------------------------------------------
65 ---- Schlüssel-ID:0x53571272 --- pool.sks-keyservers.net ------------
66 ---------------------------------------------------------------------
67 ---- Fingerprint:BDEA F0DE 7485 0239 0659 D48F 3DC4 3AA9 5357 1272 --
68 ---------------------------------------------------------------------

Attachments

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

Replies

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