February 24, 201412 yr Hi guys, curious to know if there's a way to increase the file size/info that syslog stores? Every time I need to get a syslog to check issues, I see that it is always 2-3 pages long at most, and seems that something is not quite correctly configured on my side, as I am missing information. For example, today seems the power went out at home, and while I was really happy to see that the scripts did their job and seem to have performed a clean shutdown of the server (no parity check on startup, woo hoo!), when I went into the syslog to check what time the power had gone out, etc, I find that the syslog starts with when I powered the server back on... so what gives?
February 24, 201412 yr It's not the size of the syslog that is causing this. The syslog is in the RAMfs like most of the rest of unRAID OS and so will not survive a reboot. Some way to save it to flash on shutdown is probably what is needed. I think the powerdown script does this. I have several recent zipped syslogs on my flash in the logs folder that was put there by something, probably powerdown.
February 24, 201412 yr It's not the size of the syslog that is causing this. The syslog is in the RAMfs like most of the rest of unRAID OS and so will not survive a reboot. Some way to save it to flash on shutdown is probably what is needed. I think the powerdown script does this. I have several recent zipped syslogs on my flash in the logs folder that was put there by something, probably powerdown. Yes. Powerdown keeps up to 10 logs on the flash and copies the log to the flash as the last step in shutting down the system. Nice for historical reasons.
February 25, 201412 yr Author Ah.. Got it thanks guys. I did in fact look there and found the logfiles. I was very surprised to see that almost 1 hour had passed between the time the power went out and the moment my modest ups ran out of power and triggered the powerdown! It's only 800va (480w) and i guess all the disks being idle made the load real small for it to last close to an hour! Now if only I could figure out how to send e-mail when these events happen... Edit: also I think I'm due for an upgrade... Been running 4.7 and want to upgrade but don't wanna break anything with the addons of menu, oowerdown, apcupsd,etc....
February 25, 201412 yr unMenu and its packages for powerdown, apcupsd, and email should still work fine for you after you upgrade to 5.0.5
February 25, 201412 yr Author unMenu and its packages for powerdown, apcupsd, and email should still work fine for you after you upgrade to 5.0.5 I guess I should also upgrade those too afterwards...
February 25, 201412 yr Author Install the email and status alert packages in unmenu. Thanks, i'll give it a try. I assume it does a direct smtp connection to whatever server you specify and configure with a username/password etc?
Archived
This topic is now archived and is closed to further replies.