Wednesday, May 22nd 2013, 12:08am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

1

Wednesday, February 27th 2008, 4:20pm

Neuling braucht mal hilfe!

Moin,
ich hatte bereits mal ein Thema eröffnet, als es darum ging, ob ich das aufsetzen und grundkonfigurieren von Nagios als IHK-Projekt verwenden kann. Hab mich jetzt also dafür entschieden und probiere nach anfänglichen Server-Problemen nun seid 2Tagen rum...

Nach einer ewigen schlacht mit Paketen die nachinstalliert werden mussten, bin ich nur etwas weiter ;D
Installation ist durch :thumbsup: und nun bin ich am Anfang der Konfiguration.

Nun mein aktuelles Problem:
Theoretisch sollten unter /etc/nagios Sample Dateien stehen, diese sind aber nicht dort!
Liegen die vielleicht in meiner Version wo anders? oder wo bekomm ich sie her?
Arbeite anhand des Nagios Buches von Wolfgang Barth in der ersten Auflage... und ohne diese Samples schein ich jetzt nicht großartig weiter zu kommen!
make install-config hab ich übrigens gemacht, damit sollten die ja erstellt werden wenn ich mich nicht täusche...

Nur kurz noch zur Info:
beschäftige mich erst seid einigen Tagen mit Nagios und vorallem mit Linux! also immer schon langsam :D

freu mich über eure Antworten!
mfg
cooper

PS:werde bei nächsten Problemen wohl immer diesen Thread nehmen um das Forum nicht zu Flodden...
Die Suche hab ich bemüht(auch schon bei einigen Problemen vorher,sonst hättet ihr schon vorher von mir gehört :wacko:), aber ich habe leider nichts passendes gefunden....

Tom

Master

Posts: 2,450

Birthday: Aug 28th 1968 (44)

Gender: male

Location: Düsseldorf

Occupation: Inschenör

Number of monitoring servers: 8

Hobbies: Klettern, Reisen, Computern, Fotographieren

Nagios Version: 1.2 - 3.0.3

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 2600

Number of services: 14000

OS: Fedora/Centos

Plugin Version: 1.3 1.4

Other Addons: Apan, pnp, snmptt

2

Wednesday, February 27th 2008, 4:32pm

Du hast selbst compiliert?
Hast du make install-config ausgeführt?
Alternativ findest du die Beispielconfig im Verzeichnis, in dem du deine Sourcen entpackz hast im Unterordner sample-config

Gruß
Tom
No need to be perfect when you look good !!! :P

CrazyER

Intermediate

Posts: 161

Gender: male

Number of monitoring servers: 1

Nagios Version: 3.0

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 154

Number of services: 567

OS: SLES9

Plugin Version: 1.4.10

NagVis Version: 1.1rc3

NDO Version: 1.4b7

3

Wednesday, February 27th 2008, 4:38pm

OFFTOPIC !!!

Tagchen cooper,

wenn ich das nun auf die schnelle richtig verstanden habe, soll das dein Ablschlussprojekt für die ihk Prüfung sein ??

Nur mal so als Denkanstoss. Wie rechtfertigst du die Verwendung von einer RC Version gegenüber der IHK ?? Ich hab auch Nagios als Abschlussprojekt genommen und hab von Anfang an, versucht sämtliche kritische Merkmale in dem Projekt erst garnicht auftauchen zu lassen. Die Prüfer sind zwar auch nur Menschen, aber dennoch gerne sehr kritisch.

Zudem ist es möglich das generelle Fragen zu der Vorgehensweise der Installation und Berechtigungsfragen zum OS auftauchen können. Daher schonmal mein Tipp an dich, als Linux Neuling. Besorg dir noch den Koffler, falls du ihn noch nicht haben solltest.



Back to Topic !!

Im Buch wird die Installation einer 2.x Version beschrieben, und diese auch noch SEHR gut ;o) Ich hab die Version 3 mir noch nicht angeschaut, auch glaube ich, das es dort noch keine Samples gibt (LASSE MICH GERNE EINES BESSEREN BELEHREN). Also entweder du schaust dir die original Doku für Version 3 an oder installierst doch lieber eine 2.x Version. Die Konfiguratonen von Version 2 und Version 3 haben sich sehr stark geändert.

Grüße

Patrick

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

4

Wednesday, February 27th 2008, 4:53pm

Ja ich habe es selbst kompiliert und make install-config ausgeführt.
Hab grad mal in den sourcen geschaut, da sind welche. In den Samples ist aber genau das drin, was auch in der z.b. nagios.cfg drin steht, das ist aber lang nicht so umfangreich wie im benannten Buch beschrieben.

Da kommt dann die Idee von CrazyER ins spiel. Das Buch ist zur 2er version und ich hab die 3rc2 installiert, vielleicht gibt es da noch keine Samples....

@CrazyER (Offtpic):
Guter Ratschlag :S !!!
Hab da garnicht dran gedacht, dass das mit der RC-Version schwierig wird :D
Werde wohl vielleicht doch noch zur 2er Version greifen... ist vielleicht auch praktischer mit dem Buch, was mir echt den einstieg extrem vereinfacht!
Koffler? werd mal bei Amazon schauen ;D

Tom

Master

Posts: 2,450

Birthday: Aug 28th 1968 (44)

Gender: male

Location: Düsseldorf

Occupation: Inschenör

Number of monitoring servers: 8

Hobbies: Klettern, Reisen, Computern, Fotographieren

Nagios Version: 1.2 - 3.0.3

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 2600

Number of services: 14000

OS: Fedora/Centos

Plugin Version: 1.3 1.4

Other Addons: Apan, pnp, snmptt

5

Thursday, February 28th 2008, 8:52am

Ja ich habe es selbst kompiliert und make install-config ausgeführt.
Hab grad mal in den sourcen geschaut, da sind welche. In den Samples ist aber genau das drin, was auch in der z.b. nagios.cfg drin steht, das ist aber lang nicht so umfangreich wie im benannten Buch beschrieben.



Was fehlt dir denn?
Sicherlich kann es vorkommen, das du noch hier und da etwas anpassen mußt aber gerade Nagios.cfg und cgi.cfg sind nehezu komplett.

Gruß
Tom
No need to be perfect when you look good !!! :P

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

6

Thursday, February 28th 2008, 9:51am

In der nagios.cfg im Buch werden einige cfg_files eingebunden die in meiner Datei nicht drin stehen....
Werde auf jeden fall jetzt mal die 2er version drauf spielen und wenn ich da das gleiche problem habe, melde ich mich nochmal....
Wie deinstalliere ich denn am besten Nagios? einfach alle dateien von der platte löschen? also /etc/nagios, /usr/local/nagios .... ???

Tom

Master

Posts: 2,450

Birthday: Aug 28th 1968 (44)

Gender: male

Location: Düsseldorf

Occupation: Inschenör

Number of monitoring servers: 8

Hobbies: Klettern, Reisen, Computern, Fotographieren

Nagios Version: 1.2 - 3.0.3

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 2600

Number of services: 14000

OS: Fedora/Centos

Plugin Version: 1.3 1.4

Other Addons: Apan, pnp, snmptt

7

Thursday, February 28th 2008, 10:01am

Die cfg_files-Einträge sind doch ganz alleine dir überlassen. Du mußt festlegen, wie deine Files heißen und wo sie Liegen. Das kann in den Samples - wie der Name schon sagt - nur ein Beispiel sein. Eine Nueinstallation wird dir da nix bringen.
Unabhängig davon kannst du dir was die Deinstallation angeht einfach nochmal die Inst-Anweisung anschauen und einfach alle Schritte rückgängig machen, die dort aufegührt sind. Was die Files angeht, so kannst du das genannte Verzeichnis einfach löschen.

Gruß
Tom
No need to be perfect when you look good !!! :P

Lefty

Professional

Posts: 630

Birthday: Feb 3rd 1966 (47)

Gender: male

Location: Deutschland

Occupation: Tastendrücker und Mausschubser

Number of monitoring servers: 1

Nagios Version: 3.2.3 (omd 0.52)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 200+

Number of services: 4600+

OS: Ubuntu Server 10.04

Plugin Version: OMD 0.52

NagVis Version: OMD 0.52

NDO Version: OMD 0.52

Other Addons: alles aus OMD 0.52

8

Thursday, February 28th 2008, 10:15am

Habe gerade mal nachgesehen, in der 3.0rc1 und 3.0rc3 sind die Beispiele drin. Zu finden in .../nagios-3.0rcx/sample-config/template-object.

Oder meinst Du andere Beispiele? Ich habe das Buch leider nicht.

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

9

Thursday, February 28th 2008, 10:24am

mmh... hab grad schon alles gelöscht ;D
installiere jetzt grad 2.1.....
danke trotzdem, werde mich später melden....

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

10

Thursday, February 28th 2008, 11:32am

soooooooooooo.....
Ich hab dann jetzt mal versucht die Version 2.1 aufzusetzen (änder ich auch gleih im Profil :D )

Hatte diesmal zwischen drin nen Problem. Und zwar macht man ja per make install-init, um Nagios beim Systemstart starten zu lassen... bzw. man sollte noch

Source code

1
ln -s /etc/init.d/nagios /etc/init.d/rc2.d/S99nagios

eingeben... da kommt bei mir aber, dass er S99nagios nicht finden kann ;D
hab das genauso bei der 3rc2 gemacht, da ging das.... was kann kann ich vergessen haben oder falsch gemacht haben??? Bis jetzt läuft noch alles, hab aber auch noch nicht neugestartet....

Andererseits bin ich jetzt wieder an der selben Stelle wie am Ausgangsproblem. Hab jetzt und /etc/nagios die Dateien cfg.cfg, nagios.cfg, command.cfg, resource.cfg, localhost.cfg und ne htpasswd....
In der nagios.cfg wird jetzt nun mit dem cfg_file Parameter auf verschiedene cfg´s verwiesen: z.b contacts.cfg, dependencies.cfg, escalations.cfg,....... diese hab ich aber garnicht, und soweit ich das hier verstehe, müssten die ja dasein oder?
finde sie auch nicht bei sourcen oder woanders....
fehlt da was? ob versteh ich das falsch?

vielen dank
mfg
cooper

pitchfork

Administrator

Posts: 18,436

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

11

Thursday, February 28th 2008, 11:35am

warum suchst du in /etc/nagios ?

hast du beim ./configure angegeben das die config dort landen soll?

Jörg
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

12

Thursday, February 28th 2008, 11:37am

hab fologendes gemacht:

Source code

1
./configure --sysconfdir=/etc/nagios -- localstatedir=/var/nagios --with-command-group=nagcmd

wird so von Wolgang Barth empfohlen, dachte mir, ich halt mich mal dran.....

pitchfork

Administrator

Posts: 18,436

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

13

Thursday, February 28th 2008, 11:39am

und was sagt dir die summary nach dem ./configure lauf ?

Jörg
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

14

Thursday, February 28th 2008, 11:42am

da bin ich natürlich jetzt schon dran vorbei und hab sie auch nichtmehr im verlauf....
kann ich das einfach nochmal ausführen ohne auswirkungen zu haben? dann könnte ich die ausgabe poste....
mir ist da aber nichts ausergewöhnliches aufgefallen.....

pitchfork

Administrator

Posts: 18,436

Location: Kassel

Occupation: Sysadmin SAP / Linux / AIX

Number of monitoring servers: 2

Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)

Nagios Version: 3.2.3 ( OMD )

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 360

Number of services: 6700

OS: Debian 6.0

Plugin Version: 1.4.x

Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk

15

Thursday, February 28th 2008, 12:00pm

machst noch mal mit dem gleichen optionen.

Jörg
+++ PNP Developer +++ PNP 0.6.21 ist online ! +++
Hilfreiche Infos gefunden? Dann schnell ein paar Cent flattrn
OMD - Open Monitoring Distribution

Posts: 111

Birthday: Jul 5th 1981 (31)

Gender: male

Location: Berlin

Occupation: Unix/Linux System Administrator

Number of monitoring servers: 6

Hobbies: Longboard, Motorrad, BMX, Musik und IT

Nagios Version: 3.1.0

Distributed monitoring: Ja

Redundant monitoring: Nein

Number of hosts: 200

Number of services: ~4.000

OS: Gentoo/Ubuntu/Solaris

Plugin Version: 1.4.13

NagVis Version: 1.2x

NDO Version: 1.4.6

Other Addons: PNP 0.4.13

16

Thursday, February 28th 2008, 12:04pm

da bin ich natürlich jetzt schon dran vorbei und hab sie auch nichtmehr im verlauf....
kann ich das einfach nochmal ausführen ohne auswirkungen zu haben? dann könnte ich die ausgabe poste....
mir ist da aber nichts ausergewöhnliches aufgefallen.....


Sofern Du mit PuTTY auf die Linux-Maschine zugreifst, schalt das Logging mit ein. ./configure kannst Du problemlos nochmal ausfuehren. Am besten ein make clean vorher im Verzeichnis ausfuehren, dann werden die fertig kompillierten Dateien vorher entfernt.
Was ich Dir generell noch ans Herz legen moechte: Benutze find, wenn Du etwas suchst! Hilft Dir ungemein, Dateien wie zum Beispiel die Sample Configs zu finden, die Du vorhin gesucht hast und das Schoene: find ist ein Ur-Unix Befehl, also genauso wie der vi auf nahezu jedem System zu finden.

Beispiele:
find / -name "nagios.cfg" <-- gibt Dir den Pfad aus, wo die nagios.cfg liegt
find / -name "*sample*" <-- gibt Dir alle Dateien aus, in denen sample vorkommt


Gruesse,
Mike

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

17

Thursday, February 28th 2008, 12:10pm

Ist verdammt viel ;D
weiß nicht ob das soviel bringt...
vorallem erstellt ja

Source code

1
make install-config
die Sample-files oder?


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# ./configure --sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-command-group=nagcmd
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for initgroups... yes
checking for setenv... yes
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for unsetenv... yes
checking for type of socket size... size_t
checking for pthread_create in -lcma... no
checking for pthread_create in -lpthread... yes
checking for library containing nanosleep... none required
checking for mail... /bin/mail
Init script directory:  /etc/rc.d/init.d
We'll use default routines (in xdata/xsddefault.*) for status data I/O...
We'll use default routines (in xdata/xcddefault.*) for comment data I/O...
We'll use default routines (in xdata/xrddefault.*) for retention data I/O...
We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O...
We'll use default routines (in xdata/xpddefault.*) for performance data I/O...
We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O...
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... yes
GD library was found!
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking for extra flags needed to export symbols...  -Wl,-export-dynamic
checking for linker flags for loadable modules... -shared
checking for traceroute... /bin/traceroute
checking for snprintf... yes
checking for type va_list... yes
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating subst
config.status: creating pkginfo
config.status: creating base/Makefile
config.status: creating common/Makefile
config.status: creating contrib/Makefile
config.status: creating cgi/Makefile
config.status: creating html/Makefile
config.status: creating module/Makefile
config.status: creating include/Makefile
config.status: creating xdata/Makefile
config.status: creating daemon-init
config.status: creating html/index.html
config.status: creating html/side.html
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/snprintf.h
config.status: include/snprintf.h is unchanged
config.status: creating include/nagios.h
config.status: creating include/cgiutils.h
config.status: include/cgiutils.h is unchanged

Creating sample config files in sample-config/ ...


*** Configuration summary for nagios 2.10 10-21-2007 ***:

 General Options:
 -------------------------
    	Nagios executable:  nagios
    	Nagios user/group:  nagios,nagios
   	Command user/group:  nagios,nagcmd
        	Embedded Perl:  no
         	Event Broker:  yes
    	Install ${prefix}:  /usr/local/nagios
            	Lock file:  /var/nagios/nagios.lock
       	Init directory:  /etc/rc.d/init.d
  Apache conf.d directory:  /etc/httpd/conf.d
              	Host OS:  linux-gnu

 Web Interface Options:
 ------------------------
             	HTML URL:  http://localhost/nagios/
              	CGI URL:  http://localhost/nagios/cgi-bin/
 Traceroute (used by WAP):  /bin/traceroute


Review the options above for accuracy.  If they look okay,
type 'make all' to compile the main program and CGIs.

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

18

Thursday, February 28th 2008, 2:27pm

hab nochmal einiges probiert und gesucht, kann aber keine samples oder fehlermeldungen finden....
auch ein wiederholtes ausführen von make install-config hilft nichts, das sollte ja eigentlich die samples kopieren....
in den Sourcen kann ich nen paar html dateien finden, die mir bis jetzt aber nicht soviel bringen....

ich brauche so samples wie bigger.cfg, minimal.cfg und checkcommands.cfg usw..... die wurden doch bei euch installiert/kopiert oder?

letzte möglichkeit wäre vielleicht, dass sie mir jemand von euch schickt? :D

c00per99

Beginner

Posts: 35

Birthday: Nov 3rd 1986 (26)

Gender: male

Location: Paderborn/Kassel

Occupation: Ausbildung Fachinformatiker Systemintegration

Number of monitoring servers: 1

Hobbies: Nagios ;D, Alles Rund um Musik .....

Nagios Version: 2.10

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 10

Number of services: 30

OS: Fedora Core 8

Plugin Version: 1.4.6

19

Monday, March 3rd 2008, 11:25am

moin...
neue Woche neues Glück.....

wollte heute morgen meinen Apache und meinen Nagios starten, da kamen 3 fehler im SEtroubleshooting-Browser und wenn ich auf http://..../nagios gehe, kommt immer Seite nicht gefunden!

also der Apache geht auf jeden fall, probleme gibt es wohl mit dem Nagios. sobald ich den Starte, kommen die Fehler

[1]

Source code

1
2
3
4
 Beschreibung: 
SELinux denied access requested by su. It is not expected that this access is required by su and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.    
Zugriff erlauben: 
Sometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for ./local, restorecon -v './local' If this does not work, there is currently no automatic way to allow this access. Instead, you can generate a local policy module to allow this access - see FAQ Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended. Please file a bug report against this package.  


[2]

Source code

1
2
3
4
 Beschreibung: 
SELinux denied access requested by su. It is not expected that this access is required by su and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. 
Zugriff erlauben: 
Sometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for ./xauth, restorecon -v './xauth' If this does not work, there is currently no automatic way to allow this access. Instead, you can generate a local policy module to allow this access - see FAQ Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended. Please file a bug report against this package.   


[3]

Source code

1
2
3
4
 Beschreibung:
SELinux prevented su from using the terminal 1. In most cases daemons do not need to interact with the terminal, usually these avc messages can be ignored. All of the confined daemons should have dontaudit rules around using the terminal. Please file a bug report against this selinux-policy. If you would like to allow all daemons to interact with the terminal, you can turn on the allow_daemons_use_tty boolean.
Zugriff erlauben:
Die Änderung des "allow_daemons_use_tty" Boolesch in "wahr" erlaubt diesen Zugriff: "setsebool -P allow_daemons_use_tty=1." Folgender Befehl erlaubt diesen Zugriff:setsebool -P allow_daemons_use_tty=1


werdet ihr da schlau draus?

Posts: 7,238

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

20

Monday, March 3rd 2008, 12:02pm

Du hast die Änderungen bzgl. SELinux durchgeführt, die in der Schnellstartanleitung genannt sind?