So...I was wondering if we could get sagan to detect/log when it drops
connection to the mysql server it's connected to. Would be nice to
get this functionality if possible. Thank you.
James

[*] [11/09/2011 03:59:49] - [output-plugins/sagan-snort.c, line 183]
Lost connection to MySQL database. Trying 1
[*] [11/09/2011 03:59:51] - [output-plugins/sagan-snort.c, line 183]
Lost connection to MySQL database. Trying 2
[*] [11/09/2011 03:59:53] - [output-plugins/sagan-snort.c, line 183]
Lost connection to MySQL database. Trying 3
[E] [11/24/2011 10:26:30] - [output-plugins/sagan-snort.c, line 113]
MySQL Error 2003: "Can't connect to MySQL server on
'10.10.254.110' (113)"
That helps...issue is the switch that the box was connected to was
rebooted on the third of this month..I don't see any entries for
December. I AM however running it in the foreground in debug
(normalize), so maybe that had something to do with it. And as I'm
looking at this, I don't think it dropped connection...I think it ran
out of threads:
[*] [12/03/2011 23:56:09] - Snort database thread handler: Out of
threads
At that point it never logged anything until I stopped and started
sagan again. How can I avoid that in the future?
James
On Dec 5, 1:31 pm, "Champ Clark III [Quadrant]"
<ccl...@quadrantsec.com> wrote:
> Yeah.. I could probably add that pretty easy. I'm surprised it doesn't already do that. Have you checked your sagan.log file?
>
> On Dec 5, 2011, at 3:25 PM, DigiAngel wrote:
>
> > Hey all!
>
> > So...I was wondering if we could get sagan to detect/log when it drops
> > connection to the mysql server it's connected to. Would be nice to
> > get this functionality if possible. Thank you.
>
> > James
>

James
On Dec 5, 2:10 pm, "Champ Clark III [Quadrant]"


James
On Dec 5, 2:29 pm, "Champ Clark III [Quadrant]"