Hello,
when we do server updates at our site, we disable the host in ZABBIX to ensure we get no false positives. Sometimes, a staff member will either forget to disable the host or worse, forget to re-enable it after the update is completed.
I was wondering if there was an automated solution to this. We mainly use scripts when we do server maintenance.
Until an API is available, could a simple SQL command UPDATE-ing the hosts.status field in the database do the trick? Besides the fact that direct database manipulation is a Very Bad Thing, any other gotchas people might have experienced?
Thanks!
when we do server updates at our site, we disable the host in ZABBIX to ensure we get no false positives. Sometimes, a staff member will either forget to disable the host or worse, forget to re-enable it after the update is completed.
I was wondering if there was an automated solution to this. We mainly use scripts when we do server maintenance.
Until an API is available, could a simple SQL command UPDATE-ing the hosts.status field in the database do the trick? Besides the fact that direct database manipulation is a Very Bad Thing, any other gotchas people might have experienced?
Thanks!
Comment