So, this is driving me nuts. I really dont understand how I could get the commands working in the director. CLI is working fine, no issues there. I´ve even gotten the powershell self service portal working but i cannot even figure out how to get a simple command working.
So to start with my director is totally empty of commands, perhaps it should be like that. hostalive and other simple checks working from the cli is not working from the director. I always get a fault about the lookup location /usr/lib/nagios/plugins. Lets proceed with a check that is actually located there like check_ping.
SO in the command i have written check_icmp and arguments "H x.x.x.x -w 3000.0,80% -c 5000.0,100% -p 5
I have tried with $HOSTNAME$ the actual fqdn or short dns (which is working from the server) and i always get, failed to resolve
I have tried with PluginDir + /check_icmp
I have tried more simple arguments and always failed to resolve.
I cannot understand how hard it should be…I thought DIrector should make things more simple
How do i get check like for example hostalive to work in director. Or basically anything to work?
I probably only need some examples to understand