I have been trying to improve our monitoring of a a service with a structure like this:
The way I am trying to do this is with three templates. One that polls the dashboard for the organisation list. This then creates host prototypes with the second template applied (and this works correctly, organisations are correctly created as hosts). This organisation template has some organisation level items (all good), and then another discovery rule which should query all the devices and create host prototypes of each of them. This is where my issue is.
The second level of discovery of host prototypes is not working. I tried doing the same thing with items and they all get created as I would expect, and running the test facility spits out the expected json. So why will it not create my hosts? There are no errors reported on the discovery rule, it just does nothing.
Any help would be greatly appreciated as I sunk quite a lot of time into this thinking it was working, until I hit this point.
- Top Level Dashboard
- Organisation 1
- Device 1
- Device 2
- Device 3
- Organisation 2
- Device 1
- Device 2
- Device 3
- Device 4
- Device 5
- Organisation 1
The way I am trying to do this is with three templates. One that polls the dashboard for the organisation list. This then creates host prototypes with the second template applied (and this works correctly, organisations are correctly created as hosts). This organisation template has some organisation level items (all good), and then another discovery rule which should query all the devices and create host prototypes of each of them. This is where my issue is.
The second level of discovery of host prototypes is not working. I tried doing the same thing with items and they all get created as I would expect, and running the test facility spits out the expected json. So why will it not create my hosts? There are no errors reported on the discovery rule, it just does nothing.
Any help would be greatly appreciated as I sunk quite a lot of time into this thinking it was working, until I hit this point.
Comment