PBS Lost Connection to iSCSI

spetrillo

Member
Feb 15, 2024
256
13
18
Hello all,

My daily backups failed last night due to the iSCSI storage mounted on my PBS was lost. First off is there any type of notification I can set, so if this happens again I get the notification from my PBS? Second what log should I be looking at to see when and why this was lost?

Thanks,
Steve
 
My daily backups failed last night due to the iSCSI storage mounted on my PBS was lost. First off is there any type of notification I can set, so if this happens again I get the notification from my PBS?

No, there is no official notification for such thing. But you use a monitoring system, for example checkMK, Zabbix... that can do the job for you. Maybe also Webmin can do this for you in a simple form...

Second what log should I be looking at to see when and why this was lost?
You can check the systems journal for errors. For example:

Code:
journalctl -r -p3 #Errors only

journalctl -r -p4 #Warnings

Have a look in the manpage: "man journalctl"

-p, --priority=Filter output by message priorities or priority ranges. Takes either a single numeric or textual log level (i.e. between 0/"emerg" and 7/"debug"), or a range of numeric/text log levels in the form FROM..TO. The log levels are the usual syslog log levels as documented in syslog(3), i.e. "emerg" (0), "alert" (1), "crit" (2), "err" (3), "warning" (4), "notice" (5), "info" (6), "debug" (7). If a single log level is specified, all messages with this log level or a lower (hence more important) log level are shown. If a range is specified, all messages within the range are shown, including both the start and the end value of the range. This will add "PRIORITY=" matches for the specified priorities.
 
  • Like
Reactions: Johannes S