Crash Reporter on syslog ?

Started by nono, May 29, 2026, 05:45:37 PM

Previous topic - Next topic
Is there a way to have the information on syslog when a crash reporter is available following an issue ?

I've been told that maybe watching
Quote/var/crash/
could be a solution. As I want to get notified via syslog, could this be emplemented and would it be accurate ?
logger -p daemon.crit -t opnsense-crash \
    "Previous boot appears to have generated a crash dump; check /var/crash"

Would it be more accurate to create a cronjob starting at boot (or hourly) to check the presence of "something" on that folder or this is completely the wrong approach ?