Then $ARG1$ is filled with all the information. If we hit the "Run Check Command" button it works great and if we test from cli it works great. Once we applied in CCM the resilt is a WARNING state with this text:
Error output from command:
No entry for terminal type "unknown";
using dumb terminal settings.
Any idea on what can be causing the issue? If we revert the command bac to not using negate it shows up as OK or CRITICAL as it should.
Thanks
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Typically when you see that message, it is because of the special characters in the $ARG$ fields are not excaped.
When using the "Run Check Command" button, it escapes the command for you if needed and if it does it correctly, it will work for you.
What you could do is to use the "Run Check Command" button again and verify that the command in the CCM matches and see if that works for you.
Compared what the run command button generates and what I have in ARG1 and it is identical. I'm at a loss as to what could be causing this weirdness.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github