External command to change parents?
Posted: Tue Jun 26, 2012 10:22 am
Hi there,
Im new at this forum
I just want to say that i use nagios core a lot. monitoring around 130 hosts and 1000 services (mostly custom scripts).
But today i had a great idear:
I was building up my configuration with "Parents" so my statusmap could be used, but then i got to all our virtual machines on our ESX cluster that use DRS (migrates virtual machines around on the physical hosts) and therefore i cant set a static parent on those virtual machines because i never know which host they are running on. therefore i decided to write a script to get a list of all the vritual machines on lets say "host 1" and then change the parents on those virtual machines in nagios....... but.. there a no external command for changing parents?!?!
So im pretty much screwed here... can anyone help me ? is it planed to create this external command in a future release ??
sorry for bad writing and spelling, but im sure you will understand
regards
Steffan
Im new at this forum
I just want to say that i use nagios core a lot. monitoring around 130 hosts and 1000 services (mostly custom scripts).
But today i had a great idear:
I was building up my configuration with "Parents" so my statusmap could be used, but then i got to all our virtual machines on our ESX cluster that use DRS (migrates virtual machines around on the physical hosts) and therefore i cant set a static parent on those virtual machines because i never know which host they are running on. therefore i decided to write a script to get a list of all the vritual machines on lets say "host 1" and then change the parents on those virtual machines in nagios....... but.. there a no external command for changing parents?!?!
So im pretty much screwed here... can anyone help me ? is it planed to create this external command in a future release ??
sorry for bad writing and spelling, but im sure you will understand
regards
Steffan