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