BBlack has submitted this change and it was merged.
Change subject: clean up esams router monitoring a bit
......................................................................
clean up esams router monitoring a bit
Change-Id: I0c185372f02e2ad28562b2a4c851d2079f140edb
---
M manifests/network.pp
1 file changed, 23 insertions(+), 11 deletions(-)
Approvals:
BBlack: Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/network.pp b/manifests/network.pp
index d94310b..c07fd9f 100644
--- a/manifests/network.pp
+++ b/manifests/network.pp
@@ -310,6 +310,12 @@
ip_address => '91.198.174.245',
group => 'routers',
}
+ @monitor_service { 'cr1-esams interfaces':
+ host => 'cr1-esams',
+ group => 'routers',
+ description => 'Router interfaces',
+ check_command => "check_ifstatus_nomon!${snmp_ro_community}",
+ }
@monitor_service { 'cr1-esams bgp status':
host => 'cr1-esams',
group => 'routers',
@@ -317,28 +323,34 @@
check_command => "check_bgp!${snmp_ro_community}",
}
- # csw1-esams
- @monitor_host { 'csw1-esams':
- ip_address => '91.198.174.247',
+ # cr2-knams
+ @monitor_host { 'cr2-knams':
+ ip_address => '91.198.174.246',
group => 'routers',
}
- @monitor_service { 'csw1-esams bgp status':
- host => 'csw1-esams',
+ @monitor_service { 'cr2-knams interfaces':
+ host => 'cr2-knams',
+ group => 'routers',
+ description => 'Router interfaces',
+ check_command => "check_ifstatus_nomon!${snmp_ro_community}",
+ }
+ @monitor_service { 'cr2-knams bgp status':
+ host => 'cr2-knams',
group => 'routers',
description => 'BGP status',
check_command => "check_bgp!${snmp_ro_community}",
}
- # csw2-esams
- @monitor_host { 'csw2-esams':
+ # mr1-esams
+ @monitor_host { 'mr1-esams':
ip_address => '91.198.174.244',
group => 'routers'
}
- @monitor_service { 'csw2-esams bgp status':
- host => 'csw2-esams',
+ @monitor_service { 'mr1-esams interfaces':
+ host => 'mr1-esams',
group => 'routers',
- description => 'BGP status',
- check_command => "check_bgp!${snmp_ro_community}",
+ description => 'Router interfaces',
+ check_command => "check_ifstatus_nomon!${snmp_ro_community}",
}
### EQIAD ###
--
To view, visit https://gerrit.wikimedia.org/r/165379
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0c185372f02e2ad28562b2a4c851d2079f140edb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits