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 14:31:57
Message-Id: 470F828D.7000806@voelkle.eu
In Reply to: Re: [gentoo-user-de] nagios-Problem by Tobias Scherbaum
1 Tobias Scherbaum schrieb:
2 > Moin,
3 >
4 > zunächst: Es ist für gewöhnlich einfacher das ganze mit dem
5 > Paketmanagement zu erledigen, Ebuilds für Nagios-3* gibts hier:
6 > http://blog.scherbaum.info/2007/09/30/nagios-30b4-ebuilds-and-nagios-plugins-1410/
7 >
8 Hi Tobi,
9 sollt ich die Seite öffters besuchen ;-) ?
10 hab das ganze vor gut einem Monat aufgesetzt und selber combiliert (
11 Projekt-Arbeit).
12
13 Der Ursprüngliche Fehler taucht eigentlich auch nichtmehr auf seit ich
14 die >DIrektive auf cfg_dir=/etc/nagios/
15 gesetzt habe.
16
17
18 > Am Freitag, den 12.10.2007, 08:52 +0200 schrieb Boris:
19 >
20 >> In den Log-Files find ich nix. Steh etwas auf dem Schlauch.
21 >>
22 >
23 > Poste mal die Ausgabe von '/usr/nagios/bin/nagios
24 > -v /etc/nagios/nagios.cfg' - zumindest den interessanten Teil ;)
25 >
26 > Gruß,
27 > Tobias
28 >
29 >
30
31 bigB ~ # /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg
32
33 Nagios 3.0b3
34 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
35 Last Modified: 08-30-2007
36 License: GPL
37
38 Reading configuration data...
39
40 Error: Unexpected token or statement in file '/etc/nagios/resource.cfg'
41 on line 26.
42
43 Das wäre dieser hier:
44
45
46 25: # Sets $USER1$ to be the path to the plugins
47 26: $USER1$=/usr/local/nagios/libexec
48
49
50 Seltsamer weise startet er aber trotzdem:
51
52 bigB ~ # /etc/init.d/nagios restart
53 Running configuration check...done
54 Stopping nagios: done.
55 Starting nagios: done.
56
57 Auch hab ich nun die ganzen hosts.cfg, hostgroups.cfg und services.cfg
58 nach gebessert, bzw. erstellt, aber auf
59 dem Web-Interface wird trotzdem nichts Angezeigt
60
61 --
62
63 ---------------------------------------------------------------------
64 ---- boris@×××××××.eu -------- www.voelkle.eu -----------------------
65 ---------------------------------------------------------------------
66 ---- Schlüssel-ID:0x53571272 --- pool.sks-keyservers.net ------------
67 ---------------------------------------------------------------------
68 ---- Fingerprint:BDEA F0DE 7485 0239 0659 D48F 3DC4 3AA9 5357 1272 --
69 ---------------------------------------------------------------------

Attachments

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

Replies

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