Michael Friedrich wrote:
> Can you provide your idomod.cfg / ido2db.cfg using egrep -v "^$|^#" 
> configfile (clear sensitive information).
> And also - how did you upgrade, checked the upgrade guide? How do you 
> start the daemons? Are you installing from source for by package?
> Anything on the debug log (ido2db.debug when debug level set to more 
> detailed / everything).
>
> Kind regards,
> Michael
>   
Michael,

We build our own RPM's for use in our environment, in part because we 
use a custom path for all monitoring-related code.  We didn't make any 
changes to the spec file between our installing 1.0.1 and 1.0.2, so both 
should have been built identically.  We initially used the information 
at http://docs.icinga.org/latest/en/upgrading_idoutils.html to upgrade 
our mysql database, but when we ran mysql-upgrade-1.0.2.sql it 
complained about creating too many locks so we decided to simply drop 
the database and recreate it with mysql.sql.  We start the daemons with 
/etc/init.d/ido2db and /etc/init.d/icinga.  They simply invoke the 
following:

/usr/local/monitor/icinga/bin/ido2db -c 
/usr/local/monitor/icinga/etc/ido2db.cfg
/usr/local/monitor/icinga/bin/icinga -d 
/usr/local/monitor/icinga/etc/icinga.cfg

Here's what ido2db.debug shows when it first starts up:

[1278522452.756524] [001.2] [pid=4441] ido2db_open_debug_log() end
[1278522452.756588] [001.2] [pid=4441] ido2db_wait_for_connections() start
[1278522452.756623] [001.2] [pid=4441] ido2db_daemonize() start
[1278522452.756994] [001.2] [pid=4442] ido2db_daemonize() child forks again
[1278522452.757377] [001.2] [pid=4443] ido2db_daemonize() grandchild 
continues and  becomes session leader
[1278522452.757520] [001.2] [pid=4443] ido2db_daemonize() end
[1278522452.757548] [001.2] [pid=4442] ido2db_daemonize() first child 
process goes away
[1278522452.757558] [001.2] [pid=4442] ido2db_free_program_memory() start
[1278522452.757572] [001.2] [pid=4442] ido2db_free_program_memory() end
[1278522452.757829] [001.2] [pid=4441] ido2db_daemonize() parent process 
goes away
[1278522452.757838] [001.2] [pid=4441] ido2db_free_program_memory() start
[1278522452.757844] [001.2] [pid=4441] ido2db_free_program_memory() end

Nothing else shows up in the log after icinga starts.


idomod.cfg:

instance_name=USG-master
output_type=unixsocket
output=/usr/local/monitor/icinga/var/ido.sock
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/usr/local/monitor/icinga/var/idomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=67108861
config_output_options=2
debug_level=-1
debug_verbosity=2
debug_file=/usr/local/monitor/icinga/var/idomod.debug
max_debug_file_size=1000000

ido2db.cfg:

lock_file=/usr/local/monitor/icinga/var/ido2db.lock
ndo2db_user=icinga
ndo2db_group=icinga
socket_type=unix
socket_name=/usr/local/monitor/icinga/var/ido.sock
tcp_port=5668
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=icinga
db_prefix=icinga_
db_user=icinga
db_pass=redacted
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640
trim_db_interval=60
debug_level=-1
debug_verbosity=2
debug_file=/usr/local/monitor/icinga/var/ido2db.debug
max_debug_file_size=1000000

Thanks,

-Bruce


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to