Tommel
Fortgeschrittener
Beiträge: 171
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1+
Anzahl Services: 1+
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): 1.4.13
NagVis-Version: 1.5
Sonstige Addon's: PNP
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
[1308837008] PROGRAM_RESTART event encountered, restarting... [1308837008] npcdmod: If you don't like me, I will go out! Bye. [1308837008] Event broker module '/omd/sites/test/lib/npcdmod.o' deinitialized successfully. [1308837008] livestatus: deinitializing [1308837008] livestatus: Waiting for main to terminate... [1308837008] livestatus: Waiting for client threads to terminate... [1308837008] Event broker module '/omd/sites/test/lib/mk-livestatus/livestatus.o' deinitialized successfully. [1308837008] Nagios 3.2.3 starting... (PID=17634) [1308837008] Local time is Thu Jun 23 15:50:08 CEST 2011 [1308837008] LOG VERSION: 2.0 [1308837008] npcdmod: Copyright (c) 2008-2009 Hendrik Baecker () - http://www.pnp4nagios.org [1308837008] npcdmod: /omd/sites/test/etc/pnp4nagios/npcd.cfg initialized [1308837008] npcdmod: spool_dir = '/omd/sites/test/var/pnp4nagios/spool/'. [1308837008] npcdmod: perfdata file '/omd/sites/test/var/pnp4nagios/perfdata.dump'. [1308837008] npcdmod: Ready to run to have some fun! [1308837008] Event broker module '/omd/sites/test/lib/npcdmod.o' initialized successfully. [1308837008] livestatus: Livestatus 1.1.10p3 by Mathias Kettner. Socket: '/omd/sites/test/tmp/run/live' [1308837008] livestatus: Please visit us at http://mathias-kettner.de/ [1308837008] Event broker module '/omd/sites/test/lib/mk-livestatus/livestatus.o' initialized successfully. [1308837008] TIMEPERIOD TRANSITION: 24x7;-1;1 [1308837008] TIMEPERIOD TRANSITION: none;-1;0 [1308837008] TIMEPERIOD TRANSITION: workhours;-1;1 [1308837008] livestatus: Socket thread has terminated |
![]() |
Quellcode |
1 2 3 4 |
Nagios Command Datei: /omd/sites/test/tmp/run/nagios.cmd Nagios Binary Datei: /omd/sites/test/bin/nagios Nagios Prozess Datei: /omd/sites/test/tmp/lock/nagios.lock Nagios Konfigurationsdatei: /omd/sites/test/tmp/nagios/nagios.cfg |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tommel« (24.06.2011, 09:28)
Beiträge: 249
Wohnort: Schweiz
Beruf: System Engineer
Anzahl Nagios-Server: 1
Hobbys: unzählige :-)
Nagios-Version(en): 3.x
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 1
Anzahl Services: 10
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): -
Sonstige Addon's: NagiosQL
2
24.06.2011, 08:12
Tommel
Fortgeschrittener
Beiträge: 171
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1+
Anzahl Services: 1+
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): 1.4.13
NagVis-Version: 1.5
Sonstige Addon's: PNP
3
24.06.2011, 08:26
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
*:~ # ssh test@IP test@IP's password: Last login: Thu Jun 23 16:08:29 2011 from * OMD[test]:~$ /omd/sites/test/bin/nagios -v /omd/sites/test/tmp/nagios/nagios.cfg Nagios Core 3.2.3 Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 10-03-2010 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config directory '/omd/sites/test/etc/nagios/conf.d'... Processing object config file '/omd/sites/test/etc/nagios/conf.d/commands.cfg'... ... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check OMD[test]:~$ |
Beiträge: 338
Geschlecht: Männlich
Wohnort: München
Anzahl Nagios-Server: 8
Hobbys: Jiu Jitsu, Klettern, MTB, Reisen
Nagios-Version(en): OMD 0.48
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: >4.000
Anzahl Services: >80.000
Betriebssystem(e): Linux, AIX, Windows
Plugin-Version(en): OMD 0.48
4
24.06.2011, 08:31
Zitat von »Tommel«
Eigenartig. Also bzgl. Konfiguration prüfen habe ich die Schritte auch gestern schon genau so wie du sie beschrieben hast per Hand ausgeführt. Hat alles geklappt! Auch genau mit den Pfaden die ich im NagiosQL konfiguriert habe, eben per Copy & Paste. Nur eigenartig, dass es mit OMD 0.46 auf Ubuntu funktioniert...
Tommel
Fortgeschrittener
Beiträge: 171
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1+
Anzahl Services: 1+
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): 1.4.13
NagVis-Version: 1.5
Sonstige Addon's: PNP
5
24.06.2011, 08:47
Beiträge: 249
Wohnort: Schweiz
Beruf: System Engineer
Anzahl Nagios-Server: 1
Hobbys: unzählige :-)
Nagios-Version(en): 3.x
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 1
Anzahl Services: 10
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): -
Sonstige Addon's: NagiosQL
6
24.06.2011, 08:58
![]() |
Quellcode |
1 |
nagiosql-server # ssh nagiosql_user '/omd/sites/test/bin/nagios -v /omd/sites/test/tmp/nagios/nagios.cfg' |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
[1308758934] EXTERNAL COMMAND: RESTART_PROGRAM;1308758934 [1308758934] PROGRAM_RESTART event encountered, restarting... [1308758934] Nagios 3.2.3 starting... (PID=2902) [1308758934] Local time is Wed Jun 22 18:08:54 CEST 2011 [1308758934] LOG VERSION: 2.0 [1308758934] Warning: Host 'testserver_3' has no services associated with it! [1308758954] SERVICE ALERT: testserver_1;Root Partition;OK;HARD;4;DISK OK - free space: / 381 MB (19% inode=80%): [1308758954] SERVICE NOTIFICATION: nagiosadmin;testserver_1;Root Partition;OK;notify-service-by-email;DISK OK - free space: / 381 MB (19% inode=80%): |
Tommel
Fortgeschrittener
Beiträge: 171
Geschlecht: Männlich
Anzahl Nagios-Server: 2
Nagios-Version(en): 3.2.0
Verteiltes Monitoring: Ja
Redundantes Monitoring: Ja
Anzahl-Hosts: 1+
Anzahl Services: 1+
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): 1.4.13
NagVis-Version: 1.5
Sonstige Addon's: PNP
7
24.06.2011, 09:11
![]() |
Quellcode |
1 2 3 |
*:~ # ssh test@* '/omd/sites/test/bin/nagios -v /omd/sites/test/tmp/nagios/nagios.cfg' test@*'s password: /omd/sites/test/bin/nagios: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tommel« (24.06.2011, 09:26)
Beiträge: 249
Wohnort: Schweiz
Beruf: System Engineer
Anzahl Nagios-Server: 1
Hobbys: unzählige :-)
Nagios-Version(en): 3.x
Verteiltes Monitoring: Nein
Redundantes Monitoring: Nein
Anzahl-Hosts: 1
Anzahl Services: 10
Betriebssystem(e): OpenSuSE 11.1
Plugin-Version(en): -
Sonstige Addon's: NagiosQL
8
24.06.2011, 09:26
![]() |
Quellcode |
1 2 |
ldd /omd/sites/test/bin/nagios nagiosql-server # ssh nagiosql_user 'ldd /omd/sites/test/bin/nagios' |
![]() |
Quellcode |
1 |
ldconfig |