[MediaWiki-commits] [Gerrit] labs/icinga2[master]: Update some things

2017-06-18 Thread Paladox (Code Review)
Paladox has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/359799 )

Change subject: Update some things
..


Update some things

Change-Id: Id2353fee178eb77f701dc4676932343ee7bd4599
---
M templates/hosts.conf.erb
M templates/notifications.conf.erb
M templates/services.conf.erb
3 files changed, 79 insertions(+), 26 deletions(-)

Approvals:
  Paladox: Verified; Looks good to me, approved



diff --git a/templates/hosts.conf.erb b/templates/hosts.conf.erb
index 19665b3..18e720d 100644
--- a/templates/hosts.conf.erb
+++ b/templates/hosts.conf.erb
@@ -165,7 +165,7 @@
 object Host "jenkins-slave-01.git.eqiad.wmflabs" {
  import "generic-host"
  address = "jenkins-slave-01.git.eqiad.wmflabs"
- vars.os = "Linux"
+ vars.os = "Linux OS"
  vars.sla = "24x7"
  vars.external_host = true
  vars.puppet_check = "enabled"
@@ -197,29 +197,30 @@
 }
 
 object Host "puppet-paladox3.git.eqiad.wmflabs" {
-import "puppet-paladox3"
+import "generic-host"
 
 display_name = "Puppet-Paladox"
 address = "puppet-paladox3.git.eqiad.wmflabs"
 vars.address = "puppet-paladox3.git.eqiad.wmflabs"
 vars.check_user = true
-vars.os = "Linux"
+vars.os = "Linux OS"
 vars.sla = "24x7"
 vars.external_host = true
 vars.puppet_check = "enabled"
 }
 
-object Host "ores-05" {
-import "AI"
+object Host "ores-web-05" {
+import "generic-host"
 
 address = "ores-web-05.ores.eqiad.wmflabs"
-vars.os = "Linux"
+vars.os = "Linux OS"
 vars.sla = "24x7"
 vars.check_user = true
 vars.address = "ores-web-05.ores.eqiad.wmflabs"
 vars.check_disk = "disable"
 vars.check_disk_ores = true
 vars.host = "ores-web-05.ores.eqiad.wmflabs"
+vars.notification.ores = true
 /* Define notification mail attributes for notification apply rules in 
`notifications.conf`. */
 vars.notification["mail"] = {
   /* The UserGroup `icingaadmins` is defined in `users.conf`. */
@@ -228,16 +229,17 @@
 }
 
 object Host "Ores-Compute-01" {
-import "AI"
+import "generic-host"
 
 address = "ores-compute-01.ores.eqiad.wmflabs"
-vars.os = "Linux"
+vars.os = "Linux OS"
 vars.sla = "24x7"
 vars.check_user = true
 vars.address = "ores-compute-01.ores.eqiad.wmflabs"
 vars.check_disk = "false"
 vars.check_disk_ores = true
 vars.host = "ores-compute-01.ores.eqiad.wmflabs"
+vars.notification.ores = true
 /* Define notification mail attributes for notification apply rules in 
`notifications.conf`. */
 vars.notification["mail"] = {
   /* The UserGroup `icingaadmins` is defined in `users.conf`. */
@@ -246,11 +248,11 @@
 }
 
 object Host "puppet-phabricator.phabricator.eqiad.wmflabs" {
-import "puppet-paladox3"
+import "generic-host"
 
 display_name = "puppet-phabricator"
 address = "puppet-phabricator.phabricator.eqiad.wmflabs"
-vars.os = "Linux"
+vars.os = "Linux OS"
 vars.sla = "24x7"
 vars.address = "puppet-phabricator.phabricator.eqiad.wmflabs"
 vars.check_user = true
@@ -262,20 +264,79 @@
 }
 }
 
-object Host "Ores-worker-05" {
-import "AI"
+object Host "ores-worker-05" {
+import "generic-host"
 
 address = "ores-worker-05.ores.eqiad.wmflabs"
-vars.os = "Linux"
+vars.os = "Linux OS"
 vars.sla = "24x7"
 vars.address = "ores-worker-05.ores.eqiad.wmflabs"
 vars.check_user = true
 vars.check_disk = "disable"
 vars.check_disk_ores = true
 vars.host = "ores-worker-05.ores.eqiad.wmflabs"
+vars.notification.ores = true
 /* Define notification mail attributes for notification apply rules in 
`notifications.conf`. */
 vars.notification["mail"] = {
   /* The UserGroup `icingaadmins` is defined in `users.conf`. */
   groups = [ "icingaadmins" ]
 }
 }
+
+object Host "ores.wmflabs.org" {
+ import "generic-host"
+
+ address = "ores.wmflabs.org"
+ vars.os = "Linux OS"
+ vars.sla = "24x7"
+ vars.puppet_check = "disable"
+ vars.disk_check = "disable"
+ vars.load_check = "disable"
+ vars.website_name = "ores.wmflabs.org"
+ vars.website_url = "/"
+ vars.notification.ores = true
+
+ vars.notification["mail"] = {
+   /* The UserGroup `icingaadmins` is defined in `users.conf`. */
+   groups = [ "icingaadmins" ]
+ }
+}
+
+object Host "ores-lb-02" {
+import "generic-host"
+
+address = "ores-lb-02.ores.eqiad.wmflabs"
+vars.os = "Linux OS"
+vars.sla = "24x7"
+vars.address = "ores-lb-02.ores.eqiad.wmflabs"
+vars.check_user = true
+vars.check_disk = "disable"
+vars.check_disk_ores = true
+vars.host = "ores-lb-02.ores.eqiad.wmflabs"
+vars.puppet_check = "true"
+vars.notification.ores = true
+ vars.notification["mail"] = {
+   /* The UserGroup `icingaadmins` is defined in `users.conf`. */
+   groups = [ "icingaadmins" ]
+ }
+}
+
+o

[MediaWiki-commits] [Gerrit] labs/icinga2[master]: Update some things

2017-06-18 Thread Paladox (Code Review)
Paladox has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/359799 )

Change subject: Update some things
..

Update some things

Change-Id: Id2353fee178eb77f701dc4676932343ee7bd4599
---
0 files changed, 0 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/icinga2 
refs/changes/99/359799/1


-- 
To view, visit https://gerrit.wikimedia.org/r/359799
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2353fee178eb77f701dc4676932343ee7bd4599
Gerrit-PatchSet: 1
Gerrit-Project: labs/icinga2
Gerrit-Branch: master
Gerrit-Owner: Paladox 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] labs/icinga2[master]: Update some things

2017-06-17 Thread Paladox (Code Review)
Paladox has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/359658 )

Change subject: Update some things
..


Update some things

Change-Id: Ife5bfaf8e56dd06bfba0e1ec5e04280b57ee6a57
---
M templates/hosts.conf.erb
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Paladox: Verified; Looks good to me, approved



diff --git a/templates/hosts.conf.erb b/templates/hosts.conf.erb
index 30e5c1d..76b3da1 100644
--- a/templates/hosts.conf.erb
+++ b/templates/hosts.conf.erb
@@ -201,6 +201,10 @@
 address = "puppet-paladox3.git.eqiad.wmflabs"
 vars.address = "puppet-paladox3.git.eqiad.wmflabs"
 vars.check_user = true
+vars.os = "Linux OS"
+vars.sla = "24x7"
+vars.external_host = true
+vars.puppet_check = "enabled"
 }
 
 object Host "ores-05" {

-- 
To view, visit https://gerrit.wikimedia.org/r/359658
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ife5bfaf8e56dd06bfba0e1ec5e04280b57ee6a57
Gerrit-PatchSet: 2
Gerrit-Project: labs/icinga2
Gerrit-Branch: master
Gerrit-Owner: Paladox 
Gerrit-Reviewer: Paladox 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits