Hello, I’m trying to set up Check Apt. But I don’t understand where I can insert the option ‘–only-critical’ there. I use Icinga director. Various variables are provided in the command but I can’t find them and I can’t add them manually. Icinga and Director have a current Build.
Hi @Manu007
If you have a look at the command definition (Director -> Commands -> External Commands -> apt), you can see that check_apt requires a variable apt_only_critical
of type boolean for this. You can define it in the ‘Data Fields’ section of the director and then add it to the command afterwards.
Kind regars
ritzgu
2 Likes
Hi.
An additional hint:
Depending on the target system, the version of check_apt plugin/script may not understand the option apt_only_critical (-o, --only-critical), e.g. on Ubuntu 16.
Greetings.
2 Likes
Thanks for the tipps