mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 10:23:58 +09:00
added license header to files
This commit is contained in:
1 parent
e69e8328e2
commit
2acd334aec
2 files changed
+33
-1
No files matched your search
+17
-1
@@ -1,3 +1,18 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# Copyright 2002-2010, OpenNebula Project Leads (OpenNebula.org)
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
require 'socket'
|
||||
require 'pp'
|
||||
@@ -11,8 +26,9 @@ rescue LoadError
|
||||
$nokogiri_enabled=false
|
||||
end
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# This class holds the parsing code of ganglia xml monitoring data
|
||||
# -----------------------------------------------------------------------------
|
||||
class GangliaHost
|
||||
|
||||
# Gets monitoring data from ganglia or file
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Copyright 2002-2010, OpenNebula Project Leads (OpenNebula.org)
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# Adds current directory to the library search path (make the script
|
||||
# compatible with ruby 1.9.2)
|
||||
$: << '.'
|
||||
|
||||
Reference in new issue
Block a user