Icinga2 contains commands that don't exist per default

Hello, I am fairly new to icinga so I apologise if I am missing any terminology that would’ve helped me find similar issues.

I have previously gone through the documentation and deployed an icinga master with a web, db, director and redis all on the same system and for some reason, there are external commands registered in icinga that are not present on the filesystem. One example of these commands is the “interfaces” command which is supposed to execute “check_interfaces” but that doesn’t exist. I checked the monitoring plugins page but its not in those plugins. Another example for a plugin which I didn’t find in the plugindir is check_lsyncd.

Where is the command? Why is it in my icinga instance (and also in my director after i executed the kickstart wizard)?

Yes, the ITL (Icinga Template Library) is not taking into account, what check plugins are installed on your system.

Can I advice you to install the Linuxfabrik’s collection? It comes with a director basket import to setup commands, templates and service sets.

It’s way more consistent then the monitoring plugin collection in your distributions repository and works for Linux as well as Windows.

Thank you for the information. What would you recommend I do now? I already have the monitoring-plugins from linuxfabrik but I don’t know how to get rid of the other commands. I’m working with a test instance so I would like a way to install icinga without the ITL

You could comment include <itl> to //include <itl> in /etc/icinga2/icinga2.conf and then rerun the director kickstart.

thank you very much. that makes sense

removing the ITL and then rerunning the kickstart did not work. there is a bunch of commands from the linuxfabrik that reference check commands from the itl. like the dummy command or the icinga command. I will keep the ITL on and deel with it

You can also just ignore them.

The Linuxfabrik has its own dummy command - I know, I ordered it.

The icinga command is a build in and I’m not sure, if it’s in the ITL or deeper integrated.

1 Like