<br><font size=2 face="sans-serif">Nagios Core 3.2.0</font>
<br><font size=2 face="sans-serif">NDO2DB 1.4b9</font>
<br><font size=2 face="sans-serif">MySQL 5.0.17</font>
<br><font size=2 face="sans-serif">Redhat AS4 U6</font>
<br>
<br><font size=2 face="sans-serif">I have the dreaded "ndomod: Could
not open data sink!" problem. Nagios itself is running happily, and
I am trying to integrate Nagvis. </font>
<br>
<br><font size=2 face="sans-serif">These are my Nagios processes, and socket
file</font>
<br>
<br><font size=2 face="sans-serif">nagios 29946 1
0 10:50 ? 00:00:00 /usr/local/nagios/bin/ndo2db
-c /usr/local/nagios/etc/ndo2db.cfg</font>
<br><font size=2 face="sans-serif">nagios 29990 1
0 10:50 ? 00:00:08 /usr/local/nagios/bin/nagios
-d /usr/local/nagios/etc/nagios.cfg</font>
<br>
<br><font size=2 face="sans-serif">srwxrwx--- 1 nagios nagios 0 Feb
16 12:36 /usr/local/nagios/var/ndo.sock</font>
<br>
<br><font size=2 face="sans-serif">No Nagios data is going through to the
mysql Nagios tables though. They are all created, but none have been populated.
I've gone through all the numerous other posts on this topic, but nothing
has worked. </font>
<br>
<br><font size=2 face="sans-serif">I can write to my mysql d/b using the
db_user/db_pass in ndo2db.cfg. </font>
<br>
<br><font size=2 face="sans-serif">This is from my Nagios log (coincidently,
I can never get anything written to the ndo2db.debug file).</font>
<br>
<br><font size=2 face="sans-serif">[1266317457] ndomod: Could not open
data sink! I'll keep trying, but some output may get lost...</font>
<br><font size=2 face="sans-serif">[1266317457] Event broker module '/usr/local/nagios/bin/ndomod.o'
initialized successfully.</font>
<br><font size=2 face="sans-serif">[1266321105] ndomod: Still unable to
connect to data sink. 32292 items lost, 5000 queued items to flush.</font>
<br>
<br><font size=2 face="sans-serif">The ndo2db.cfg and nagios.cfg are below.</font>
<br>
<br><font size=2 face="sans-serif">Any help much appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Regards</font>
<br><font size=2 face="sans-serif">Nigel</font>
<br>
<br><font size=2 face="sans-serif">[ndo2db.cfg]</font>
<br><font size=2 face="sans-serif">lock_file=/usr/local/nagios/var/ndo2db.lock</font>
<br><font size=2 face="sans-serif">ndo2db_user=nagios</font>
<br><font size=2 face="sans-serif">ndo2db_group=nagios</font>
<br><font size=2 face="sans-serif">socket_type=unix</font>
<br><font size=2 face="sans-serif">socket_name=/usr/local/nagios/var/ndo.sock</font>
<br><font size=2 face="sans-serif">use_ssl=0</font>
<br><font size=2 face="sans-serif">db_servertype=mysql</font>
<br><font size=2 face="sans-serif">db_host=localhost</font>
<br><font size=2 face="sans-serif">db_port=3306</font>
<br><font size=2 face="sans-serif">db_name=nagios</font>
<br><font size=2 face="sans-serif">db_prefix=nagios_</font>
<br><font size=2 face="sans-serif">db_user=ndouser</font>
<br><font size=2 face="sans-serif">db_pass=xxxxxx</font>
<br><font size=2 face="sans-serif">max_timedevents_age=1440</font>
<br><font size=2 face="sans-serif">max_systemcommands_age=10080</font>
<br><font size=2 face="sans-serif">max_servicechecks_age=10080</font>
<br><font size=2 face="sans-serif">max_hostchecks_age=10080</font>
<br><font size=2 face="sans-serif">max_eventhandlers_age=44640</font>
<br><font size=2 face="sans-serif">max_externalcommands_age=44640</font>
<br><font size=2 face="sans-serif">debug_level=-1</font>
<br><font size=2 face="sans-serif">debug_verbosity=1</font>
<br><font size=2 face="sans-serif">debug_file=/usr/local/nagios/var/ndo2db.debug</font>
<br><font size=2 face="sans-serif">max_debug_file_size=1000000</font>
<br>
<br><font size=2 face="sans-serif">[nagios.cfg]</font>
<br><font size=2 face="sans-serif">log_file=/var/log/nagios/nagios.log</font>
<br><font size=2 face="sans-serif">cfg_file=/usr/local/nagios/etc/objects/linux-remote.cfg</font>
<br><font size=2 face="sans-serif">cfg_file=/usr/local/nagios/etc/objects/commands.cfg</font>
<br><font size=2 face="sans-serif">cfg_file=/usr/local/nagios/etc/objects/contacts.cfg</font>
<br><font size=2 face="sans-serif">cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg</font>
<br><font size=2 face="sans-serif">cfg_file=/usr/local/nagios/etc/objects/templates.cfg</font>
<br><font size=2 face="sans-serif">cfg_file=/usr/local/nagios/etc/objects/localhost.cfg</font>
<br><font size=2 face="sans-serif">object_cache_file=/usr/local/nagios/var/objects.cache</font>
<br><font size=2 face="sans-serif">precached_object_file=/usr/local/nagios/var/objects.precache</font>
<br><font size=2 face="sans-serif">resource_file=/usr/local/nagios/etc/resource.cfg</font>
<br><font size=2 face="sans-serif">status_file=/usr/local/nagios/var/status.dat</font>
<br><font size=2 face="sans-serif">status_update_interval=10</font>
<br><font size=2 face="sans-serif">nagios_user=nagios</font>
<br><font size=2 face="sans-serif">nagios_group=nagios</font>
<br><font size=2 face="sans-serif">check_external_commands=1</font>
<br><font size=2 face="sans-serif">command_check_interval=-1</font>
<br><font size=2 face="sans-serif">command_file=/usr/local/nagios/var/rw/nagios.cmd</font>
<br><font size=2 face="sans-serif">external_command_buffer_slots=4096</font>
<br><font size=2 face="sans-serif">lock_file=/usr/local/nagios/var/nagios.lock</font>
<br><font size=2 face="sans-serif">temp_file=/usr/local/nagios/var/nagios.tmp</font>
<br><font size=2 face="sans-serif">temp_path=/tmp</font>
<br><font size=2 face="sans-serif">event_broker_options=-1</font>
<br><font size=2 face="sans-serif">broker_module=/usr/local/nagios/bin/ndomod.o
config_file=/usr/local/nagios/etc/ndomod.cfg</font>
<br><font size=2 face="sans-serif">log_rotation_method=d</font>
<br><font size=2 face="sans-serif">log_archive_path=/var/log/nagios/archives</font>
<br><font size=2 face="sans-serif">use_syslog=1</font>
<br><font size=2 face="sans-serif">log_notifications=1</font>
<br><font size=2 face="sans-serif">log_service_retries=1</font>
<br><font size=2 face="sans-serif">log_host_retries=1</font>
<br><font size=2 face="sans-serif">log_event_handlers=1</font>
<br><font size=2 face="sans-serif">log_initial_states=1</font>
<br><font size=2 face="sans-serif">log_external_commands=1</font>
<br><font size=2 face="sans-serif">log_passive_checks=1</font>
<br><font size=2 face="sans-serif">service_inter_check_delay_method=s</font>
<br><font size=2 face="sans-serif">max_service_check_spread=30</font>
<br><font size=2 face="sans-serif">service_interleave_factor=s</font>
<br><font size=2 face="sans-serif">host_inter_check_delay_method=s</font>
<br><font size=2 face="sans-serif">max_host_check_spread=30</font>
<br><font size=2 face="sans-serif">max_concurrent_checks=0</font>
<br><font size=2 face="sans-serif">check_result_reaper_frequency=10</font>
<br><font size=2 face="sans-serif">max_check_result_reaper_time=30</font>
<br><font size=2 face="sans-serif">check_result_path=/usr/local/nagios/var/spool/checkresults</font>
<br><font size=2 face="sans-serif">max_check_result_file_age=3600</font>
<br><font size=2 face="sans-serif">cached_host_check_horizon=15</font>
<br><font size=2 face="sans-serif">cached_service_check_horizon=15</font>
<br><font size=2 face="sans-serif">enable_predictive_host_dependency_checks=1</font>
<br><font size=2 face="sans-serif">enable_predictive_service_dependency_checks=1</font>
<br><font size=2 face="sans-serif">soft_state_dependencies=0</font>
<br><font size=2 face="sans-serif">auto_reschedule_checks=0</font>
<br><font size=2 face="sans-serif">auto_rescheduling_interval=30</font>
<br><font size=2 face="sans-serif">auto_rescheduling_window=180</font>
<br><font size=2 face="sans-serif">sleep_time=0.25</font>
<br><font size=2 face="sans-serif">service_check_timeout=60</font>
<br><font size=2 face="sans-serif">host_check_timeout=30</font>
<br><font size=2 face="sans-serif">event_handler_timeout=30</font>
<br><font size=2 face="sans-serif">notification_timeout=30</font>
<br><font size=2 face="sans-serif">ocsp_timeout=5</font>
<br><font size=2 face="sans-serif">perfdata_timeout=5</font>
<br><font size=2 face="sans-serif">retain_state_information=1</font>
<br><font size=2 face="sans-serif">state_retention_file=/usr/local/nagios/var/retention.dat</font>
<br><font size=2 face="sans-serif">retention_update_interval=60</font>
<br><font size=2 face="sans-serif">use_retained_program_state=1</font>
<br><font size=2 face="sans-serif">use_retained_scheduling_info=1</font>
<br><font size=2 face="sans-serif">retained_host_attribute_mask=0</font>
<br><font size=2 face="sans-serif">retained_service_attribute_mask=0</font>
<br><font size=2 face="sans-serif">retained_process_host_attribute_mask=0</font>
<br><font size=2 face="sans-serif">retained_process_service_attribute_mask=0</font>
<br><font size=2 face="sans-serif">retained_contact_host_attribute_mask=0</font>
<br><font size=2 face="sans-serif">retained_contact_service_attribute_mask=0</font>
<br><font size=2 face="sans-serif">interval_length=60</font>
<br><font size=2 face="sans-serif">check_for_updates=1</font>
<br><font size=2 face="sans-serif">bare_update_check=0</font>
<br><font size=2 face="sans-serif">use_aggressive_host_checking=0</font>
<br><font size=2 face="sans-serif">execute_service_checks=1</font>
<br><font size=2 face="sans-serif">accept_passive_service_checks=1</font>
<br><font size=2 face="sans-serif">execute_host_checks=1</font>
<br><font size=2 face="sans-serif">accept_passive_host_checks=1</font>
<br><font size=2 face="sans-serif">enable_notifications=1</font>
<br><font size=2 face="sans-serif">enable_event_handlers=1</font>
<br><font size=2 face="sans-serif">process_performance_data=0</font>
<br><font size=2 face="sans-serif">obsess_over_services=0</font>
<br><font size=2 face="sans-serif">obsess_over_hosts=0</font>
<br><font size=2 face="sans-serif">translate_passive_host_checks=0</font>
<br><font size=2 face="sans-serif">passive_host_checks_are_soft=0</font>
<br><font size=2 face="sans-serif">check_for_orphaned_services=1</font>
<br><font size=2 face="sans-serif">check_for_orphaned_hosts=1</font>
<br><font size=2 face="sans-serif">check_service_freshness=1</font>
<br><font size=2 face="sans-serif">service_freshness_check_interval=60</font>
<br><font size=2 face="sans-serif">check_host_freshness=0</font>
<br><font size=2 face="sans-serif">host_freshness_check_interval=60</font>
<br><font size=2 face="sans-serif">additional_freshness_latency=15</font>
<br><font size=2 face="sans-serif">enable_flap_detection=1</font>
<br><font size=2 face="sans-serif">low_service_flap_threshold=5.0</font>
<br><font size=2 face="sans-serif">high_service_flap_threshold=20.0</font>
<br><font size=2 face="sans-serif">low_host_flap_threshold=5.0</font>
<br><font size=2 face="sans-serif">high_host_flap_threshold=20.0</font>
<br><font size=2 face="sans-serif">date_format=us</font>
<br><font size=2 face="sans-serif">p1_file=/usr/local/nagios/bin/p1.pl</font>
<br><font size=2 face="sans-serif">enable_embedded_perl=1</font>
<br><font size=2 face="sans-serif">use_embedded_perl_implicitly=1</font>
<br><font size=2 face="sans-serif">illegal_object_name_chars=`~!$%^&*|'"<>?,()=</font>
<br><font size=2 face="sans-serif">illegal_macro_output_chars=`~$&|'"<></font>
<br><font size=2 face="sans-serif">use_regexp_matching=0</font>
<br><font size=2 face="sans-serif">use_true_regexp_matching=0</font>
<br><font size=2 face="sans-serif">admin_email=nagios@localhost</font>
<br><font size=2 face="sans-serif">admin_pager=pagenagios@localhost</font>
<br><font size=2 face="sans-serif">daemon_dumps_core=0</font>
<br><font size=2 face="sans-serif">use_large_installation_tweaks=0</font>
<br><font size=2 face="sans-serif">enable_environment_macros=1</font>
<br><font size=2 face="sans-serif">debug_level=0</font>
<br><font size=2 face="sans-serif">debug_verbosity=1</font>
<br><font size=2 face="sans-serif">debug_file=/usr/local/nagios/var/nagios.debug</font>
<br><font size=2 face="sans-serif">max_debug_file_size=1000000<br>
</font>
<br><font size=1 color=#808080 face="Calibri">Nigel Leach</font>
<br><font size=1 color=#808080 face="Calibri">Grid Engineer | Front Office
Risk Systems | BNP Paribas </font><pre>
___________________________________________________________
This communication is confidential, may be privileged and is meant only for the intended recipient. If you are not the intended recipient, please notify the sender by reply and delete the message from your system. Any unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, BNP Paribas Commodity Futures Limited, BNP Paribas Asset Management UK Limited and Investment Fund Services Limited are authorised and regulated by the Financial Services Authority.
BNP Paribas London Branch and BNP Paribas Wealth Management London Branch are authorised by the CECEI and supervised by the Commission Bancaire.
BNP Paribas London Branch is authorised and subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request. BNP Paribas is also a member of the London Stock Exchange.
BNP Paribas Wealth Management London Branch is subject to limited regulation by the Financial Services Authority. Details about the extent of our authorisation and regulation by the Financial Services Authority are available from us on request.
BNP Paribas Securities Services London Branch is authorised by the CECEI and supervised by the AMF, and subject to limited regulation by the Financial Services Authority. Details on the extent of our regulation by the Financial Services Authority are available from us on request. BNP Paribas Securities Services is also a member of the London Stock Exchange.
BNP Paribas Trust Corporation UK Limited is registered in England and Wales (registered no. 4042668) at registered office 55 Moorgate, London EC2R 6PA.
BNP Paribas UK Limited is registered in England and Wales (registered no. 1488108) at registered office 10 Harewood Avenue, London NW1 6AA.
BNP Paribas Commodity Futures Limited is registered in England and Wales (registered no. 2391477) at registered office 10 Harewood Avenue, London NW1 6AA.
BNP Paribas Asset Management UK Limited is registered in England and Wales (registered no. 2474627) at registered office 10 Harewood Avenue, London NW1 6AA.
Investment Fund Services Limited is registered in England and Wales (registered no. 6110770) at registered office 55 Moorgate, London EC2R 6PA.
BNP Paribas London Branch is registered in England and Wales (registered no. FC13447) at registered office 10 Harewood Avenue, London NW1 6AA.
BNP Paribas Wealth Management London Branch is registered in England and Wales (registered no. FC023926) at registered office 10 Harewood Avenue, London NW1 6AA.
BNP Paribas Securities Services London Branch is registered in England and Wales (registered no. BR006393) at registered office 55 Moorgate, London, EC2R 6PA.
BNP Paribas Lease Group Plc is registered in England and Wales (registered no. 2341989) at registered office Northern Cross, Basing View, Basingstoke, Hampshire RG21 4HL.
____________________________________________________________
</pre>