Please can somebody help me out with this.
I know it’s probably so easy to get done, but I am somebody who doesn’t really understand the Icinga system totally and I am trying to get the grips of it. This system was inherited from a previous IT Manager who passed away and I’ve been tasked with taking care of the system or bettering it. From what I’ve seen so far, this system is so well organized and just boasts awesome features - so I definitely do not want to replace it.
Please can somebody help me figure out how I can setup an addon/plugin in Icinga2 that allows me to check to see if an external hard drive is mounted on my debian servers? We usually mount the backup drives to the same mount point (/media/EXTERNAL).
I’ve searched around and found few plugins check_mount.pl and check_mount.sh… I downloaded them but I don’t know how to install it.
If I run the commands ./check_mount.pl -p /media/EXTERNAL
I get the message that the hard drive is mounted.
and the same applies for the other .sh file I have, but I don’t know where to put these files or how to implement them with Icinga2 such that it reads Warning/Critical errors etc.
I hope this all makes sense.
PS. Do any of you know of any awesome video tutorials/courses for Icinga2?