config->conf['nagios_base']; print "\n"; } public function AvailLink($hostname,$servicedesc,$start,$end){ $hostname = urlencode($hostname); $servicedesc = urlencode($servicedesc); $smon = date('m' , $start); $sday = date('d' , $start); $syear = date('Y' , $start); $shour = date('G' , $start); $smin = date('i' , $start); $ssec = date('s' , $start); $emon = date('m' , $end); $eday = date('d' , $end); $eyear = date('Y' , $end); $ehour = date('G' , $end); $emin = date('i' , $end); $esec = date('s' , $end); $nagios_base = $this->config->conf['nagios_base']; if($servicedesc == "Host+Perfdata"){ print "\n"; } }