May 19, 2012, 01:52:04 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
PlugPBX Forums
>
General Category
>
Dockstar Setup
>
Dockstar Debian/Asterisk Install Instructions - Part 1
Pages:
1
2
[
3
]
« previous
next »
Print
Author
Topic: Dockstar Debian/Asterisk Install Instructions - Part 1 (Read 13595 times)
dubanks
Newbie
Posts: 2
Re: Dockstar Debian/Asterisk Install Instructions - Part 1
«
Reply #30 on:
December 10, 2010, 11:47:41 AM »
Anyone have any idea how I can disable prints like:
doing dnsmgr_lookup for 'sipgate.com'
If I set verbose to 0 then its gone, but that also disables registration messages which are essential for fail2ban.
Thanks
Logged
PlugPBX Admin
Administrator
Sr. Member
Posts: 426
Re: Dockstar Debian/Asterisk Install Instructions - Part 1
«
Reply #31 on:
December 10, 2010, 06:44:43 PM »
Well that's a pure Asterisk question.
Can you give fail2ban 'ignore' strings?
Another hack would be to have it tail the file somehow? then pipe that into grep with a -v switch (invert) ...ie
tail -f /var/log/logfile.txt |grep -v "doing dnsmgr_lookup for" > logfileread_by_fail2ban.log
Run that after startup of asterisk, and have fail2ban start after asterisk starts. Yes, its dirty.
Gotcha's, test it during log rotation,it 'should' work.
Logged
-Greg
dubanks
Newbie
Posts: 2
Re: Dockstar Debian/Asterisk Install Instructions - Part 1
«
Reply #32 on:
December 10, 2010, 09:27:51 PM »
thanks for ur suggestion Greg.
Since asterisk is running in USB drive its better to reduce the writes. Given that swap partition is also part of USB drive, I am not sure of a ramdisk solution for saving the log file.
The registration msgs are are not a problem .. few per day. But this dns msg is repeating periodically which can wear out the usb drive. I checked other sources and looks like its a 'feature' in the code, where the verbosity is set to 4 for this stupid message. Unless I recompile .. there seem be no cleaner solution. Hopefully asterisk 1.8 pops out somewhere soon.
Logged
PlugPBX Admin
Administrator
Sr. Member
Posts: 426
Re: Dockstar Debian/Asterisk Install Instructions - Part 1
«
Reply #33 on:
December 11, 2010, 08:21:47 AM »
Well in my case i have logs in ram disk. I rotate them aggressively and kill off the old sets.
Any logs I want to capture longer term, they go over to a central syslog server I have running on a small NAS.
Logged
-Greg
jjoshua
Newbie
Posts: 13
Re: Dockstar Debian/Asterisk Install Instructions - Part 1
«
Reply #34 on:
January 27, 2011, 07:59:56 PM »
I have been running with this install since it was first posted. Nice job!
Now, I find that I am having some problems with chan_unistim and I would like to update to a more current version. What would be the proper way to do this?
Logged
Pages:
1
2
[
3
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News / Announcements
=> General Discussion
=> SheevaPlug Setup
=> GuruPlug Setup
=> Dockstar Setup
=> Devs Corner
=> Tips and Tricks
=> BUGS
Loading...