Hello All. I try to diagnose remotely the situatio...
# general
k
Hello All. I try to diagnose remotely the situation when osquery has scheduled queries but not execute them (“executions = 0” in osquery_schedule table). I see that all publishers and subscribers in status “not active” on these machines (“active = 0” in osquery_events table). OSquery version is 3.3.0. Earlier I found wrong parameter “schedule_timeout = 60", after that I fixed it to default value “schedule_timeout = 0” via kolide fleet and that helps but only after osqueryd restart. Is there any way to recover osqueryd without service restart? I have access to osquery fleet via config_tls_endpoint only.
Copy code
SELECT default_value,name,value FROM osquery_flags where value<>default_value

"host_hostname","default_value","name","value"
"hostX.domain.com","false","audit_allow_config","true"
"hostX.domain.com","false","audit_allow_sockets","true"
"hostX.domain.com","filesystem","config_plugin","tls"
"hostX.domain.com","0","config_refresh","60"
"hostX.domain.com","","config_tls_endpoint","/api/v1/osquery/config"
"hostX.domain.com","true","disable_audit","false"
"hostX.domain.com","true","disable_distributed","false"
"hostX.domain.com","60","distributed_interval","10"
"hostX.domain.com","","distributed_tls_read_endpoint","/api/v1/osquery/distributed/read"
"hostX.domain.com","","distributed_tls_write_endpoint","/api/v1/osquery/distributed/write"
"hostX.domain.com","","enroll_secret_path","/etc/osquery/enrollment_secret"
"hostX.domain.com","","enroll_tls_endpoint","/api/v1/osquery/enroll"
"hostX.domain.com","3600","events_expiry","1"
"hostX.domain.com","false","force","true"
"hostX.domain.com","0","logger_min_status","1"
"hostX.domain.com","filesystem","logger_plugin","syslog"
"hostX.domain.com","","logger_tls_endpoint","/api/v1/osquery/log"
"hostX.domain.com","4","logger_tls_period","60"
"hostX.domain.com","false","logtostderr","true"
"hostX.domain.com","_","pack_delimiter","/"
"hostX.domain.com","2","stderrthreshold","3"
"hostX.domain.com","","tls_hostname","kolidefleet.domain.com:8412"
"hostX.domain.com","/usr/share/osquery/certs/certs.pem","tls_server_certs","/etc/osquery/server.pem"
"hostX.domain.com","0","watchdog_memory_limit","350"