monitoring: Remove _RenderServicePerfdata view helper

This helper is not used anywhere.
This commit is contained in:
Eric Lippmann 2015-01-22 14:12:02 +01:00
parent fecdab9463
commit f4f50fde3c
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
<?php
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
class Zend_View_Helper_RenderServicePerfdata extends Zend_View_Helper_Abstract
{
private static $RENDERMAP = array(
"check_local_disk" => array("self::renderDiskPie")
);
public function renderServicePerfdata($service)
{
if (isset(self::$RENDERMAP[$service->check_command])) {
$fn = self::$RENDERMAP[$service->check_command];
$fn($service);
}
}
public static function renderDiskPie($service) {
$perfdata = $service->performance_data;
if(!$perfdata)
return "";
}
}