Skip to content

Commit

Permalink
Change all copyright notices to MIT (with approval of James/Sean)
Browse files Browse the repository at this point in the history
  • Loading branch information
decklin committed Dec 12, 2011
1 parent 17df296 commit c572a0c
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 106 deletions.
2 changes: 0 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Copyright © 2011 Sonian, Inc. and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
Expand Down
11 changes: 10 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@ For your own handler, subclass:
License
=======

Released under the MIT license; see LICENSE for copyright and terms.
Copyright 2011 Sonian, Inc. and contributors.

Released under the same terms as Sensu (the MIT license); see LICENSE
for details.

NOTE: When adding a plugin, copy the preceding two paragraphs to a
comment in each source file, changing the copyright holder to your own
name or organization. If you wish to use a different open source
license, please submit a pull request adding that license to the repo
and use that license's boilerplate instead.
28 changes: 10 additions & 18 deletions handlers/irc/irc.rb
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
#!/usr/bin/env ruby
# Copyright 2011 James Turnbull
#
# 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.
#
# Sensu IRC Handler
# ===
#
# This handler reports alerts to a specified IRC channel. You need to set the options in the
# irc.json configuration file, located by default in /etc/sensu. Set the irc_server option to
# control the IRC server to connect to, the irc_password option to set an optional channel
# password and the irc_ssl option to true to enable an SSL connection if required. An example
# file is contained in this irc handler directory.
# This handler reports alerts to a specified IRC channel. You need to
# set the options in the irc.json configuration file, located by default
# in /etc/sensu. Set the irc_server option to control the IRC server to
# connect to, the irc_password option to set an optional channel
# password and the irc_ssl option to true to enable an SSL connection if
# required. An example file is contained in this irc handler directory.
#
# Copyright 2011 James Turnbull
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'carrier-pigeon'
Expand Down
20 changes: 4 additions & 16 deletions handlers/pagerduty.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
# Copyright 2011 Sonian Inc.
#
# 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.
#
#!/usr/bin/env ruby

#
# This handler creates and resolves PagerDuty incidents, refreshing
# stale incident details every 30 minutes
#
# Copyright 2011 Sonian, Inc.
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'redphone/pagerduty'
Expand Down
18 changes: 4 additions & 14 deletions plugins/chef/chef_client.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
#!/usr/bin/env ruby
#
# Copyright 2011 Sonian Inc.
#
# 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.
#
# Chef Client Plugin
# ===
#
# This plugin checks to see if the OpsCode Chef client daemon is running
#
# Copyright 2011 Sonian, Inc.
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

`which tasklist`
case
Expand Down
18 changes: 4 additions & 14 deletions plugins/elasticsearch/metrics.rb
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
#!/usr/bin/env ruby
#
# Copyright 2011 Sonian Inc.
#
# 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.
#
# ElasticSearch Metrics Plugin
# ===
#
# This plugin uses the ES API to collect metrics, producing a JSON
# document which is outputted to STDOUT. An exit status of 0 indicates
# the plugin has successfully collected and produced.
#
# Copyright 2011 Sonian, Inc.
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

require 'rubygems'
require 'rest-client'
Expand Down
18 changes: 4 additions & 14 deletions plugins/puppet/puppet_agent.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
#!/usr/bin/env ruby
#
# Copyright 2011 James Turnbull
#
# 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.
#
# Puppet Agent Plugin
# ===
#
# This plugin checks to see if the Puppet Labs Puppet agent is running
#
# Copyright 2011 James Turnbull
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

`which tasklist`
case
Expand Down
17 changes: 4 additions & 13 deletions plugins/puppet/puppet_master.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
#!/usr/bin/env ruby
# Copyright 2011 James Turnbull
#
# 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.
#
# Puppet Master Plugin
# ===
#
# This plugin checks to see if the Puppet Labs Puppet master is running
#
# Copyright 2011 James Turnbull
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

`which tasklist`
case
Expand Down
18 changes: 4 additions & 14 deletions plugins/system/vmstat.rb
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
#!/usr/bin/env ruby
#
# Copyright 2011 Sonian Inc.
#
# 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.
#
# System VMStat Plugin
# ===
#
# This plugin uses vmstat to collect basic system metrics, produces
# a JSON document.
#
# Copyright 2011 Sonian, Inc.
#
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.

require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'json'
Expand Down

0 comments on commit c572a0c

Please sign in to comment.