Re: [icinga-users] Delete dependency with wildcard via API

2016-09-30 Thread Zachary McGibbon
Hmm... I was trying to find a better way to do it, so here's my rundown of my update script: 1. Poll Oracle database (cmdb) for all switches, access points, upses, etc 2. Parse all object data (switches, access points, UPSes, etc), includes parent device (ex. uplink switch) 3. Verify if object exi

Re: [icinga-users] Delete dependency with wildcard via API

2016-09-30 Thread Michael Friedrich
> On 29 Sep 2016, at 20:03, Zachary McGibbon wrote: > > Is there any way to delete a host dependency with a wildcard? In my example, > I create a dependency for an access point to the switch, but if I remove the > access point I might not know which switch it was connected to so I would > wan

[icinga-users] Delete dependency with wildcard via API

2016-09-29 Thread Zachary McGibbon
Is there any way to delete a host dependency with a wildcard? In my example, I create a dependency for an access point to the switch, but if I remove the access point I might not know which switch it was connected to so I would want to clear all upstream dependencies. Example: Create dependency: