Am 28.10.2014 um 12:53 schrieb Darko Hojnik:
Hi there,


It is possible to define the states that would be notified in a service check? 
For example this check would be inherited by 800 Hosts

apply Service "/var Partition" {
   import "generic-service"
   assign where host.vars.nrpe_basic == "yes"
   ignore where host.vars.disk_var == "no"
   vars.sla = "24x7"
   check_command = "nrpe_check"
   vars.remote_nrpe_command = "disk_var“
}

For us it’s only interesting that we get only a notification if the state is 
critical. Without to get a warning-message before. I would like to configure it 
directly by the Service Check.

You'll do that in your notification objects and apply rules per state
and type filters.


cheers

Darko Hojnik
Datacenter Operations

[email protected]
www.trivago.com


Court of Registration: Amtsgericht Duesseldorf, Registration Number: HRB 51842
Managing directors: Rolf Schroemgens • Malte Siewert • Peter Vinnemeier
trivago GmbH • Bennigsen-Platz 1 • 40474 Duesseldorf, Germany
* This email message may contain legally privileged and/or confidential 
information.
You are hereby notified that any disclosure, copying, distribution, or use of 
this email message is strictly prohibited.

_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSMC 2014 - November - netways.de/osmc **
** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
** OSDC 2015 - April - osdc.de **
** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to