Today I ran across problem where support engineers wanted to see traffic graphs for device which was already removed from network, but was still in zabbix database. The graphs was kind of important to prove customer that he got his bandwidth. The problem was in fact that zabbix didn't show graphs for this removed host. Apparently this was due to host's item's being in status "not available". After a hard work hour I figured out how to overcome this limitation (from my point of view) so here's patch (see attachment). It fixes only monitoring->graphs section. Graph is still missing in configuration->graphs section and I din't bother fixing this.
By the way during modification of charts.php I noticed that in similar manner there have been some modifications regarding hosts.
It would be nice to know if this is a bug or a feature and so, to get it fixed in upstream
By the way during modification of charts.php I noticed that in similar manner there have been some modifications regarding hosts.

It would be nice to know if this is a bug or a feature and so, to get it fixed in upstream