scribe v2.3_0 is up.
Notable changes:
- When updating filters, files in /opt/etc/syslog-ng.d and /opt/etc/logrotate.d are checked against files in /opt/share/syslog-ng/examples and /opt/share/logrotate/examples to see if there is an updated version in the examples directory. You are offered the ability to view the diff before accepting or rejecting the revised file. If you reject the update, it will be offered again the next time you update filters.
- As part of the above, the skynet syslog-ng file is no longer automatically updated when you update filters - it is treated like any other file and you will be asked before installation
- A new option, ld, has been added to the utilities menu(su) to generate and view debugging info for logrotate. This information is also now included in the debug file generated by the d option in the utilities menu.
'/jffs/scripts/uiScribe.d/Main_LogStatus_Content.asp' needs to be updated
document.getElementById('dstzone').innerHTML = "<#195#>";
document.getElementById('dstzone').innerHTML = "<#211#>";
So use the number reported by:On my 56U it comes out as "We suggest you to try a mix of letters, numbers, and symbols. Do you want to continue?"
echo $(($(grep -n "savings time is enabled" /www/EN.dict | cut -d":" -f1)-1))
I don't touch webGUI pages, let alone push updates. That's so far past my abilities I can't even see it from here. Sorry you got your hopes up.I thought scribe was going to push updates overnight. Man I was excited.
I might be dumb but I was looking at the examples.
Should 'ascd' be 'acsd'?
I do not use automatic channel selection either, but here is the word direct from RMerlin.It would appear I got it all backwards, yes. I'm surprised nobody else noticed ... I don't have that issue so I couldn't test the script.
Not at home, celebrating stuff yourself until you can't move and argue over politics and football day, but I'll try to fix it soon.
Yay!!So use the number reported by:
Code:echo $(($(grep -n "savings time is enabled" /www/EN.dict | cut -d":" -f1)-1))
On my 56U it comes out as "We suggest you to try a mix of letters, numbers, and symbols. Do you want to continue?"
211 is "According to South Korea government instruction, password must contain at least 8 characters including 1 alphabet letter, 1 special character, 1 numeric character."
172 is the time zone message.
Surely a bit harsh on non-English speakers who feel more comfortable with the GUI in their native tongue?This can vary between models. Just replace that with an actual English string instead of a tag.
./Dictionary_MSG.sh 211
212: * Daylight savings time is enabled in this time zone.
./Dictionary_MSG.sh 211 fr
212: * L'heure d'été est activée pour ce fuseau horaire.
./Dictionary_MSG.sh 211 de
212: * Sommerzeit ist in dieser Zeitzone aktiviert.
./Dictionary_MSG.sh 211 kr
212: * 일광 시간 절약제는 이 표준 시간대에서 활성화합니다.
./Dictionary_MSG.sh 211 fi
212: * Kesäaika on käytössä tällä aikavyöhykkeellä.
./Dictionary_MSG.sh 211 es
212: * El horario de verano está habilitado en esta zona horaria.
etc.
MSGNUM=$(($(grep -n "savings time is enabled" /www/EN.dict | cut -d":" -f1)-1))
sed -ibak "/dstzone.*innerHTML/s/#.*#/#$MSGNUM#/" /jffs/scripts/uiScribe.d/Main_LogStatus_Content.asp
service restart_httpd
Are you seeing these entries in your /opt/var/log/syslog-ng.log?You will note that Skynet v6.9.2 is revised to send a hangup to syslog-ng after it completes its hourly log purge. This means the time-reap(2) option is no longer necessary and can be deleted. This is working fine for me, but if you see a problem shout.
It also works fine if you leave the time-reap in, but it means that syslog-ng will close the skynet-0 log file 2 seconds after writing to it, all the time. If you take it out, syslog-ng leaves the file open a max of 60 seconds for additional writes, the way it handles the others. Not a big diff in this application.
Dec 4 01:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 01:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Dec 4 02:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 02:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Dec 4 02:25:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 02:25:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Dec 4 03:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 03:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Dec 4 04:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 04:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Dec 4 05:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 05:00:00 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Dec 4 06:00:01 RT-AC86U-4608 syslog-ng[20386]: Configuration reload request received, reloading configuration;
Dec 4 06:00:01 RT-AC86U-4608 syslog-ng[20386]: Configuration reload finished;
Yes, I think those are triggered by the hangup signal. They were kicked off daily by logrotate as well. Others too, I think.e you seeing these entries in your /opt/var/log/syslog-ng.log?
No, that is the old behaviour. With 3.23 and up, the file remains open indefinitely (well, until the HUP signal), the default time_reap for for destinations without a macro (which is most of the filters I supply with scribe) is 0, not 60 - it was 60 for everything previously.You will note that Skynet v6.9.2 is revised to send a hangup to syslog-ng after it completes its hourly log purge. This means the time-reap(2) option is no longer necessary and can be deleted. This is working fine for me, but if you see a problem shout.
It also works fine if you leave the time-reap in, but it means that syslog-ng will close the skynet-0 log file 2 seconds after writing to it, all the time. If you take it out, syslog-ng leaves the file open a max of 60 seconds for additional writes, the way it handles the others. Not a big diff in this application.
Correct, sending SIGHUP to syslog-ng causes it to close all files and reload its configuration.Yes, I think those are triggered by the hangup signal. They were kicked off daily by logrotate as well. Others too, I think.
Funny thing that, I'd think these constant changes to existing functionality would drive sysadmins batty. Certainly they wouldn't upgrade for every point release, but when they did decide to update, they'd stand a good chance of being bit by one of the "oh by the way" changes. Or, maybe anyone like that uses the paid, supported version.I'm thinking of filtering them out and discarding them.
I don't think we have performance questions going on here; I think this is more about following an approach where the incredibly useful combo of these scripts can be maintained going forward with the least burden on our authors while the external elements are in continuous motion. @cmkelley certainly has had to deal with adapting to changes in syslog-ng--a powerful tool scaling to big installs--in a soho router environment
syslog-ng -Fevd
[2019-12-11T08:50:52.391776] Syslog connection established; fd='14', server='AF_INET(52.34.108.226:514)', local='AF_INET(0.0.0.0:0)'
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!