Hello,
I’m looking to modify the “warning” and “critical” of some service do you know or I can modify this?
Thank you
Hi & welcome to the community
First off, please share some more insights of your environment - how did you install Icinga, and how did you actually configure it - with static config files, using the Director or something else (Puppet, etc.)?
Cheers,
Michael
Hello Michael,
I installed icinga2 in SSH under a 64-bit Linux 9.8 virtual machine.
I then configure it as a static configuration file with Putty on the server.
Specifically, I am looking to modify the % warning and critical of the memory and CPU check of my hosts.
I join the configuration file screen for the CPU and memory check service
Hi,
since you’re using the nscp_api
command, there’s an attribute to pass additional query parameters available.
The detailed list of parameters can be found in the NSClient++ docs for check_cpu.
Example:
vars.nscp_api_arguments = [ "show-all", "warning='load>40'" ]
Cheers,
Michael
Thanks for your help