> Ido2db is definitely running. I will check the log for idomod when I get home 
> and will report back.
>
> Sent from my AT&T wireless handheld
>
> On Jan 21, 2012, at 10:12 AM, "Carl R. Friend" <crfri...@rcn.com> wrote:
>
>>    On Sat, 21 Jan 2012, Darhl Thomason wrote:
>>
>>> [My Icinga install]  is working at a basic level, but when I look
>>> at the database, none of the tables are populated with data.
>>
>>    Do you see IDOMOD initialising in the icinga.log file?  If not,
>> the configuration file for it (in ~icinga/etc/modules/idoutils.cfg)
>> may be missing.  Also, is ido2db running?  If ido2db is not running,
>> nothing will make it into the database (although a symptom of this
>> is that you'll see "unable to connect to data sink" entries in your
>> icinga.log file).
>>
>>> I'm stuck on what to check next to get this working.  Any help or
>>> advice would be appreciated.
>>
>>    If the above hints don't yield any joy, we'll need (comment/blank
>> line stripped) versions of your icinga.cfg, idomod.cfg, and ido2db.cfg
>> files.
>>
>>    Cheers!

As far as I can see, the logs do not show anything about idomod.

ido2db is definitely running:
root@monitor01:/# ps aux | grep ido
icinga   21768  0.0  0.0  32100   684 ?        Ss   07:12   0:00
/usr/local/icinga/bin/ido2db -c /usr/local/icinga/etc/ido2db.cfg
root     25152  0.0  0.0   7544   844 pts/0    S+   12:38   0:00 grep ido

I also do not see idoutils.cfg:
root@monitor01:/usr/local/icinga/etc# ls -l
total 124
-rw-rw-r-- 1 icinga icinga   484 Jan 20 16:27 cgiauth.cfg
-rw-rw-r-- 1 icinga icinga 20794 Jan 20 16:27 cgi.cfg
-rw-r--r-- 1 root   icinga    26 Jan 20 16:36 htpasswd.users
-rw-rw-r-- 1 icinga icinga 49168 Jan 20 16:27 icinga.cfg
-rw-rw-r-- 1 icinga icinga  8684 Jan 21 07:12 ido2db.cfg
-rw-rw-r-- 1 icinga icinga  8252 Jan 20 16:27 idomod.cfg
drwxrwsr-x 2 icinga icinga  4096 Jan 20 16:27 modules
drwxrwsr-x 2 icinga icinga  4096 Jan 20 16:27 objects
-rw-rw---- 1 icinga icinga  1304 Jan 20 16:27 resource.cfg

Contents of icinga.cfg:
log_file=/usr/local/icinga/var/icinga.log
cfg_file=/usr/local/icinga/etc/objects/commands.cfg
cfg_file=/usr/local/icinga/etc/objects/contacts.cfg
cfg_file=/usr/local/icinga/etc/objects/timeperiods.cfg
cfg_file=/usr/local/icinga/etc/objects/templates.cfg
cfg_file=/usr/local/icinga/etc/objects/localhost.cfg
cfg_dir=/usr/local/icinga/etc/modules
object_cache_file=/usr/local/icinga/var/objects.cache
precached_object_file=/usr/local/icinga/var/objects.precache
resource_file=/usr/local/icinga/etc/resource.cfg
status_file=/usr/local/icinga/var/status.dat
status_update_interval=10
icinga_user=icinga
icinga_group=icinga
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/icinga/var/rw/icinga.cmd
external_command_buffer_slots=4096
lock_file=/usr/local/icinga/var/icinga.lock
temp_file=/usr/local/icinga/var/icinga.tmp
temp_path=/tmp
event_broker_options=-1
log_rotation_method=d
log_archive_path=/usr/local/icinga/var/archives
use_daemon_log=1
use_syslog=1
use_syslog_local_facility=0
syslog_local_facility=5
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_current_states=1
log_external_commands=1
log_passive_checks=1
log_external_commands_user=0
log_long_plugin_output=0
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/icinga/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/icinga/var/retention.dat
retention_update_interval=60
use_retained_program_state=1
dump_retained_host_service_states_to_neb=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
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=0
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
service_check_timeout_state=u
check_service_freshness=1
service_freshness_check_interval=60
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=us
p1_file=/usr/local/icinga/lib/p1.pl
enable_embedded_perl=0
use_embedded_perl_implicitly=1
stalking_event_handlers_for_hosts=0
stalking_event_handlers_for_services=0
stalking_notifications_for_hosts=0
stalking_notifications_for_services=0
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
admin_email=icinga@localhost
admin_pager=pageicinga@localhost
daemon_dumps_core=0
use_large_installation_tweaks=0
enable_environment_macros=0
debug_level=0
debug_verbosity=1
debug_file=/usr/local/icinga/var/icinga.debug
max_debug_file_size=100000000
event_profiling_enabled=0

Contents of idomod.cfg:
instance_name=default
output_type=unixsocket
output=/usr/local/icinga/var/ido.sock
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/usr/local/icinga/var/idomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=67108669
config_output_options=2
debug_level=0
debug_verbosity=1
debug_file=/usr/local/icinga/var/idomod.debug
max_debug_file_size=100000000

Contents of ido2db.cfg:
lock_file=/usr/local/icinga/var/ido2db.lock
ido2db_user=icinga
ido2db_group=icinga
socket_type=unix
socket_name=/usr/local/icinga/var/ido.sock
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=icinga
db_prefix=icinga_
db_user=icinga
db_pass=icinga
max_timedevents_age=60
max_systemcommands_age=1440
max_servicechecks_age=1440
max_hostchecks_age=1440
max_eventhandlers_age=10080
max_externalcommands_age=10080
max_logentries_age=44640
max_acknowledgements_age=44640
max_notifications_age=44640
max_contactnotifications_age=44640
max_contactnotificationmethods_age=44640
clean_realtime_tables_on_core_startup=1
clean_config_tables_on_core_startup=1
trim_db_interval=3600
housekeeping_thread_startup_delay=300
debug_level=1
debug_verbosity=2
debug_file=/usr/local/icinga/var/ido2db.debug
max_debug_file_size=100000000
debug_readable_timestamp=0
oci_errors_to_syslog=1
oracle_trace_level=0
enable_sla=0

Thanks again for taking a look!!

Darhl

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to