This API allows you to retrieve the current status of the proxy's authentication integration.
It returns a boolean value:
true
if the proxy is correctly linked to at least one authentication method (e.g., LDAP, Active Directory, local users)false
if no authentication method is configured or the link is inactiveThis is useful for verifying whether user authentication is enabled and operational in the proxy environment.
This feature is available on Artica v4.50 Service Pack 5 or Artica v4.50 Service Pack 4 Hotfix 20250630-21
Use a simple GET :
http://server:9503/proxy/auth/status
Or via command-line :
artica-phpfpm-service -rest-api /proxy/auth/status
You will get a json in this structure:
{
"APIVersion": "4.2.52",
"Status": true,
"Info": "Proxy is correctly configured",
"traces": "",
"metrics": {
"sample_time": "2025-06-30T21:20:12.000374851+02:00",
"client_http_requests": 1918,
"client_http_hits": 0,
"client_http_errors": 150,
"client_http_kbytes_in": 1402,
"client_http_kbytes_out": 144532,
"client_http_hit_kbytes_out": 0,
"server_all_requests": 420,
"server_all_errors": 0,
"server_all_kbytes_in": 65558,
"server_all_kbytes_out": 1187,
"server_http_requests": 218,
"server_http_errors": 0,
"server_http_kbytes_in": 64640,
"server_http_kbytes_out": 72,
"server_ftp_requests": 0,
"server_ftp_errors": 0,
"server_ftp_kbytes_in": 0,
"server_ftp_kbytes_out": 0,
"server_other_requests": 202,
"server_other_errors": 0,
"server_other_kbytes_in": 918,
"server_other_kbytes_out": 1114,
"icp_pkts_sent": 0,
"icp_pkts_recv": 0,
"icp_queries_sent": 0,
"icp_replies_sent": 0,
"icp_queries_recv": 0,
"icp_replies_recv": 0,
"icp_query_timeouts": 0,
"icp_replies_queued": 0,
"icp_kbytes_sent": 0,
"icp_kbytes_recv": 0,
"icp_q_kbytes_sent": 0,
"icp_r_kbytes_sent": 0,
"icp_q_kbytes_recv": 0,
"icp_r_kbytes_recv": 0,
"unlink_requests": 0,
"page_faults": 0,
"select_loops": 93975,
"cpu_time": 33.192553,
"wall_time": 53.5782,
"swap_outs": 0,
"swap_ins": 0,
"swap_files_cleaned": 0,
"aborted_requests": 0,
"hit_validation_attempts": 0,
"hit_validation_refusals_due_to_locking": 0,
"hit_validation_refusals_due_to_zero_size": 0,
"hit_validation_refusals_due_to_time_limit": 0,
"hit_validation_failures": 0
},
"kerberos": {
"Enabled": true,
"CheckTime": 1751311273,
"ActivationInfo": "Locked to ActiveDirectory with Kerberos method",
"Error": null,
"KerberosService": "HTTP/proxkerb.articatech.nux@ARTICATECH.NUX",
"KerberosTicketTime": "2025-06-30 15:45:53",
"KerberosTicketStamp": 1751291153,
"KerberosDuration": "335 minutes",
"Authenticators": {
"NumProcesses": 5,
"MaxProcesses": 20,
"AuthenticationQueries": 0,
"AvgTime": 0
},
"KeyTabPath": "/etc/squid3/krb5.keytab",
"KlistOUt": [
"Keytab name: FILE:/etc/squid3/krb5.keytab",
"KVNO Timestamp Principal",
"---- ----------------- --------------------------------------------------------",
"1 06/30/25 15:45:53 PROXKERB$@ARTICATECH.NUX",
"1 06/30/25 15:45:53 PROXKERB$@ARTICATECH.NUX",
"1 06/30/25 15:45:53 PROXKERB$@ARTICATECH.NUX",
"1 06/30/25 15:45:53 HTTP/proxkerb.articatech.nux@ARTICATECH.NUX"
]
},
"activeDirectory": {
"Hostname": "192.168.3.100",
"RemotePort": 389,
"Suffix": "DC=articatech,DC=nux"
},
"acls": null,
"Authenticators": {
"NumProcesses": 5,
"MaxProcesses": 20,
"AuthenticationQueries": 0,
"AvgTime": 0
}
}