Am 17.03.2014 03:09, schrieb Simon Walter:
>
> Hi all,

Hi Simon,

>
> I have a question about Icinga2. I've not used Icinga/Nagios since the
> SATAN days. So it's really nice to see all the amazing development.
> That being said, I'm a complete n00b. So forgive my general lack of
> understand here. I can't find much docs about Icinga2. So I thought
> I'd ask around.
>
> When I edit a host configuration and remove a service, it still
> remains in the web interface. I assume that is because it still is in
> the database. Is there a way to purge these? I'm thinking that perhaps
> my set up is missing something if this is not happening.

Which versions of icinga2 (icinga2 --version) and icinga-web are you
using? Also, can you show us the output of "SELECT * FROM icinga_objects
WHERE objecttype_id = '2'"?

>
> Example:
>
>   services["swap"] = {
>     templates = [ "generic-service" ],
>     check_command = "check_nrpe",
>     macros = {
>       remote_nrpe_command = "check_swap"
>     }
>   },
> /*
>   services["web_ui"] = {
>     templates = [ "generic-service" ],
>     check_command = "check_http"
>   },
> */
>   services["dhcp"] = {
>     templates = [ "generic-service" ],
>     check_command = "check_dhcp",
>     macros = {
>       requestedip = "10.1.1.254"
>     }
>   },
>
> --
> Simon

Kind regards,
Gunnar Beutner

> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Gunnar Beutner
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | gunnar.beut...@netways.de

** CeBIT 2014 - 10.-14. Maerz 2014 - http://www.netways.de/cebit **
** OSDC 2014 | Berlin – April - http://www.netways.de/osdc/ **
** Puppet Camp Berlin 2014 - April - http://netways.de/puppetcamp **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to