Am 15.07.2015 um 12:38 schrieb Bertalan Voros:
Hello All,

I would like to create a user with the following notification filter, but can't really figure out how to achive this in the user definition.

Hosts: Recovery, Down, Unreachable
Services: Recovery, Warning, Critical, Unknown

Could someone show me an example?

Unreachable is not a state in Icinga 2, and therefore can't be filtered. For the rest - what exactly does not work?

Kind regards,
Michael


My user looks like this:

object User "myuser" {
  import "generic-user"

  display_name = "My User"
  groups = [ "icingaadmins" ]
  enable_notifications = true

  states = [ Up, Down, OK, Warning, Critical, Unknown ]
  types = [ Problem, Acknowledgement, Recovery ]

  email = "myu...@mydomain.com <mailto:myu...@mydomain.com>"
}




_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users


--

https://twitter.com/dnsmichi
https://github.com/dnsmichi
http://www.legendiary.at

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to