function nagios_check_session_anon in Nagios Monitoring 5
Same name and namespace in other branches
- 8 nagios.module \nagios_check_session_anon()
- 6 nagios.module \nagios_check_session_anon()
- 7 nagios.module \nagios_check_session_anon()
File
- ./
nagios.module, line 355
Code
function nagios_check_session_anon() {
$interval = time() - 900;
// Last 15 minutes
$count = (int) sess_count($interval, TRUE);
$data = array(
'status' => NAGIOS_STATUS_OK,
'type' => 'perf',
'text' => $count,
);
return array(
'key' => 'SAN',
'data' => $data,
);
}