I would like to create a check in order to verify that a certain file can be downloaded. It’s working great when I run it manually but when I put it in Icinga … it’s giving me a “No such file or directory”
Here the explicit command I wrote in Icinga :
command = ["/usr/bin/wget http://servername/robots.txt -O /etc/icinga2/conf.d/tmp"]
I even tried creating a specific folder as I thought this could be the problem…no luck.
A User problem maybe?
Any help is appreciated!