Changeset 11053 in genesis
- Timestamp:
- May 31, 2012, 2:00:47 AM (13 years ago)
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/CNodeAJSoft2/wleiden.yaml
r10933 r11053 69 69 ns_ip : "172.16.6.42/29" 70 70 ns_mac : "00:15:6d:ea:f0:6a" 71 bridge_type: "NanoStation5" 71 72 status : "down" 72 73 -
nodes/CNodeHofwijck/wleiden.yaml
r10891 r11053 51 51 ns_ip : "172.16.6.26" 52 52 ns_mac : "00:15:6d:e8:e7:37" 53 bridge_type: "Bullet2" 53 54 status : "up" 54 55 … … 67 68 ns_ip : "172.16.17.235/29" 68 69 ns_mac : "00:15:6d:f6:be:db" 70 bridge_type: "NanoStation5" 69 71 status : "up" 70 72 … … 83 85 ns_ip : "172.16.3.107" 84 86 ns_mac : "00:15:6d:f7:be:d0" 87 bridge_type: "NanoStation5" 85 88 status : "up" 86 89 -
nodes/CNodeIMI/wleiden.yaml
r11008 r11053 42 42 ns_ip : "172.16.16.51/29" 43 43 ns_mac : "00:15:6D:70:54:A5" 44 bridge_type: "NanoStation5" 44 45 status : "up" 46 45 47 46 48 iface_vr0: -
nodes/CNodeLijtweg1/wleiden.yaml
r10892 r11053 42 42 ns_ip : "172.16.6.2" 43 43 ns_mac : "00:15:6d:e9:e7:20" 44 bridge_type: "Bullet2" 44 45 status : "up" 45 46 -
nodes/CNodePVKerkDuif/wleiden.yaml
r10892 r11053 58 58 ns_ip : "172.17.20.2/24" 59 59 ns_mac : "00:27:22:80:5a:b6" 60 bridge_type: "NanoStation M2" 60 61 status : "up" 61 62 -
nodes/CNodePlantsoen2/wleiden.yaml
r10892 r11053 87 87 ns_ip : "172.16.5.91/29" 88 88 ns_mac : "00:15:6d:bd:67:ff" 89 bridge_type: "NanoStation5" 89 90 status : "up" 90 91 -
nodes/CNodeThomas/wleiden.yaml
r10989 r11053 68 68 ns_ip : "172.16.16.50/29" 69 69 ns_mac : "00:15:6d:70:52:5c" 70 bridge_type: "NanoStation5" 70 71 status : "up" 71 72 -
nodes/HybridHerman/wleiden.yaml
r10891 r11053 32 32 service_proxy_normal: False 33 33 status : "planned" 34 wl_release: 10805 34 35 35 36 -
nodes/HybridRick2/wleiden.yaml
r10891 r11053 27 27 service_proxy_normal: True 28 28 status : "up" 29 wl_release: 11047 29 30 30 31 -
nodes/HybridRickVPN/wleiden.yaml
r11051 r11053 28 28 service_vpn_server: True 29 29 status : "up" 30 wl_release: 10915 30 31 31 32 -
tools/check-batch-cmd
r10892 r11053 11 11 import os 12 12 import paramiko 13 import subprocess 13 14 import socket 14 15 import sys … … 69 70 raise CmdError((stderr, stdout)) 70 71 return stdout 71 except socket.error,e:72 except (socket.error, paramiko.AuthenticationException) as e: 72 73 raise ConnectError(e) 73 74 … … 95 96 96 97 def node_check(host): 98 """ Using multiple connect methods to do some basic health checking as well""" 99 97 100 print "# Processing host", host 98 101 datadump = gformat.get_yaml(host) … … 125 128 except CmdError, e: 126 129 print "### Command error: %s" % e 130 131 try: 132 wl_release = subprocess.check_output(['snmpget', '-Oq', '-Ov', '-c', 'public', '-v2c', 133 host, 'UCD-SNMP-MIB::ucdavis.84.4.1.2.6.119.108.45.118.101.114.1']) 134 datadump['wl_release'] = int(wl_release.replace('"','')) 135 except subprocess.CalledProcessError, ValueError: 136 pass 127 137 gformat.store_yaml(datadump) 128 138
Note:
See TracChangeset
for help on using the changeset viewer.