gnms 2.1.0.rc1 → 2.1.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gnms might be problematic. Click here for more details.
- data/gnms.gemspec +1 -1
- data/lib/cmd_parse.rb +31 -71
- data/lib/config_global.rb +7 -1
- data/lib/external/ping.rb +3 -0
- data/lib/external/ping/icmp.rb +180 -0
- data/lib/external/ping/ping.rb +89 -0
- data/lib/external/ping/tcp.rb +83 -0
- data/lib/external/ping/udp.rb +125 -0
- data/lib/gnms.rb +1 -0
- data/lib/gui/about_window.rb +1 -1
- data/lib/gui/base_window.rb +4 -2
- data/lib/gui/canvas_map.rb +37 -10
- data/lib/gui/config_window.rb +30 -32
- data/lib/gui/debug_window.rb +1 -1
- data/lib/gui/event_window.rb +7 -3
- data/lib/gui/help_window.rb +1 -1
- data/lib/gui/mib_browser.rb +1 -1
- data/lib/gui/node_host_property.rb +2 -2
- data/lib/gui/node_view.rb +6 -2
- data/lib/main.rb +4 -3
- data/lib/node_db.rb +4 -2
- data/lib/node_listener.rb +56 -54
- data/plugins/PgsqlPercentConnectionMonitor.rb +1 -1
- metadata +180 -171
- data/pixmap/logo.jpg +0 -0
- data/pixmap/type/home.png +0 -0
- data/plugins/Defaultme.rb +0 -7
data/lib/gui/debug_window.rb
CHANGED
@@ -13,7 +13,7 @@ class DebugWindow
|
|
13
13
|
$debug_console_win.set_title "Debug console"
|
14
14
|
$debug_console_win.resizable=false
|
15
15
|
$debug_console_win.window_position=Gtk::Window::POS_CENTER
|
16
|
-
icon_name="
|
16
|
+
icon_name="#{PIXMAP_PATH}/logo_icon.png"
|
17
17
|
Gtk::Window.set_default_icon(icon_name)
|
18
18
|
|
19
19
|
$debug_console_win.signal_connect("destroy") {
|
data/lib/gui/event_window.rb
CHANGED
@@ -232,14 +232,18 @@ def analyze_event()
|
|
232
232
|
end
|
233
233
|
end
|
234
234
|
|
235
|
+
def clean()
|
236
|
+
@event_strings=[]
|
237
|
+
@filter_active=false
|
238
|
+
@filter_node=nil
|
239
|
+
end
|
240
|
+
|
235
241
|
def initialize()
|
236
242
|
|
237
243
|
@statusbar=nil
|
238
244
|
@in_statusbar = Mutex.new
|
239
245
|
@list=nil
|
240
|
-
|
241
|
-
@filter_active=false
|
242
|
-
@filter_node=nil
|
246
|
+
clean()
|
243
247
|
|
244
248
|
#################################################
|
245
249
|
#create thread to handle new events
|
data/lib/gui/help_window.rb
CHANGED
data/lib/gui/mib_browser.rb
CHANGED
@@ -2671,7 +2671,7 @@ eval IO.read("#{GNMSLIB}"+'/gui/sub/account_frame.rb')
|
|
2671
2671
|
fill_port_list(node)
|
2672
2672
|
fill_port_view(node)
|
2673
2673
|
|
2674
|
-
if
|
2674
|
+
if !$config.port_mon
|
2675
2675
|
@treeview.set_sensitive false
|
2676
2676
|
@treeview.show
|
2677
2677
|
frame.set_label("This monitoring is disabled")
|
@@ -3496,7 +3496,7 @@ eval IO.read("#{GNMSLIB}"+'/gui/sub/account_frame.rb')
|
|
3496
3496
|
|
3497
3497
|
Thread.kill(@scan_port_th) unless @scan_port_th == nil
|
3498
3498
|
Gtk.thread_flush
|
3499
|
-
if $config.port_mon
|
3499
|
+
if $config.port_mon
|
3500
3500
|
#store services
|
3501
3501
|
if defined?(@treeview)
|
3502
3502
|
node.clear_service()
|
data/lib/gui/node_view.rb
CHANGED
@@ -122,9 +122,13 @@ class NodeView
|
|
122
122
|
def reload_bg_text()
|
123
123
|
to_size = get_node_size()
|
124
124
|
siz = to_size + 3*@text.text.size
|
125
|
-
|
125
|
+
xdiff = @text.x2 - @text.x1
|
126
|
+
if siz > xdiff
|
126
127
|
@bg_text.width = siz
|
127
|
-
|
128
|
+
else
|
129
|
+
@bg_text.width = xdiff
|
130
|
+
end
|
131
|
+
@bg_text.width += 5
|
128
132
|
@bg_text.x = @text.x - @bg_text.width/2
|
129
133
|
@bg_text.y = @icon.y + to_size + 5
|
130
134
|
end
|
data/lib/main.rb
CHANGED
@@ -269,7 +269,7 @@ def fill_ip_str(ip)
|
|
269
269
|
end
|
270
270
|
|
271
271
|
def get_map_width()
|
272
|
-
if $win.window != nil
|
272
|
+
if $win and $win.window != nil
|
273
273
|
return $win.window.geometry[2]
|
274
274
|
else
|
275
275
|
return $root_width
|
@@ -277,7 +277,7 @@ def get_map_width()
|
|
277
277
|
end
|
278
278
|
|
279
279
|
def get_map_height()
|
280
|
-
if $win.window != nil
|
280
|
+
if $win and $win.window != nil
|
281
281
|
return $win.window.geometry[3]
|
282
282
|
else
|
283
283
|
return $root_height
|
@@ -859,7 +859,7 @@ def set_map(mp=nil)
|
|
859
859
|
if $config.nmap_path
|
860
860
|
$config.nmap_vers=nmap_version()
|
861
861
|
if $config.nmap_vers == nil
|
862
|
-
$log.warn("You should install NMAP version from http://www.insecure.org/nmap/ to access full features")
|
862
|
+
$log.warn("You should install NMAP version from http://www.insecure.org/nmap/ to access full scan features")
|
863
863
|
else
|
864
864
|
if $config.nmap_vers.to_i() < 4
|
865
865
|
$log.info("You should update NMAP to latest version from http://www.insecure.org/nmap/")
|
@@ -1032,6 +1032,7 @@ def set_map(mp=nil)
|
|
1032
1032
|
def save_all_in_db()
|
1033
1033
|
#save nodes
|
1034
1034
|
set_busy()
|
1035
|
+
|
1035
1036
|
Thread.start {
|
1036
1037
|
$host.each_key {|ip|
|
1037
1038
|
$log.debug("Saving node host #{ip}")
|
data/lib/node_db.rb
CHANGED
@@ -27,6 +27,8 @@ def open_db(fic=SQLITE_DB)
|
|
27
27
|
end
|
28
28
|
begin
|
29
29
|
$db = SQLite3::Database.new(fic)
|
30
|
+
$db.default_synchronous = 'off'
|
31
|
+
$db.synchronous = 'off'
|
30
32
|
rescue
|
31
33
|
$log.fatal("#{fic} database corrupted")
|
32
34
|
exit()
|
@@ -530,10 +532,10 @@ def db_add_account(ip, nodetype, accounts)
|
|
530
532
|
nodeaccountid=db_get_node_account_id(nodeid)
|
531
533
|
end
|
532
534
|
if nodeaccountid != 0
|
533
|
-
stmt2=$db.prepare("SELECT IFNULL(MAX(id),0)+1 AS cid FROM account")
|
534
535
|
account_id = 1
|
536
|
+
stmt2=$db.prepare("SELECT IFNULL(MAX(id),0)+1 AS cid FROM account")
|
535
537
|
rs = stmt2.execute
|
536
|
-
account_id = rs.first.to_s.to_i
|
538
|
+
account_id = rs.first.join("\t").to_s.to_i
|
537
539
|
stmt3=$db.prepare("INSERT INTO account VALUES (?, ?, ?, ?)")
|
538
540
|
stmt4=$db.prepare("INSERT INTO node_and_account VALUES (?, ?, ?)")
|
539
541
|
$db.transaction
|
data/lib/node_listener.rb
CHANGED
@@ -517,68 +517,70 @@ def t_find_local_segment_sniffing()
|
|
517
517
|
loop do
|
518
518
|
cap.stream.each do |p|
|
519
519
|
pkt = PacketFu::Packet.parse p
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
if
|
530
|
-
|
531
|
-
|
532
|
-
|
520
|
+
if $config.broadcast_ping_state and !$config.visible()
|
521
|
+
if pkt.is_arp?
|
522
|
+
#check if it's ethernet and arp reply
|
523
|
+
if pkt.arp_hw == 1 and pkt.arp_opcode == 2
|
524
|
+
ip_mac_t = Array.new
|
525
|
+
ip_mac_t.push([pkt.arp_saddr_ip, pkt.arp_saddr_mac])
|
526
|
+
ip_mac_t.push([pkt.arp_daddr_ip, pkt.arp_daddr_mac])
|
527
|
+
ip_mac_t.each {|ip, mac|
|
528
|
+
$log.debug("t_find_local_segment_sniffing: ARP reply founds ip=#{ip} mac=#{mac}")
|
529
|
+
if isValidIPv4(ip) and !exist_host(ip)
|
530
|
+
if $network_map_always == 0
|
531
|
+
choose_network_map(ip)
|
532
|
+
while $network_map_result.nil?
|
533
|
+
sleep(2)
|
534
|
+
end
|
533
535
|
end
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
536
|
+
if !$network_map_result.nil? and !$network_map_result.empty?
|
537
|
+
map = $network_map_result
|
538
|
+
if $network.has_key?(map)
|
539
|
+
addhostentry(ip, 24, map)
|
540
|
+
sleep(2)
|
541
|
+
if $host[ip]
|
542
|
+
$host[ip].mac = mac
|
543
|
+
end
|
542
544
|
end
|
543
545
|
end
|
544
|
-
|
545
|
-
|
546
|
-
$network_map_result = nil
|
547
|
-
end
|
548
|
-
end
|
549
|
-
}
|
550
|
-
end
|
551
|
-
end
|
552
|
-
begin
|
553
|
-
if pkt.is_lldp?
|
554
|
-
$log.debug("t_find_local_segment_sniffing: LLDP founds ip=#{pkt.lldp_address} mac=#{pkt.lldp_saddr_mac}")
|
555
|
-
if (pkt.lldp_address_type_readable == "IPv4") and isValidIPv4(pkt.lldp_address) and !exist_host(pkt.lldp_address)
|
556
|
-
puts pkt.lldp_address
|
557
|
-
if $network_map_always == 0
|
558
|
-
choose_network_map(pkt.lldp_address)
|
559
|
-
while $network_map_result.nil?
|
560
|
-
sleep(2)
|
546
|
+
if $network_map_always == 0
|
547
|
+
$network_map_result = nil
|
561
548
|
end
|
562
549
|
end
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
550
|
+
}
|
551
|
+
end
|
552
|
+
end
|
553
|
+
begin
|
554
|
+
if pkt.is_lldp?
|
555
|
+
$log.debug("t_find_local_segment_sniffing: LLDP founds ip=#{pkt.lldp_address} mac=#{pkt.lldp_saddr_mac}")
|
556
|
+
if (pkt.lldp_address_type_readable == "IPv4") and isValidIPv4(pkt.lldp_address) and !exist_host(pkt.lldp_address)
|
557
|
+
puts pkt.lldp_address
|
558
|
+
if $network_map_always == 0
|
559
|
+
choose_network_map(pkt.lldp_address)
|
560
|
+
while $network_map_result.nil?
|
561
|
+
sleep(2)
|
571
562
|
end
|
572
563
|
end
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
564
|
+
if !$network_map_result.nil? and !$network_map_result.empty?
|
565
|
+
map = $network_map_result
|
566
|
+
if $network.has_key?(map)
|
567
|
+
addhostentry(pkt.lldp_address, 24, map)
|
568
|
+
sleep(2)
|
569
|
+
if $host[pkt.lldp_address]
|
570
|
+
$host[pkt.lldp_address].mac = pkt.lldp_saddr_mac
|
571
|
+
$host[pkt.lldp_address].name = pkt.lldp_system_name
|
572
|
+
end
|
573
|
+
end
|
574
|
+
end
|
575
|
+
if $network_map_always == 0
|
576
|
+
$network_map_result = nil
|
577
|
+
end
|
578
|
+
end
|
579
|
+
end
|
580
|
+
rescue NoMethodError
|
581
|
+
#current gem version does not support lldp patch i sent
|
578
582
|
end
|
579
|
-
|
580
|
-
#current gem version does not support lldp patch i sent
|
581
|
-
end
|
583
|
+
end
|
582
584
|
end
|
583
585
|
end
|
584
586
|
}
|
@@ -3,7 +3,7 @@ require "#{GNMSLIB}"+'/monitor/custom_plugin'
|
|
3
3
|
begin
|
4
4
|
require 'pg'
|
5
5
|
rescue LoadError
|
6
|
-
$log.fatal("PgsqlPercentConnectionMonitor: you need to install ruby-pg library
|
6
|
+
$log.fatal("PgsqlPercentConnectionMonitor: you need to install ruby-pg library")
|
7
7
|
$pg_lib_error=false
|
8
8
|
raise LoadError
|
9
9
|
end
|
metadata
CHANGED
@@ -1,216 +1,210 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gnms
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 769928891
|
5
5
|
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
- 2
|
12
|
+
version: 2.1.0.rc2
|
6
13
|
platform: ruby
|
7
|
-
authors:
|
14
|
+
authors:
|
8
15
|
- David Maciejak
|
9
16
|
autorequire:
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
19
|
+
|
20
|
+
date: 2013-01-16 00:00:00 Z
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
15
23
|
name: facter
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
24
|
prerelease: false
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: goocanvas
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
33
26
|
none: false
|
34
|
-
requirements:
|
35
|
-
- -
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
38
34
|
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: goocanvas
|
39
38
|
prerelease: false
|
40
|
-
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.1.7
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
54
48
|
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: gdk_pixbuf2
|
55
52
|
prerelease: false
|
56
|
-
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.1.7
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: glib2
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
65
54
|
none: false
|
66
|
-
requirements:
|
55
|
+
requirements:
|
67
56
|
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 29
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 1
|
62
|
+
- 7
|
69
63
|
version: 1.1.7
|
70
64
|
type: :runtime
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: glib2
|
71
68
|
prerelease: false
|
72
|
-
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
70
|
none: false
|
74
|
-
requirements:
|
71
|
+
requirements:
|
75
72
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
requirements:
|
83
|
-
- - ~>
|
84
|
-
- !ruby/object:Gem::Version
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 29
|
75
|
+
segments:
|
76
|
+
- 1
|
77
|
+
- 1
|
78
|
+
- 7
|
85
79
|
version: 1.1.7
|
86
80
|
type: :runtime
|
81
|
+
version_requirements: *id004
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: gtk2
|
87
84
|
prerelease: false
|
88
|
-
|
85
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
86
|
none: false
|
90
|
-
requirements:
|
87
|
+
requirements:
|
91
88
|
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
hash: 29
|
91
|
+
segments:
|
92
|
+
- 1
|
93
|
+
- 1
|
94
|
+
- 7
|
93
95
|
version: 1.1.7
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: net-ssh
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ! '>='
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
102
96
|
type: :runtime
|
97
|
+
version_requirements: *id005
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: net-ssh
|
103
100
|
prerelease: false
|
104
|
-
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: snmp
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
113
102
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 3
|
107
|
+
segments:
|
108
|
+
- 0
|
109
|
+
version: "0"
|
118
110
|
type: :runtime
|
111
|
+
version_requirements: *id006
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: snmp
|
119
114
|
prerelease: false
|
120
|
-
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: xmpp4r
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
129
116
|
none: false
|
130
|
-
requirements:
|
131
|
-
- -
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
hash: 3
|
121
|
+
segments:
|
122
|
+
- 0
|
123
|
+
version: "0"
|
134
124
|
type: :runtime
|
125
|
+
version_requirements: *id007
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: xmpp4r
|
135
128
|
prerelease: false
|
136
|
-
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ! '>='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '0'
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: sqlite3
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
145
130
|
none: false
|
146
|
-
requirements:
|
147
|
-
- -
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
hash: 3
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
version: "0"
|
150
138
|
type: :runtime
|
139
|
+
version_requirements: *id008
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: sqlite3
|
151
142
|
prerelease: false
|
152
|
-
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ! '>='
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '0'
|
158
|
-
- !ruby/object:Gem::Dependency
|
159
|
-
name: pcaprub
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
161
144
|
none: false
|
162
|
-
requirements:
|
163
|
-
- -
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
hash: 3
|
149
|
+
segments:
|
150
|
+
- 0
|
151
|
+
version: "0"
|
166
152
|
type: :runtime
|
153
|
+
version_requirements: *id009
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: pcaprub
|
167
156
|
prerelease: false
|
168
|
-
|
157
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
169
158
|
none: false
|
170
|
-
requirements:
|
159
|
+
requirements:
|
171
160
|
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
hash: 53
|
163
|
+
segments:
|
164
|
+
- 0
|
165
|
+
- 11
|
166
|
+
- 3
|
173
167
|
version: 0.11.3
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: packetfu
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
|
-
requirements:
|
179
|
-
- - ! '>='
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
182
168
|
type: :runtime
|
169
|
+
version_requirements: *id010
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: packetfu
|
183
172
|
prerelease: false
|
184
|
-
|
185
|
-
none: false
|
186
|
-
requirements:
|
187
|
-
- - ! '>='
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0'
|
190
|
-
- !ruby/object:Gem::Dependency
|
191
|
-
name: gruff
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
173
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
193
174
|
none: false
|
194
|
-
requirements:
|
195
|
-
- -
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 3
|
179
|
+
segments:
|
180
|
+
- 0
|
181
|
+
version: "0"
|
198
182
|
type: :runtime
|
183
|
+
version_requirements: *id011
|
184
|
+
- !ruby/object:Gem::Dependency
|
185
|
+
name: gruff
|
199
186
|
prerelease: false
|
200
|
-
|
187
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
201
188
|
none: false
|
202
|
-
requirements:
|
203
|
-
- -
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
hash: 3
|
193
|
+
segments:
|
194
|
+
- 0
|
195
|
+
version: "0"
|
196
|
+
type: :runtime
|
197
|
+
version_requirements: *id012
|
206
198
|
description: GNMS is a graphical tool used to monitor state of network elements
|
207
|
-
email:
|
199
|
+
email:
|
208
200
|
- david.maciejak@gmail.com
|
209
|
-
executables:
|
201
|
+
executables:
|
210
202
|
- gnms
|
211
203
|
extensions: []
|
204
|
+
|
212
205
|
extra_rdoc_files: []
|
213
|
-
|
206
|
+
|
207
|
+
files:
|
214
208
|
- LICENSE
|
215
209
|
- README
|
216
210
|
- gnms.gemspec
|
@@ -226,7 +220,6 @@ files:
|
|
226
220
|
- pixmap/type/router.png
|
227
221
|
- pixmap/type/device.png
|
228
222
|
- pixmap/type/vm.png
|
229
|
-
- pixmap/type/home.png
|
230
223
|
- pixmap/type/switch.png
|
231
224
|
- pixmap/os/sgi.xpm
|
232
225
|
- pixmap/os/os2warp.gif
|
@@ -253,7 +246,6 @@ files:
|
|
253
246
|
- pixmap/os/amiga.png
|
254
247
|
- pixmap/bg/map_bg2.jpg
|
255
248
|
- pixmap/bg/map_bg.jpg
|
256
|
-
- pixmap/logo.jpg
|
257
249
|
- sound/beep.wav
|
258
250
|
- lib/contact.rb
|
259
251
|
- lib/version.rb
|
@@ -297,8 +289,13 @@ files:
|
|
297
289
|
- lib/monitor/custom_plugin.rb
|
298
290
|
- lib/external/fog.rb
|
299
291
|
- lib/external/jjmx.rb
|
292
|
+
- lib/external/ping/icmp.rb
|
293
|
+
- lib/external/ping/tcp.rb
|
294
|
+
- lib/external/ping/udp.rb
|
295
|
+
- lib/external/ping/ping.rb
|
300
296
|
- lib/external/xmpp4r-simple.rb
|
301
297
|
- lib/external/sms.rb
|
298
|
+
- lib/external/ping.rb
|
302
299
|
- lib/external/crypt/blowfish.rb
|
303
300
|
- lib/external/crypt/cbc.rb
|
304
301
|
- lib/external/crypt/blowfish-tables.rb
|
@@ -344,35 +341,47 @@ files:
|
|
344
341
|
- plugins/DnsCheck.rb
|
345
342
|
- plugins/TelnetCpuLoadMonitor.rb
|
346
343
|
- plugins/SshFgtAvExpiredMonitor.rb
|
347
|
-
- plugins/Defaultme.rb
|
348
344
|
- plugins/FooMonitor.rb
|
349
345
|
- plugins/PgsqlPercentConnectionMonitor.rb
|
350
346
|
- plugins/MysqlShowStatusMonitor.rb
|
351
347
|
- plugins/SshDiskMonitor.rb
|
352
348
|
- plugins/SshCpuLoadMonitor.rb
|
353
349
|
homepage: http://gnms.rubyforge.org/
|
354
|
-
licenses:
|
350
|
+
licenses:
|
355
351
|
- GPL-2.1
|
356
352
|
post_install_message:
|
357
353
|
rdoc_options: []
|
358
|
-
|
354
|
+
|
355
|
+
require_paths:
|
359
356
|
- lib
|
360
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
357
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
361
358
|
none: false
|
362
|
-
requirements:
|
363
|
-
- -
|
364
|
-
- !ruby/object:Gem::Version
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
hash: 59
|
363
|
+
segments:
|
364
|
+
- 1
|
365
|
+
- 8
|
366
|
+
- 6
|
365
367
|
version: 1.8.6
|
366
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
368
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
367
369
|
none: false
|
368
|
-
requirements:
|
369
|
-
- -
|
370
|
-
- !ruby/object:Gem::Version
|
370
|
+
requirements:
|
371
|
+
- - ">"
|
372
|
+
- !ruby/object:Gem::Version
|
373
|
+
hash: 25
|
374
|
+
segments:
|
375
|
+
- 1
|
376
|
+
- 3
|
377
|
+
- 1
|
371
378
|
version: 1.3.1
|
372
379
|
requirements: []
|
380
|
+
|
373
381
|
rubyforge_project: gnms
|
374
|
-
rubygems_version: 1.8.
|
382
|
+
rubygems_version: 1.8.24
|
375
383
|
signing_key:
|
376
384
|
specification_version: 3
|
377
385
|
summary: Gnome Network Management System
|
378
386
|
test_files: []
|
387
|
+
|