Monday, May 20th 2013, 11:18pm 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.

smatti

Beginner

Posts: 20

Birthday: Mar 14th 1984 (29)

Gender: male

Occupation: Schüler

Number of monitoring servers: 1

Hobbies: PCs + Autos

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca. 450

Number of services: ca. 450

OS: CentOS 4.3

Plugin Version: 1.4.3

NDO Version: 1.3.1

1

Wednesday, August 16th 2006, 10:05am

Problem mit mySQL DB füllen

Hallo LEute wenn ich versuche die Db zu füllen (als root) bekomm ich ne passwort abfrage wenn ich das passwort eingebe sagt er nur "access denied" ... woran kann das liegen???


[root@nagios2 db]# mysql -u root -p < mysql.sql
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@nagios2 db]#

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

2

Wednesday, August 16th 2006, 10:35am

Hmmm, ich würde sagen falsches root Kennwort eingegeben :P!

Tschau
Michael

smatti

Beginner

Posts: 20

Birthday: Mar 14th 1984 (29)

Gender: male

Occupation: Schüler

Number of monitoring servers: 1

Hobbies: PCs + Autos

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca. 450

Number of services: ca. 450

OS: CentOS 4.3

Plugin Version: 1.4.3

NDO Version: 1.3.1

3

Wednesday, August 16th 2006, 10:38am

Ich dachte es wär das standart PW ... kann ich denn rausfinden was das für ein PW ist oder kann ich das einfach ändern ?

Und wann wird das denn festgelegt?


Naja was kann ich denn tun um den Befehl erfolgrecih auszuführen? .. Ich muss ja das PW wissen oder

smatti

Beginner

Posts: 20

Birthday: Mar 14th 1984 (29)

Gender: male

Occupation: Schüler

Number of monitoring servers: 1

Hobbies: PCs + Autos

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca. 450

Number of services: ca. 450

OS: CentOS 4.3

Plugin Version: 1.4.3

NDO Version: 1.3.1

4

Wednesday, August 16th 2006, 10:42am

Ok einfach mal die enter taste zu drücken hilft... der hat kein PW .... aber wenn ich den Befehl ausführe sagt er mir nun das


[root@nagios2 db]# mysql -u root -p < mysql.sql
Enter password:
ERROR 1046 (3D000) at line 19: No database selected




OK LEute danke aber ahbs slbst gefunden ... hab den DB namen vergessen lol ... doku lesen muss gelernt sein

This post has been edited 1 times, last edit by "smatti" (Aug 16th 2006, 11:01am)


smatti

Beginner

Posts: 20

Birthday: Mar 14th 1984 (29)

Gender: male

Occupation: Schüler

Number of monitoring servers: 1

Hobbies: PCs + Autos

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca. 450

Number of services: ca. 450

OS: CentOS 4.3

Plugin Version: 1.4.3

NDO Version: 1.3.1

5

Wednesday, August 16th 2006, 11:54am

Hallo hab jetzt alles gestartet nur das prblem ist das ich das hier in der nagios.log hab


ndomod: Could not open data sink! I'll keep trying, but some output may get l
ost...


was genau ist ein data sink???

smatti

Beginner

Posts: 20

Birthday: Mar 14th 1984 (29)

Gender: male

Occupation: Schüler

Number of monitoring servers: 1

Hobbies: PCs + Autos

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca. 450

Number of services: ca. 450

OS: CentOS 4.3

Plugin Version: 1.4.3

NDO Version: 1.3.1

6

Wednesday, August 16th 2006, 1:13pm

So ich nochmal also bin kompett die anleitung zum installieren von pitchfork durchgegangen!!! bekomm nun diesen fehler im Log

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
[1155815942] Nagios 2.5 starting... (PID=22881)
[1155815942] LOG VERSION: 2.0
[1155815942] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios@nagios.org)
[1155815942] ndomod: Could not open data sink!  I'll keep trying, but some output may get lost..
[1155815942] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1155815943] Warning: Host '016_DATLOG_01' has no services associated with it!
[1155815943] Finished daemonizing... (New PID=22882)
[1155815958] ndomod: Still unable to connect to data sink.  0 items lost, 218 queued items to flush.
[1155815974] ndomod: Still unable to connect to data sink.  0 items lost, 294 queued items to flush.
[1155815990] ndomod: Still unable to connect to data sink.  0 items lost, 365 queued items to flush.
[1155816006] ndomod: Still unable to connect to data sink.  0 items lost, 439 queued items to flush.
[1155816022] ndomod: Still unable to connect to data sink.  0 items lost, 509 queued items to flush.
[1155816038] ndomod: Still unable to connect to data sink.  0 items lost, 582 queued items to flush.
[1155816054] ndomod: Still unable to connect to data sink.  0 items lost, 654 queued items to flush.
[1155816070] ndomod: Still unable to connect to data sink.  0 items lost, 728 queued items to flush.
[1155816086] ndomod: Still unable to connect to data sink.  0 items lost, 804 queued items to flush.
[1155816102] ndomod: Still unable to connect to data sink.  0 items lost, 875 queued items to flush.
[1155816118] ndomod: Still unable to connect to data sink.  0 items lost, 947 queued items to flush.
[1155816134] ndomod: Still unable to connect to data sink.  0 items lost, 1027 queued items to flush.
[1155816150] ndomod: Still unable to connect to data sink.  0 items lost, 1097 queued items to flush.
[1155816166] ndomod: Still unable to connect to data sink.  0 items lost, 1170 queued items to flush.
[1155816182] ndomod: Still unable to connect to data sink.  0 items lost, 1240 queued items to flush.
[1155816198] ndomod: Still unable to connect to data sink.  0 items lost, 1320 queued items to flush.
[1155816214] ndomod: Still unable to connect to data sink.  0 items lost, 1396 queued items to flush.
[1155816230] ndomod: Still unable to connect to data sink.  0 items lost, 1467 queued items to flush.
[1155816246] ndomod: Still unable to connect to data sink.  0 items lost, 1543 queued items to flush.
[1155816262] ndomod: Still unable to connect to data sink.  0 items lost, 1617 queued items to flush.
[1155816278] ndomod: Still unable to connect to data sink.  0 items lost, 1689 queued items to flush.
[1155816294] ndomod: Still unable to connect to data sink.  0 items lost, 1762 queued items to flush.
[1155816310] ndomod: Still unable to connect to data sink.  0 items lost, 1836 queued items to flush.
[1155816326] ndomod: Still unable to connect to data sink.  0 items lost, 1912 queued items to flush.
[1155816342] ndomod: Still unable to connect to data sink.  0 items lost, 1982 queued items to flush.
[1155816358] ndomod: Still unable to connect to data sink.  0 items lost, 2055 queued items to flush.



Fehler: ndomod: Could not open data sink! I'll keep trying, but some output may get lost..

hab mir sämtliche themen im forum dazu durchgelesen aber nichts hat geklappt!!! woran kann das noch liegen ???? Bitte um hilfe

nmeyer

Beginner

Posts: 15

Birthday: Jul 4th 1983 (29)

Gender: male

Location: Oldenburg

Occupation: Fachinformatiker

Number of monitoring servers: 1

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 4

Number of services: 15

OS: SLES 10

Plugin Version: 1.4.1

NDO Version: 1.3.1

Other Addons: PNP

7

Wednesday, August 16th 2006, 2:18pm

Hi,

es sieht so aus, als hättes du ndo als user root gestartet.

Du müsst ndo2db als user nagios starten. Dann sollte das erledigt sein:

1. NDO mit kill aus dem Speicher entfernen.
2. Nagios stoppen
2. su nagios
3. Ausführen: /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

Danach wieder als root
Nagios starten

Mein Lieblingslink:

http://www.ederdrom.de/doku.php/nagios/installation

smatti

Beginner

Posts: 20

Birthday: Mar 14th 1984 (29)

Gender: male

Occupation: Schüler

Number of monitoring servers: 1

Hobbies: PCs + Autos

Nagios Version: 2.5

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca. 450

Number of services: ca. 450

OS: CentOS 4.3

Plugin Version: 1.4.3

NDO Version: 1.3.1

8

Wednesday, August 16th 2006, 2:25pm

hi nmeyer,

ok hab den fehler gefunden ...

hatte selber ndo als nagios gestartet
hat auch 2 prozesse mit "ps -ef | grep ndo" gezeigt die von nagios gestartet wurden.

Ich hatte den restart von nagios selbst vergessen ... danke

fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

9

Saturday, August 26th 2006, 11:46pm

unable to connect to data sink

Hallo ,

es klappt leider nicht!?

Ich bekomme die Meldung:

ndomod: Still unable to connect to data sink. 0 items lost, 2948 queued items to flush.

Ich habe auch die Reihenfolge und das Starten als Nagiosuser beachtet.
Aber irgendetwas läuft noch schief.

Hat jemand noch eine Idee?

Es muss doch eine Datei ndo.sock existieren ? ?(
Tut es aber nicht!

Grüsse
fmulder
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

10

Sunday, August 27th 2006, 12:10pm

Hallo fmulder,

läuft die NDO denn?
Hat die NDO sich zur DB connectet?
Befindet sich DB auf dem gleichen Server wie Nagios?

Paar mehr Info's bräuchten wir schon!

Tschau
Michael

fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

11

Sunday, August 27th 2006, 6:41pm

sorry, war schon spät gestern!!!

Hier die Info´s! Danke!


redhat es 4
mysql 4.1.7

DB und Nagios auf dem gleichen Server

rpm gibt für mysql folgendes aus:

mysql-devel-4.1.7-4.RHEL4.1
mysql-4.1.7-4.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-server-4.1.7-4.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
bytefx-data-mysql-1.1.8.3-0.novell
php-mysql-4.3.9-3.1


folgende Prozesse laufen:

nagios 1189 1 0 18:32 ? 00:00:00 /usr/local/nagios/bin/ndo2db -c /etc/nagios/ndo2db.cfg

nagios 1228 1 0 18:33 ? 00:00:00 /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg

AUszug aus dem Nagios logfile

[1156696385] Nagios 2.5 starting... (PID=1227)
[1156696385] LOG VERSION: 2.0
[1156696385] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios@nagios.org)
[1156696385] ndomod: Could not open data sink! I'll keep trying, but some output may get lost...
[1156696385] Event broker module '/usr/local/nagios/neb/ndomod.o' initialized successfully.
[1156696385] Warning: Host 'test' has no services associated with it!
[1156696385] Finished daemonizing... (New PID=1228)
[1156696401] ndomod: Still unable to connect to data sink. 0 items lost, 374 queued items to flush.

Grüsse
fmulder
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

12

Sunday, August 27th 2006, 8:32pm

Ok, das sieht bis hierhin gut aus, aber ich kann aus Deinem LogFile leider nicht entnehmen, das sich der ndo2db-Daemon erfolgreich an die DB connected hat! Schau bitte nochmal im LogFile nach!

Tschau
Michael

fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

13

Sunday, August 27th 2006, 9:53pm

mehr steht im logfile nicht dazu, nachdem ich nagios und ndo2db gestartet habe

das wird wohl mein Problem sein????

Hier sollte kein Fehler sein, Oder?

ndomod: Could not open data sink! I'll keep trying, but some output may get lost..


####

Sorry, ich hatte einen Fehler in der ndo2db.cfg. Dort stand der socket typ auf tcp. Ich habe ihn auf unix gestellt und jetzt ist auch ein connect im log zu sehen. Aber jetzt kommt eine andere Meldung. Die Datei ndo.sock wird auch angelegt.

[nagios@xxxxxx ~]$ ll /var/nagios/ndo.sock
srwxrwxr-x 1 nagios nagios 0 27. Aug 23:02 /var/nagios/ndo.sock

Sie bleibt allerdings leer.

Dann suche im Forum einmal danach! ?(

Nagios 2.5 starting... (PID=4901)
[1156712565] LOG VERSION: 2.0
[1156712565] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios@nagios.org)
[1156712565] ndomod: Successfully connected to data sink. 0 queued items to flush.
[1156712565] Event broker module '/usr/local/nagios/neb/ndomod.o' initialized successfully.
[1156712565] Warning: Host 'test' has no services associated with it!
[1156712565] Finished daemonizing... (New PID=4903)
[1156712565] ndomod: Error writing to data sink! Some output may get lost...
[1156712581] ndomod: Successfully reconnected to data sink! 0 items lost, 78 queued items to flush.
[1156712581] ndomod: Successfully flushed 78 queued items to data sink.
[1156712581] ndomod: Error writing to data sink! Some output may get lost...
[1156712597] ndomod: Successfully reconnected to data sink! 0 items lost, 72 queued items to flush.
[1156712597] ndomod: Successfully flushed 72 queued items to data sink.
[1156712597] ndomod: Error writing to data sink! Some output may get lost...


grüsse
fmulder
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

This post has been edited 2 times, last edit by "fmulder" (Aug 27th 2006, 11:15pm)


fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

14

Sunday, August 27th 2006, 11:41pm

Quoted

Original von fmulder
mehr steht im logfile nicht dazu, nachdem ich nagios und ndo2db gestartet habe

das wird wohl mein Problem sein????

Hier sollte kein Fehler sein, Oder?

ndomod: Could not open data sink! I'll keep trying, but some output may get lost..


####

Sorry, ich hatte einen Fehler in der ndo2db.cfg. Dort stand der socket typ auf tcp. Ich habe ihn auf unix gestellt und jetzt ist auch ein connect im log zu sehen. Aber jetzt kommt eine andere Meldung. Die Datei ndo.sock wird auch angelegt.

[nagios@xxxxxx ~]$ ll /var/nagios/ndo.sock
srwxrwxr-x 1 nagios nagios 0 27. Aug 23:02 /var/nagios/ndo.sock

Sie bleibt allerdings leer.

Dann suche im Forum einmal danach! ?(

Nagios 2.5 starting... (PID=4901)
[1156712565] LOG VERSION: 2.0
[1156712565] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios@nagios.org)
[1156712565] ndomod: Successfully connected to data sink. 0 queued items to flush.
[1156712565] Event broker module '/usr/local/nagios/neb/ndomod.o' initialized successfully.
[1156712565] Warning: Host 'test' has no services associated with it!
[1156712565] Finished daemonizing... (New PID=4903)
[1156712565] ndomod: Error writing to data sink! Some output may get lost...
[1156712581] ndomod: Successfully reconnected to data sink! 0 items lost, 78 queued items to flush.
[1156712581] ndomod: Successfully flushed 78 queued items to data sink.
[1156712581] ndomod: Error writing to data sink! Some output may get lost...
[1156712597] ndomod: Successfully reconnected to data sink! 0 items lost, 72 queued items to flush.
[1156712597] ndomod: Successfully flushed 72 queued items to data sink.
[1156712597] ndomod: Error writing to data sink! Some output may get lost...

++++ Änderung auf tcp, wie im Forum beschrieben +++++

Nun das: ;(
Nagios 2.5 starting... (PID=4901)
[1156712565] LOG VERSION: 2.0
[1156712565] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios@nagios.org)
[1156712565] ndomod: Successfully connected to data sink. 0 queued items to flush.
[1156712565] Event broker module '/usr/local/nagios/neb/ndomod.o' initialized successfully.
[1156712565] Warning: Host 'test' has no services associated with it!
[1156712565] Finished daemonizing... (New PID=4903)
[1156712565] ndomod: Error writing to data sink! Some output may get lost...
[1156712581] ndomod: Successfully reconnected to data sink! 0 items lost, 78 queued items to flush.
[1156712581] ndomod: Successfully flushed 78 queued items to data sink.
[1156712581] ndomod: Error writing to data sink! Some output may get lost...



grüsse
fmulder
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

MiCkEy2002

Administrator

Posts: 4,242

Birthday: Feb 29th 1976 (37)

Gender: male

Location: Roffhausen

Occupation: Systemadministrator

Number of monitoring servers: 9

Hobbies: Bungee Springen, lesen....

Nagios Version: 2.5 / 3.03

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: ~1700

Number of services: ~18000

OS: SuSE SLES 9

Plugin Version: 1.4.3

NagVis Version: 1.2.2

NDO Version: 1.3.1/1.4b7

Perfparse Version: 0.106.1

Other Addons: NagTrap 1.3/PNP

15

Monday, August 28th 2006, 7:42am

Deshalb ich in vorfeld auch schon gefragt, wo sich Deine DB befindet :P!

Tschau
Michael

fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

16

Monday, August 28th 2006, 6:05pm

...jemand noch eine Idee!


was nun, es läuft leider nicht! ;(

Die DB ist wie gesagt local!

DANKE.....!!!!!!!!


Grüsse
fmulder
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

Dominik

Trainee

Posts: 66

Location: Forchheim, Ofr

Number of monitoring servers: 3

Nagios Version: 2.6 u. 2.9

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 120

Number of services: 1100

OS: 10.2

Plugin Version: 1.4

NDO Version: na

17

Monday, August 28th 2006, 6:27pm

Könnte (!!!) an den Mysql Libs liegen.
Was hat denn dein Configure gesagt?

Gruß Dominik

fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

18

Monday, August 28th 2006, 6:39pm

Anbei das logfile vom configure.

Woran sehe ich genau, welche libs ich verwende?

Irgendetwas muss aber laufen, wenn ich mich bei mysql anmelde bekomme ich folgende Meldung. ID 1229 !!!!!!



Your MySQL connection id is 1229 to server version: 4.1.20


grüsse
fmulder
fmulder has attached the following file:
  • config.log.txt (50.99 kB - 199 times downloaded - Last download: Mar 28th 2013, 1:05am)
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

This post has been edited 2 times, last edit by "fmulder" (Aug 28th 2006, 6:52pm)


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

19

Monday, August 28th 2006, 6:56pm

OK, es kann mehrere Gründe haben ...

1. Permissions von dbo2db.sock kontrollieren. Socket wird von ndo2db angelegt.

2. Pfade in ndo2db und ndomod.o kontrollieren.

3. Mysql User / Passort kontrollieren.

Hast du sicher schon gemacht, aber sicher ist sicher.

Der mysql Server öffnet ja auch ein Socket, das ndo2db zum schreiben in die DB benutzt. Ich meine hier mal gelesen zu haben das das unter RedHat nicht unter /var/lib/mysql/mysql.sock liegt und ndo2db dann Probleme beim schreiben bekommt.

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

fmulder

Trainee

Posts: 93

Birthday: Nov 18th

Gender: male

Location: Brandenburg

Occupation: Sysadmin

Nagios Version: 1

Icinga Version: 1.7.0 (Appliance)

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 1

OS: CentOS

Plugin Version: 1

IDO-Version: 1.7.0

20

Monday, August 28th 2006, 7:06pm

?( Ich blicke es irgendwie nicht mehr, habt Geduld mit mir


Anbei mein Konfigs.

dbo2db.sock find ich nicht, das ist doch der Name in der Konfig, Oder!?

output=/va/nagios/ndo.sock => wird nicht erstellt ?


Pfade sollten stimmen

mysql user/pw ok., damit kann ich mich anmelden und in die DB schreiben


bei meiner redhat Installation liegt der DB Socket in /var/lib/mysql/mysql.sock

srwxrwxrwx 1 mysql mysql 0 27. Aug 23:44 /var/lib/mysql/mysql.sock

Muss ndo2db auf diese File schreiben können????

DANKE!!!!!

Grüsse
fmulder
fmulder has attached the following files:
  • ndomod.cfg.txt (3.93 kB - 208 times downloaded - Last download: Feb 24th 2013, 2:36am)
  • ndo2db.cfg.txt (2.55 kB - 223 times downloaded - Last download: Feb 3rd 2013, 1:57pm)
---
Fortschritt ist nur möglich, wenn man intelligent gegen die Regeln verstößt. (Boleslaw Barlog)
---

This post has been edited 2 times, last edit by "fmulder" (Aug 28th 2006, 7:22pm)