How to edit CRITICAL and WARNING Levels of host checks?
By default, Check_MK uses the 'check-host-alive' command which is
provided by Nagios. This command is usually defined in the file
/usr/local/nagios/etc/objects/commands.cfg.
The section regarding the command will look like this:
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
500.0,80% -c 5000.0,100% -p 3
}
You'll want to adjust the values for the -w and -c flags to your liking.
Let me know if you want to define values for individual hosts as that
would be handled in a different manner.
Thanks,
Dale
···
On Tue, May 17, 2011 at 5:54 AM, Neldien <msneldien@gmail.com> wrote:
How to edit CRITICAL and WARNING Levels of host checks?
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
--
Learn more about Dale Stubblefield at Dale Stubblefield | about.me .˙.
Not quite correct: Check_MK uses its own command "check-mk-ping",
which calls check_icmp.
The current version of check_mk_templates.cfg (GIT) now additional
arguments to this command, so you do not need the define command
anymore but can directly do this one:
# longer ping times for hosts with tag "wan"
extra_host_conf["check_command"] = [
( "check-mk-ping!-w500,40% -c1000,80%", [ "wan" ], ALL_HOSTS ),
]
This will be part of 1.1.11i2
Mathias
···
Am 17.05.2011 15:27, schrieb Dale Stubblefield:
By default, Check_MK uses the 'check-host-alive' command which is
provided by Nagios. This command is usually defined in the file
/usr/local/nagios/etc/objects/commands.cfg.The section regarding the command will look like this:
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
500.0,80% -c 5000.0,100% -p 3
}You'll want to adjust the values for the -w and -c flags to your liking.
Let me know if you want to define values for individual hosts as that
would be handled in a different manner.Thanks,
DaleOn Tue, May 17, 2011 at 5:54 AM, Neldien<msneldien@gmail.com> wrote:
How to edit CRITICAL and WARNING Levels of host checks?
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
--
__ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 München | | | | . \ Linux Beratung & Schulung
089 / 18 90 42 10 |_| |_|_|\_\ http://mathias-kettner.de
Mathias,
Yep - you are correct. I forgot that I had implemented by own
check_mk_templates.cfg file and changed the value.
I will try to get back to using the default check_mk_templates.cfg
file, but I will have to make some more definitions in my main.mk file
like you suggest below.
Thanks!
Dale
···
On Wed, May 18, 2011 at 1:38 AM, Mathias Kettner <mk@mathias-kettner.de> wrote:
Not quite correct: Check_MK uses its own command "check-mk-ping",
which calls check_icmp.The current version of check_mk_templates.cfg (GIT) now additional
arguments to this command, so you do not need the define command
anymore but can directly do this one:# longer ping times for hosts with tag "wan"
extra_host_conf["check_command"] = [
( "check-mk-ping!-w500,40% -c1000,80%", [ "wan" ], ALL_HOSTS ),
]This will be part of 1.1.11i2
Mathias
Am 17.05.2011 15:27, schrieb Dale Stubblefield:
By default, Check_MK uses the 'check-host-alive' command which is
provided by Nagios. This command is usually defined in the file
/usr/local/nagios/etc/objects/commands.cfg.The section regarding the command will look like this:
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
500.0,80% -c 5000.0,100% -p 3
}You'll want to adjust the values for the -w and -c flags to your liking.
Let me know if you want to define values for individual hosts as that
would be handled in a different manner.Thanks,
DaleOn Tue, May 17, 2011 at 5:54 AM, Neldien<msneldien@gmail.com> wrote:
How to edit CRITICAL and WARNING Levels of host checks?
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en--
__ __ _ __
Mathias Kettner | \/ | |/ / M A T H I A S K E T T N E R
Preysingstr. 74 | |\/| | ' /
81667 München | | | | . \ Linux Beratung & Schulung
089 / 18 90 42 10 |_| |_|_|\_\ http://mathias-kettner.de
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
--
Learn more about Dale Stubblefield at Dale Stubblefield | about.me .˙.