Monday, May 20th 2013, 10:38am UTC+2

You are not logged in.

  • Login
  • Register

Lukasss

Trainee

Posts: 72

Gender: male

Number of monitoring servers: 1

Nagios Version: 3.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 51

Number of services: 294

OS: Ubuntu 10.04.3 LTS, Ubuntu 12.04 LTS

Plugin Version: 1.4.15

NDO Version: 1.5.2

Other Addons: PNP 0.6.x

1

Wednesday, August 1st 2012, 6:25pm

Error: Could not read host and service status information! die xxxxxte

Hallo zusammen.

Hab ein kleines Problem beim Neustart von Nagios. Vor jedem Neustart von Nagios, teste ich erstmal brav mit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg. Alles OK. Keine Errors keine Warnings. Trotzdem bekomm ich die oben angeführte Meldung. Nach ca 1min Wartezeit funkt dann alles. Hab das nur bei der jetzigen Installation. ps zeigt mir auch das Nagios läuft.

Kennt das jemand ?

Danke !

L.

This post has been edited 1 times, last edit by "Lukasss" (Aug 1st 2012, 6:45pm)


dnsmichi

Super Moderator

Posts: 5,976

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

2

Wednesday, August 1st 2012, 7:02pm

Source code

1
# egrep -v "^$|^#" nagios.cfg


posten.
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Lukasss

Trainee

Posts: 72

Gender: male

Number of monitoring servers: 1

Nagios Version: 3.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 51

Number of services: 294

OS: Ubuntu 10.04.3 LTS, Ubuntu 12.04 LTS

Plugin Version: 1.4.15

NDO Version: 1.5.2

Other Addons: PNP 0.6.x

3

Wednesday, August 1st 2012, 7:29pm

bitte, Danke !

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
log_file=/usr/local/nagios/var/nagios.log
cfg_file=/usr/local/nagios/etc/objects/commands.cfg
cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg
cfg_file=/usr/local/nagios/etc/objects/templates.cfg
cfg_file=/usr/local/nagios/etc/objects/linux.cfg
cfg_file=/usr/local/nagios/etc/objects/windows.cfg
cfg_file=/usr/local/nagios/etc/objects/switch.cfg
cfg_file=/usr/local/nagios/etc/objects/printer.cfg
cfg_file=/usr/local/nagios/etc/objects/servicegroup.cfg
cfg_file=/usr/local/nagios/etc/objects/hostextinfo.cfg
object_cache_file=/usr/local/nagios/var/objects.cache
precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
status_file=/usr/local/nagios/var/status.dat
status_update_interval=10
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
external_command_buffer_slots=4096
lock_file=/usr/local/nagios/var/nagios.lock
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/tmp
event_broker_options=-1
broker_module=/usr/local/nagios/ndo/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
log_rotation_method=d
log_archive_path=/usr/local/nagios/var/archives
use_syslog=1
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_checks=1
service_inter_check_delay_method=s
max_service_check_spread=30
service_interleave_factor=s
host_inter_check_delay_method=s
max_host_check_spread=30
max_concurrent_checks=0
check_result_reaper_frequency=10
max_check_result_reaper_time=30
check_result_path=/usr/local/nagios/var/spool/checkresults
max_check_result_file_age=3600
cached_host_check_horizon=15
cached_service_check_horizon=15
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
soft_state_dependencies=0
auto_reschedule_checks=0
auto_rescheduling_interval=30
auto_rescheduling_window=180
sleep_time=0.25
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=/usr/local/nagios/var/retention.dat
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=1
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
interval_length=60
check_for_updates=1
bare_update_check=0
use_aggressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
execute_host_checks=1
accept_passive_host_checks=1
enable_notifications=1
enable_event_handlers=1
process_performance_data=1
service_perfdata_file=/usr/local/pnp4nagios/var/service-perfdata
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=15
service_perfdata_file_processing_command=process-service-perfdata-file
host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$
host_perfdata_file_mode=a
host_perfdata_file_processing_interval=15
host_perfdata_file_processing_command=process-host-perfdata-file
obsess_over_services=0
obsess_over_hosts=0
translate_passive_host_checks=0
passive_host_checks_are_soft=0
check_for_orphaned_services=1
check_for_orphaned_hosts=1
check_service_freshness=1
service_freshness_check_interval=60
service_check_timeout_state=c
check_host_freshness=0
host_freshness_check_interval=60
additional_freshness_latency=15
enable_flap_detection=1
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=euro
p1_file=/usr/local/nagios/bin/p1.pl
enable_embedded_perl=1
use_embedded_perl_implicitly=1
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
admin_email=nagios@localhost
admin_pager=pagenagios@localhost
daemon_dumps_core=0
use_large_installation_tweaks=0
enable_environment_macros=1
debug_level=0
debug_verbosity=1
debug_file=/usr/local/nagios/var/nagios.debug
max_debug_file_size=1000000

dnsmichi

Super Moderator

Posts: 5,976

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

4

Wednesday, August 1st 2012, 7:34pm

Source code

1
broker_module=/usr/local/nagios/ndo/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg


waehrend der core seine daten neu einliest und die statusdaten dumped, passiert dies auch richtung datenbank (ndoutils). je nach datenmende, systemperformance und datenbankperformance dauert das mal lang, mal kurz. wobei noch interessant waere, welche ndoutils version das ist.

weiterfuehrende lektuere zu ndoutils gibts hier im forum.
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Lukasss

Trainee

Posts: 72

Gender: male

Number of monitoring servers: 1

Nagios Version: 3.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 51

Number of services: 294

OS: Ubuntu 10.04.3 LTS, Ubuntu 12.04 LTS

Plugin Version: 1.4.15

NDO Version: 1.5.2

Other Addons: PNP 0.6.x

5

Wednesday, August 1st 2012, 7:52pm

NDO2DB 1.5.2

dnsmichi

Super Moderator

Posts: 5,976

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

6

Wednesday, August 1st 2012, 7:55pm

kann ich nicht mehr viel dazu sagen, habe ich noch nie installiert gehabt. die symptome klingen aber aehnlich wie das schon bekannte. ich hab leider keine tipps fuer performance auf lager, die von den icinga howtos greifen hier fast nicht.
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Lukasss

Trainee

Posts: 72

Gender: male

Number of monitoring servers: 1

Nagios Version: 3.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 51

Number of services: 294

OS: Ubuntu 10.04.3 LTS, Ubuntu 12.04 LTS

Plugin Version: 1.4.15

NDO Version: 1.5.2

Other Addons: PNP 0.6.x

7

Wednesday, August 1st 2012, 7:57pm

trotzdem DANK!

Lukasss

Trainee

Posts: 72

Gender: male

Number of monitoring servers: 1

Nagios Version: 3.4.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 51

Number of services: 294

OS: Ubuntu 10.04.3 LTS, Ubuntu 12.04 LTS

Plugin Version: 1.4.15

NDO Version: 1.5.2

Other Addons: PNP 0.6.x

8

Monday, August 20th 2012, 3:30pm

Nur der Vollständigkeit halber.
Nagios brauchte zum Starten so lange, da NDO2DB ein Problem mit der Datenbank hatte. Seit das behoben ist, startet Nagios auch ganz normal.

Gruss
L.