Quantcast
Channel: How do I find and report on broken symbolic links automatically? - Server Fault
Viewing all articles
Browse latest Browse all 6

How do I find and report on broken symbolic links automatically?

$
0
0

As tidy sysadmins, we like to ensure that the little things are just as well covered as the big things (when time permits). One of these things is ensuring that our systems aren't full of broken symlinks.

Why are these little blighters a problem? Because they make you think files are there when they're not, they can be an indication of something more annoying, and because the (smallish) OCD part of me goes batshit crazy with all those warnings when running certain commands (like grep -r).

So, how would one go about detecting (and reporting, via e-mail or monitoring system) broken links across the parts of a system that the admin is responsible for (no point telling me that ~jbloggs has a bunch of broken symlinks, that's his problem)?


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images