I have a host which collects backups for other hosts.
On this backup host I am running checks to validate the backups (e.g. when was the last backup, how big was it etc.).
What options do I have the submit this check results to icinga2 so that the results are associated with the host from which the backup was pulled.
e.g. I have the following hosts:
HOST-A
HOST-B
HOST-C
All of them have icinga2 agent up and running and submitting checks → everything works as expected.
HOST-A is collecting and validating backups from HOST-B and HOST-C
I would like to have a service entry BACKUP on HOST-B and HOST-C which shows the status of the backup that is run and checked on HOST-A.
In the past, with icinga1, I used nsca and a script on HOST-A that was running all the backup checks and submitting it via nsca to the icinga1 server with the proper host&service names associated.
What options do I have with icinga2?
a) centrally configure the checks with icinga2 director so that they are executed on HOST-A, even if the check provides a result for a service on HOST-B
b) have a script on HOST-A that submits the results via icinga API for HOST-B and HOST-C
c) use the HOST-A agent api to submit the results for HOST-B and HOST-C
Which options are possible? Which options am I missing?
Do you have such monitoring scenarios too and how do you solve them?
Thanks.
Kind regards
KoS