Hi , 

Created 30 hostgroups and hosts using API synchronously .

The check interval for service checks running is 30 seconds.

In between it got crashed.

The sample host group and host request used :

curl -u icingaadmin:icinga -k -s 
"https://localhost:5665/v1/objects/hostgroups/e72452be-e81d-4089-a07f-c3d70025229c";
 -H "Accept: application/json" -X PUT -d '{ "attrs": { "display_name" : 
"e72452be-e81d-4089-a07f-c3d70025229c" }}'

curl -u icingaadmin:icinga -k -s 
"https://localhost:5665/v1/objects/hosts/10.102.86.132"; -H "Accept: 
application/json" -X PUT -d '{ "templates": [ "ns-host" ], "attrs": 
{"vars.customer_name": "Tenant_A", "vars.ns_id": 
"e72452be-e81d-4089-a07f-c3d70025229c", "groups": 
["e72452be-e81d-4089-a07f-c3d70025229c"], "address": "10.102.86.132", 
"display_name": "10.102.86.132-vsrx_nat", "vars.image_type": "vsrx", 
"vars.password": "root", "vars.user": "root", "vars.vnf_id": 
"60ca2b46-5f04-40b9-8209-27fc1c6d2ff9", "vars.host_type": "networkservice", 
"vars.network_type": ["nat"]}}'


Thanks,
mgochhait
________________________________________

Message: 4
Date: Thu, 21 Apr 2016 09:48:33 +0200
From: Jean-Marcel Flach <[email protected]>
To: <[email protected]>
Subject: Re: [icinga-users] Icinga crashes when adding hosts
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"

Hello,

could you please provide more information? Like how you are adding the
host (api, config, console) and what the host looked like?

Kind regards,
Jean

On 20/04/16 19:01, Madhusmita Gochhait wrote:
> Hi ,
>
>
> Icinga is crashing when trying to add hosts . I have attached the crash
> report .
>
>
> Any idea what might be causing this ?
>
>
> Thanks,
> mgochhait
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>

--
Jean-Marcel Flach
Junior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 N?rnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG N?rnberg HRB18461

https://www.netways.de | [email protected]


------------------------------

Subject: Digest Footer

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users


------------------------------

End of icinga-users Digest, Vol 28, Issue 23
********************************************
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to