Have you tried to use output_type=unixsocket instead of tcpsocket on 
localhost?

Kind Regards

Marco


Am 18.06.2012 09:31, schrieb Andreas Gossweiler:
> Classification: BUSINESS
>
> Hi Marco
>
> I have three instances:
>
> 1.) default
> /usr/local/icinga/etc/idomod.cfg
>
> instance_name=default
> output_type=tcpsocket
> output=127.0.0.1
> tcp_port=5668
> use_ssl=1
> 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=2
> debug_file=/usr/local/icinga/var/idomod.debug
> max_debug_file_size=100000000
>
> 2.) 1212
> /usr/local/icinga/instances/1212/etc/idomond.cfg
>
> instance_name=1212
> output_type=tcpsocket
> output=127.0.0.1
> tcp_port=5668
> use_ssl=1
> output_buffer_items=5000
> buffer_file=/usr/local/icinga/instances/1212/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=2
> debug_file=/usr/local/icinga/instances/1212/var/idomod.debug
> max_debug_file_size=100000000
>
> 3.) 1414
> /usr/local/icinga/instances/1414/etc/idomond.cfg
>
> instance_name=1414
> output_type=tcpsocket
> output=127.0.0.1
> tcp_port=5668
> use_ssl=1
> output_buffer_items=5000
> buffer_file=/usr/local/icinga/instances/1414/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=2
> debug_file=/usr/local/icinga/instances/1414/var/idomod.debug
> max_debug_file_size=100000000
>
> Thanks again for engagement
>
> Kind regards
> Andreas
>
>
> -----Ursprüngliche Nachricht-----
> Von: Marco Wodrich [mailto:wodr...@digitask.de]
> Gesendet: Freitag, 15. Juni 2012 16:56
> An: icinga-users@lists.sourceforge.net
> Betreff: Re: [icinga-users] Single server / multiple instances setup (1.7) [B]
>
> Hi Andreas,
>
> you need to change the variable instance_name in idomod.cfg. If you do not 
> change it the hosts and services are associated with the default instance.
>
> Could you post the idomod.cfg of each instance? The classic ui could display 
> one instance only. Therefore you have to configure your webserver 
> additionally or you could use icinga-web. Icinga-Web can display multiple 
> instances.
>
> Kind regards
>
> Marco
>
>
> Am 15.06.2012 16:47, schrieb Andreas Gossweiler:
>> Hi Marco
>> Yes, I have the init scripts and they seam to be ok. If i boot the system 
>> all instances where running and the checks are working. I also get 
>> notifications. The prob seams to be db wise. I do not have any entries .... 
>> Only the ones from the default instance.
>> Kind regards
>> Andreas
>>
>> Von meinem iPad gesendet
>>
>> Am 15.06.2012 um 14:03 schrieb "Marco Wodrich"<wodr...@digitask.de>:
>>
>>> Hi Andreas,
>>>
>>> have you an init script for each instance, modified the paths in it?
>>> E.g. /etc/init.d/icinga-instance1 /etc/init.d/icinga-instance2
>>>
>>> Do you run each script?
>>>
>>> Gruß
>>>
>>> Marco
>>>
>>> Am 15.06.2012 12:38, schrieb Andreas Gossweiler:
>>>> Hi Marco
>>>> Thanx for the quick response. I have already done the steps you mentioned. 
>>>> I have an icinga daemon running per instance wirh its own cfg. What do i 
>>>> miss?
>>>>
>>>> Thanx in advance for your support.
>>>> Kind regards
>>>> Andreas
>>>>
>>>> Von meinem iPad gesendet
>>>>
>>>> Am 15.06.2012 um 11:23 schrieb "Marco Wodrich"<wodr...@digitask.de>:
>>>>
>>>>> Hi Andreas,
>>>>>
>>>>> for each instance you have to had an own idomod configuration. In
>>>>> idomod.cfg you have to change the instance name and each instance
>>>>> need an own init script.
>>>>>
>>>>> Each instance should have it´s own directory.
>>>>> Example:
>>>>>
>>>>> instance1
>>>>>      - symlink to sbin directory of your icinga installation
>>>>>      - etc (instance specific configuration)
>>>>>      - symlink to bin directory of your icinga installation
>>>>>      - symlink to share directory of your icinga installation
>>>>>
>>>>> Kind regards
>>>>>
>>>>> Marco
>>>>>
>>>>> Am 15.06.2012 09:49, schrieb Andreas Gossweiler:
>>>>>> Classification: BUSINESS
>>>>>>
>>>>>> Hi All
>>>>>>
>>>>>> I would like to setup Icinga in a configuration as « single server
>>>>>> / multiple instances ». I managed to setup the separation of the
>>>>>> configuration files for the icinga daemon. There is a daemon per
>>>>>> instance running and I see in the appropriate icinga.log files,
>>>>>> that the various checks are fired and delivering there results.
>>>>>>
>>>>>> I have two problems:
>>>>>>
>>>>>> 1.)I do not see any entries in the database (in the table
>>>>>> icinga_instances I only have one entry – the default instance …)
>>>>>>
>>>>>> 2.)How do I have to setup the icinga-web interface, that based on
>>>>>> the login, the appropriate instance will be shown (I would like
>>>>>> separate customers …). I would also have a „superadmin“ login
>>>>>> which is able to see all the instances …
>>>>>>
>>>>>> Is there a detailed step by step howto to do so?
>>>>>>
>>>>>> Icinga 1.7 with ido on mysql / CentOS6.2
>>>>>>
>>>>>> Any hint is highly appreciated
>>>>>>
>>>>>> Kind regards in advance
>>>>>>
>>>>>> Andreas
>>>>>>
>>>>>> BUSINESS
>>>>>>
>>>>>> This email was classified by Andreas Gossweiler on Freitag, 15.
>>>>>> Juni
>>>>>> 2012 08:38:19.
>>>>>> The above classification labels were added to the message by
>>>>>> eXecure - Titus Labs Message Classification.
>>>>>> For more information visit
>>>>>> _https://execure.ch/default/index.cfm/execure-schweizweit-fuehrend
>>>>>> er-ict-security-provider/partner/titus-dlp-data-classification/___
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------
>>>>>> ------------
>>>>>> Live Security Virtual Conference
>>>>>> Exclusive live event will cover all the ways today's security and
>>>>>> threat landscape has changed and how IT managers can respond.
>>>>>> Discussions will include endpoint security, mobile security and
>>>>>> the latest in malware threats.
>>>>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> icinga-users mailing list
>>>>>> icinga-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>>>>
>>>>>
>>>>> --
>>>>> Mit freundlichen Grüßen
>>>>>
>>>>> Marco Wodrich
>>>>>
>>>>> DigiTask GmbH
>>>>> ________________________
>>>>> Tel: 02773 74788-0
>>>>>
>>>>> Mail: wodr...@digitask.de
>>>>> Web: www.digitask.de
>>>>>
>>>>> DigiTask GmbH
>>>>> Hüttenstraße 48
>>>>> 35708 Haiger
>>>>> _________________________
>>>>>
>>>>> UStIDNr: DE812926032 · Steuer-Nr: 20 231 41732 · Amtsgericht Wetzlar:
>>>>> HRB3177 · Geschäftsführer: Achim Pulverich
>>>>>
>>>>> Diese E-Mail einschließlich ihrer Anhänge ist vertraulich. Wir
>>>>> bitten Sie, diese E-Mail im Falle einer Fehlleitung zu löschen und
>>>>> uns eine Nachricht zukommen zu lassen. Diese E-Mail wurde vor dem
>>>>> Versand auf Viren überprüft. Aufgrund der unsicheren Übertragung
>>>>> wird eine Haftung für Virenschäden ausgeschlossen.
>>>>> This e-mail and its attachments are confidential. In case of
>>>>> miscarriage please delete this e-mail and inform us accordingly.
>>>>> This e-mail was checked for virus contamination before being sent.
>>>>> Because of insecure transmission we exclude any liability for virus 
>>>>> disadvantages.
>>>>>
>>>>> -------------------------------------------------------------------
>>>>> -----------
>>>>> Live Security Virtual Conference
>>>>> Exclusive live event will cover all the ways today's security and
>>>>> threat landscape has changed and how IT managers can respond.
>>>>> Discussions will include endpoint security, mobile security and the
>>>>> latest in malware threats.
>>>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>>> _______________________________________________
>>>>> icinga-users mailing list
>>>>> icinga-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>>> --------------------------------------------------------------------
>>>> ----------
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond.
>>>> Discussions will include endpoint security, mobile security and the
>>>> latest in malware threats.
>>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> _______________________________________________
>>>> icinga-users mailing list
>>>> icinga-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>>
>>>
>>> --
>>> Mit freundlichen Grüßen
>>>
>>> Marco Wodrich
>>>
>>> DigiTask GmbH
>>> ________________________
>>> Tel: 02773 74788-0
>>>
>>> Mail: wodr...@digitask.de
>>> Web: www.digitask.de
>>>
>>> DigiTask GmbH
>>> Hüttenstraße 48
>>> 35708 Haiger
>>> _________________________
>>>
>>> UStIDNr: DE812926032 · Steuer-Nr: 20 231 41732 · Amtsgericht Wetzlar:
>>> HRB3177 · Geschäftsführer: Achim Pulverich
>>>
>>> Diese E-Mail einschließlich ihrer Anhänge ist vertraulich. Wir bitten
>>> Sie, diese E-Mail im Falle einer Fehlleitung zu löschen und uns eine
>>> Nachricht zukommen zu lassen. Diese E-Mail wurde vor dem Versand auf
>>> Viren überprüft. Aufgrund der unsicheren Übertragung wird eine
>>> Haftung für Virenschäden ausgeschlossen.
>>> This e-mail and its attachments are confidential. In case of
>>> miscarriage please delete this e-mail and inform us accordingly. This
>>> e-mail was checked for virus contamination before being sent. Because
>>> of insecure transmission we exclude any liability for virus disadvantages.
>>>
>>> ---------------------------------------------------------------------
>>> ---------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond.
>>> Discussions will include endpoint security, mobile security and the
>>> latest in malware threats.
>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> icinga-users mailing list
>>> icinga-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>> ----------------------------------------------------------------------
>> --------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions will include endpoint security, mobile security and the
>> latest in malware threats.
>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat 
> landscape has changed and how IT managers can respond. Discussions will 
> include endpoint security, mobile security and the latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
> BUSINESS
>
> This email was classified by Andreas Gossweiler on Montag, 18. Juni 2012 
> 09:31:51.
> The above classification labels were added to the message by eXecure - Titus 
> Labs Message Classification.
> For more information visit 
> https://execure.ch/default/index.cfm/execure-schweizweit-fuehrender-ict-security-provider/partner/titus-dlp-data-classification/
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
Mit freundlichen Grüßen

Marco Wodrich

DigiTask GmbH
________________________
Tel: 02773 74788-0

Mail: wodr...@digitask.de
Web: www.digitask.de

DigiTask GmbH
Hüttenstraße 48
35708 Haiger
_________________________

UStIDNr: DE812926032 · Steuer-Nr: 20 231 41732 · Amtsgericht Wetzlar:
HRB3177 · Geschäftsführer: Achim Pulverich

Diese E-Mail einschließlich ihrer Anhänge ist vertraulich. Wir bitten
Sie, diese E-Mail im Falle einer Fehlleitung zu löschen und uns eine
Nachricht zukommen zu lassen. Diese E-Mail wurde vor dem Versand auf
Viren überprüft. Aufgrund der unsicheren Übertragung wird eine Haftung
für Virenschäden ausgeschlossen.
This e-mail and its attachments are confidential. In case of miscarriage
please delete this e-mail and inform us accordingly. This e-mail was
checked for virus contamination before being sent. Because of insecure
transmission we exclude any liability for virus disadvantages.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to