You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
When sguil-db-purge runs every day at 5:01 AM, it stops sguild, purges the DB,
and then restarts sguild. httpry_agent is not automatically reconnecting to
sguild like it's supposed to.
Paul Halliday is looking at a proper fix for httpry_agent.
In the meantime, you can add the following to the end of
/usr/local/bin/sguil-db-purge:
# Restart httpry agent (bandaid)
/usr/local/sbin/nsm_sensor_ps-restart --only-httpry-agent
Original issue reported on code.google.com by doug.bu...@gmail.com on 12 Oct 2011 at 2:38
The text was updated successfully, but these errors were encountered:
I compared httpry_agent.tcl to ossec_agent.tcl and found the following in the
latter:
if { [llength $response] != 2 || [lindex $response 0] !=
"ConfirmEvent" || [lindex $response 1] != $NEXT_EVENT_ID } {
# Send to sguild failed
if { $DEBUG } { puts "Recv Failed" }
# Close open socket
catch {close $sguildSocketID}
# Reconnect loop
while { ![ConnectToSguilServer] } { after 15000 }
return 0
}
Paul made this change to httpry_agent.tcl and tested successfully.
Original comment by doug.bu...@gmail.com on 13 Oct 2011 at 3:35
Original issue reported on code.google.com by
doug.bu...@gmail.com
on 12 Oct 2011 at 2:38The text was updated successfully, but these errors were encountered: