Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1701 commits
Select commit Hold shift + click to select a range
dbedefd
add TempoDB handler (untested)
Feb 20, 2012
e65a8a4
fix timeout error rescu
Feb 20, 2012
2e33beb
added a timeout to the hipchat notification handler
portertech Jul 12, 2013
0e98dd3
Cleaning up tempdb handler.
nstielau Jul 18, 2013
0fa171d
fix divide by zero error
jlambert121 Jul 19, 2013
2d0f449
Add region option for AWS config
Jul 22, 2013
fd5ddcf
Add subject to SNS message for better e-mail output
Jul 22, 2013
ce2226b
Remove trailing whitespace
Jul 22, 2013
13ca336
Add Host flag support
Jul 21, 2013
55a9ce7
Add OpenStack Ceilometer checks
Jul 21, 2013
465f215
Add a new check for Keystone API
Jul 22, 2013
8410b11
Rename "Nagios" to "Sensu" to avoid confusion
Jul 22, 2013
9a09586
New metrics for disk usage.
Jul 23, 2013
bed5f1d
Whitespace removal.
Jul 24, 2013
aa4b4d4
Exclude the vendor directory when running RuboCop.
Jul 24, 2013
9a859eb
Specify the config file to enable us to disregard vendor gems.
Jul 24, 2013
2872dcc
add graphite-wildcards check - can return multiple targets based on a…
Jul 23, 2013
ba7628d
Fixes for CI failures
Jul 23, 2013
a8741e5
Fix has_been_updated_since warnings
Jul 25, 2013
d573d71
merge graphite-wildcards with original graphite check
Jul 25, 2013
d7d0a17
remove trailing whitespace
Jul 25, 2013
6f3f6e7
Add StatusPage.IO handler.
perryh Jul 20, 2013
82e56ed
added officehours mutator
Jul 5, 2013
1e4243f
Update officehours.rb
Jul 5, 2013
46376f7
Fetch Elastic LoadBalancer Latency metrics
Aug 6, 2013
b45ff90
add aws memoizing
jlambert121 Jul 31, 2013
1f63cb5
Remove buggy haproxy gem, allow OPEN status, check active sessions
Jun 19, 2013
128ec60
fixing rubocop failures
Aug 2, 2013
2d2aeea
Fixing CPU check for RHEL
nstielau Jul 28, 2013
444180f
1) Adding conditional check for ICMP to prevent ICMP ping in case
Aug 2, 2013
653e489
1) Added unknown call with error message in the else case for checkin…
Aug 6, 2013
c86a0c2
Add metric for count of instances in AWS AutoScaling group
Aug 6, 2013
b58f6d6
Rescue 404s from the /aggreages API endpoint
Aug 7, 2013
9675f27
Removing commit unrelated to this branch
Aug 7, 2013
f9457e1
Solr metrics for all cores unless core specified
Aug 8, 2013
c7d51ee
1) Added support for TCP ping type
girijabrahme Aug 9, 2013
dd759da
Rubocop styling fix
girijabrahme Aug 9, 2013
ae0581e
Updated plugin description
girijabrahme Aug 9, 2013
f2f4dc1
Update the netif-metrics plugin for efficiency
pdf Jun 3, 2013
c3e0710
Add check-fstab-mounts plugin (Linux only)
pdf Jun 3, 2013
6d42ece
Rewrite iostat-extended-metrics plugin
pdf Jun 3, 2013
9cbad84
Adding handler for sensu-based remediation.
nstielau Jul 27, 2013
3b2fa55
Fixing rubocop offences.
nstielau Jul 27, 2013
baf8734
Making the code consistent with the example.
nstielau Jul 27, 2013
bdf0212
Adding a note about trigger_on
nstielau Jul 27, 2013
a00d5f3
Removing an extra line.
nstielau Jul 27, 2013
3bea29c
Actually replace '%' with 'pct_' in keys for iostat-extended-metrics
pdf Aug 26, 2013
8b7c8a6
add percentile check
Aug 1, 2013
da1154a
allow each check to be ether a less than or greater than check using …
Aug 1, 2013
a1d512b
add percent above average check
Aug 2, 2013
c6cee18
fix CI issues
Aug 3, 2013
5ec0f7e
add ability to use mean of the last N datapoints as the last value fo…
Aug 6, 2013
444ecf8
fix bug when returning multiple last values
Aug 6, 2013
75e2169
Add case insensitive option to check-log.rb
Aug 29, 2013
546a5e8
The divisor for the average calculation should be based on the value …
Sep 3, 2013
74e4992
fix suspicious critical threshold
horus Aug 29, 2013
0ecf417
Make age option an integer; use age in URL when querying API
Aug 28, 2013
743e922
Get rid of unneeded time comparison
Aug 28, 2013
ce4805a
Get rid of unnecessary until
Aug 28, 2013
2b992d8
Time shouldn't be nil
Aug 28, 2013
eb209b9
Make ELB metrics plugin generic
Aug 28, 2013
f8cad2a
find room by id
Aug 5, 2013
e6b9595
typeo
Aug 5, 2013
1e6e79a
set return value for room
Aug 5, 2013
2e916bb
Check disabled if parameter is -1
Sep 4, 2013
ee792f2
correct trailing Trailing whitespaces
Sep 4, 2013
47dd8f5
initial attempt to write a plugin for Windows Sensu clients
MattMencel Sep 5, 2013
1070067
remove CRs
MattMencel Sep 5, 2013
3e3e0ed
remove extra whitespace and convert tab indents to spaces
MattMencel Sep 5, 2013
2cdc989
Clarify the doc for check-ram
webmat Sep 6, 2013
a8128a4
Removed occurrence handler since sensu-plugin already has it
rafaelmagu Sep 11, 2013
3cba996
Removed custom ruby path
rafaelmagu Sep 11, 2013
bd1e03a
Ignoreline parameter for ignore any line
Sep 4, 2013
0d3257e
Create a parameter file for config parameters
Sep 5, 2013
d53e00a
Graphite mutator created
Sep 6, 2013
b69465f
fix for rubocop problems
Sep 6, 2013
6604bf9
handle empty lines in /proc/stat
Sep 6, 2013
20f6c40
Add ignoreline and includeline args to check-disk.rb
bdclark Sep 6, 2013
e51bc12
Modify check-dns.rb to correctly perform reverse lookups
bdclark Sep 12, 2013
6612531
Add OpenStack plugin keystone-token-metrics.rb
bdclark Sep 14, 2013
867cd5f
Add plugin neutron-agent-status.py
bdclark Sep 14, 2013
58d4b9b
Add ceph check and metric plugins
bdclark Sep 14, 2013
bc71c71
Making log messages more informative.This helps while
girijabrahme Aug 28, 2013
aa9127f
Added the pattern and log file to the standard output message.
girijabrahme Sep 7, 2013
8c52f1f
Fixed rubocop offence for line continuation
girijabrahme Sep 7, 2013
2e7948b
Add `interval` options to `iostat-extended-metrics`
pdf Sep 16, 2013
6088e2a
adds handler to delete ec2 terminated chef nodes
Sep 11, 2013
404b925
removed stray #collect
Sep 11, 2013
8851a07
fixes trailing whitespace
Sep 12, 2013
cdfce07
fixes example filter
Sep 16, 2013
c24d1db
add vpc vpc check script
j-russell Aug 27, 2013
48f5c5d
Add support for File pattern in check-log.rb
Sep 18, 2013
56726a6
renamed chef_ec2_node to ec2_node
Sep 18, 2013
93ad152
removes chef stuff from handler
Sep 18, 2013
28c7478
updates documentation, adds necessary methods
Sep 18, 2013
e9fce2a
adds output even if client is in ec2, removes references to chef
Sep 18, 2013
105e5f6
[pagerduty] fixed custom description, increased timeout, fixed indent…
portertech Sep 26, 2013
0724c77
[pagerduty] increased timeout to 10 seconds, because the handler uses…
portertech Sep 27, 2013
325ef49
Adding plugin to record aggregate metrics.
nstielau Sep 23, 2013
223f210
Fixing syntax errors and exit code.
nstielau Sep 27, 2013
b19188a
Changing verbose to debug.
nstielau Sep 27, 2013
77769f2
Removing extraneous flags.
nstielau Sep 27, 2013
82dbd5a
Ignoring case indentation.
nstielau Sep 27, 2013
cac5446
couchbase check bucket ram quota
piavlo Sep 27, 2013
f105c90
note about 1.8.x compatibility
piavlo Sep 27, 2013
77eeec6
more desc
piavlo Sep 27, 2013
2bc1c3e
grrr rubocop
piavlo Sep 27, 2013
4375bf9
typo rename
piavlo Sep 27, 2013
075ab37
handle http exceptions
piavlo Sep 27, 2013
41703e0
unknown not warning
piavlo Sep 27, 2013
90f6bef
add support for basic http authentication for graphite
Sep 27, 2013
f7372ba
clean up rubocop warnings
Sep 27, 2013
0f2961b
changed url to be a variable
Sep 27, 2013
b1579b0
Initial commit of cgroup metric plugin
jprokay Sep 30, 2013
85d21cf
Paths passed in with -p flag are now turned into dot notation in the …
jprokay Sep 30, 2013
ec83fb2
Cleaned up echo statements. Cleaned up header
jprokay Sep 30, 2013
f2c11f7
Adding github repo metrics.
nstielau Sep 27, 2013
bf2f9b5
Renaming plugin.
nstielau Sep 27, 2013
e0b35fd
Defaulting to walking all org repos.
nstielau Sep 27, 2013
f0fd304
add runbook support to hipchat and mailer notifications
jlambert121 Sep 30, 2013
76f5f26
s/runbook/playbook/g
jlambert121 Oct 1, 2013
2692eac
don't send metrics for features disabled per cf
piavlo Sep 28, 2013
33182a9
Beginnings of JBoss AS7 thread metric plugin. Uses the jboss_cli.sh s…
jprokay Sep 30, 2013
898abe1
Committing work thus far on check to gather JBoss thread metrics via …
Oct 1, 2013
53fa673
Removed work-in-progress of jboss thread metrics check
jprokay Oct 1, 2013
cf2c115
Fixed btree if statement
jprokay Oct 1, 2013
d3dee15
Changed ration -> ratio
jprokay Oct 1, 2013
6883001
Fixed based off of travis comments
jprokay Oct 2, 2013
0daea69
Fixed trailing whitespace on line 79
jprokay Oct 2, 2013
625134f
Adds redacting mutator extension
Oct 1, 2013
b30c1f2
fixes rubocob whitespace issues
Oct 1, 2013
8647e34
Refactor/simplify check-ceph.rb plugin
bdclark Sep 21, 2013
9379bf6
Add additional options to disk-usage-metrics.rb
bdclark Sep 23, 2013
15c7bda
Various styling fixes
bdclark Sep 25, 2013
c41b6f5
Oops... fix typo (left trailing slash in %r{})
bdclark Sep 25, 2013
7004e5a
memory checking using percentage used
mar-io Sep 30, 2013
9a88e91
updated ...delimit the percentage instead of trim
mar-io Sep 30, 2013
ca87aba
Add snmp-metrics script
Oct 7, 2013
9ecfeb6
Linting
Oct 7, 2013
b31d207
Correct copyright assignment
Oct 7, 2013
9402613
add optional arg to check-mtime to OK on non-existent file
wyattwalter Oct 9, 2013
21a129a
handle nodes with an unknown status
jlambert121 Oct 8, 2013
a8916d4
renames Redact extension to 'redact', was still set to 'redaction'
Oct 2, 2013
16bbc82
add delete-expired-stashes plugin
Sep 25, 2013
4690e22
remove empty parens to fix rubocop failure
Sep 25, 2013
8af7a6e
abbreviate --use-ssl as --ssl instead of -k
Sep 27, 2013
d3514f9
url variable needs to be available to else block for non-auth graphite
Oct 8, 2013
019bd4a
Correct leading whitespace removal regex for email
mduggan Oct 10, 2013
814be2e
fix arithmetic
rodriguezsergio Oct 11, 2013
656145c
added support for floating point values in the librato-metrics.rb han…
vad Oct 11, 2013
469d75d
Change num_instances to a float
rodriguezsergio Oct 14, 2013
95dc11a
adding smtp auth to mailer.rb
Oct 11, 2013
405cbe5
fixes to pass rubocop linting
Oct 11, 2013
7caaf41
upstream fix for regex whitespace removal
Oct 11, 2013
438caf7
fix unless conditional
Oct 11, 2013
9b97772
remove params hash
Oct 11, 2013
b9182ab
fix smtp_address
Oct 11, 2013
123d224
Get the length of a redis list and output it to graphite as a metric.
willejs Oct 14, 2013
2d3414a
fixed file extension for redis llen metric
Oct 14, 2013
8312c3c
removed random whitespace that failed tests
Oct 16, 2013
7e85655
Add option to divide load averages by cpu/core/hyperthread count
bdclark Oct 21, 2013
956655f
Add check-http-json plugin
night0wl Oct 22, 2013
e335bb3
[ec2_node] Updates the requested sensu snippet names so they're redac…
Oct 23, 2013
ce2f6b9
colorize irc notification.
glidenote Oct 25, 2013
63b9f45
simple redis slave check
willejs Oct 25, 2013
6e3ac59
Add disk health checking via smart
Fizzadar Oct 30, 2013
13487ba
Fix spelling error
Fizzadar Oct 30, 2013
3fdd39e
Added below option to check if values are below thresholds
Oct 8, 2013
b01e9fb
Fix linting issues for fredronnv
Oct 8, 2013
96dfb00
Fix spelling error
Oct 30, 2013
fd1bc0b
Make above/below threshold logic more readable - break out above and …
Oct 30, 2013
c829127
Fix style issues to make the build succeed
Oct 30, 2013
25cc75e
Monitor prepared statement usage
jblackburn22 Oct 30, 2013
5e838a6
Added encoding page option to check-log.rb -- this provides a method …
Nov 6, 2013
7b815dd
Changed the encoding conditional to use r:(read) for when an incoding…
Nov 6, 2013
a96e152
removed trailing whitespace from empty line
Nov 6, 2013
eaa56f4
Add check for supervisord - check all processes are running
Nov 7, 2013
eecf567
Add comments and copyright assignment
Nov 7, 2013
5298e7a
Fix error in documentation
Nov 7, 2013
a4f98f6
Fixing rubocop issues.
nstielau Nov 7, 2013
f6ba93a
add option to calculate load average per processor instead
joemiller Nov 8, 2013
9b646f2
better comment
joemiller Nov 8, 2013
c6c4843
monkey-patch round(int) method into Float class if ruby 1.8.x
joemiller Nov 10, 2013
0eb3770
sync option name with similar functionality in check-load.rb
joemiller Nov 10, 2013
f3d95c7
updates for sensu 0.11+
kcrayon Nov 8, 2013
739ddf5
changes per feedback
kcrayon Nov 9, 2013
0ae91db
typo
kcrayon Nov 9, 2013
4b38418
add empty static tag array in the datadog config
Nov 11, 2013
c73c4a2
Update datadog handler
Nov 11, 2013
bc69e36
fix rubocop failures
Nov 11, 2013
c4deafc
Change permissions on ruby scripts from 644 to 755
mrichar1 Nov 11, 2013
d94dd00
update check-http.rb to all definition of a user-agent
heffergm Nov 11, 2013
a00d148
Allow filtering of supervisor process state names for CRITICAL check …
Nov 12, 2013
4e4d1ba
Add process state name to output
Nov 13, 2013
8164e70
Add command line option to specify elasticsearch server
Oct 30, 2013
e0f1993
Don't need :required if :Default is set
Oct 30, 2013
3a0c9fd
expand network metrics collected
joemiller Nov 13, 2013
90f62e0
update comment
joemiller Nov 13, 2013
05718dd
rubocop compliance
joemiller Nov 13, 2013
b31e88e
Changes to comply with more xmpp server implementations:
mrichar1 Nov 14, 2013
fee7678
Fix rubocop offense
mrichar1 Nov 14, 2013
6ad82ac
Rewrite chef_node handler with Ridley and api_request
pdf Nov 12, 2013
8936d55
Make 'from' parameter configuarble in hipchat handler
mconigliaro Nov 14, 2013
541fb00
Fix typo in hipchat.json
mconigliaro Nov 14, 2013
f1996cf
check-disk-health.sh: Check only disks
Nov 15, 2013
dfb76c5
added check that does TCP scans to verify network access to services
jjmanzer-godaddy Nov 13, 2013
89a19c1
rubocop fixes implemented
jjmanzer-godaddy Nov 13, 2013
931332e
removed unused gem and updated comments
jjmanzer-godaddy Nov 13, 2013
f5c36f1
used more common -P0 for nmap for backwards compatibility
jjmanzer-godaddy Nov 13, 2013
ef97d8c
java heap check for jvms
mar-io Oct 8, 2013
1e5212f
added sudo permissions
mar-io Oct 8, 2013
ae6863e
corrected heap metrics and added more info in output
mar-io Oct 9, 2013
e8edbc8
created a metric feed for jvm stats
mar-io Nov 8, 2013
dec2218
fixed description
mar-io Nov 13, 2013
d231b32
Update java-heap-pcnt.sh
mar-io Nov 8, 2013
16a87c8
Update java-heap-pcnt.sh
mar-io Nov 8, 2013
558b8ee
Update java-heap-pcnt.sh
mar-io Nov 8, 2013
4f37af7
removed
mar-io Nov 15, 2013
72ee975
added java heap plugins
mar-io Nov 15, 2013
efe2470
Add option for printing chosen bytes of res.body
maxamg Nov 19, 2013
1c97f76
Don't force ruby 1.9 in check-load
maxamg Nov 19, 2013
da46639
change alias to alias_method to please rubocop
maxamg Nov 19, 2013
8aebea5
require rubygems must come before other requires
maxamg Nov 19, 2013
6371874
[postgres] several postgres-replication fixes/improvements
portertech Nov 21, 2013
e3f972a
[postgres] make rubocop happy
portertech Nov 21, 2013
4d4c119
Rescue `no route to host` errors
Nov 26, 2013
0492013
really basic ntp check.
willejs Dec 3, 2013
8cb9f5f
metrics-net: Skip if /sys/class/net/:iface_path is a regular file
Dec 2, 2013
6eaf69b
mailer: Make delivery_method configurable
Nov 27, 2013
5ff705f
basic check for missing bluepill procs
Oct 21, 2013
1df14e2
better message if bluepill is not installed
Oct 22, 2013
a4241a1
check to collect multiple cpu stats in an mpstat style
Oct 16, 2013
4f1fcf2
collect overall cpu stats properly
Oct 21, 2013
c9d80f4
Requirements and output description
Nov 29, 2013
36b7799
If we can't get data from graphite, return UNKNOWN rather than CRITICAL
Nov 27, 2013
ba370f6
add support for SSL API access, work even when no queues yet defined
Nov 29, 2013
0fde1a0
Add SSL support
Nov 29, 2013
d04d08b
Added victorops integration
jsegura Nov 27, 2013
979e917
Removed unused variable
jsegura Nov 27, 2013
60846b0
Unused variable caused travisci problems
jsegura Nov 27, 2013
3340cb3
Corrected comments{
jsegura Nov 27, 2013
893d026
Using json to serialize object
jsegura Nov 27, 2013
f7844ee
Add graphite mutator extension
Nov 25, 2013
cf65fd7
extensions/mutators/graphite: Fix rubocop warning
Nov 25, 2013
29a3f4b
graphite: Check if settings['graphite']['reverse'] is actually true
Nov 25, 2013
bb12447
graphite: Reverse and replace separately
Nov 25, 2013
07bef92
check if its minus offset too.
willejs Dec 4, 2013
5dfcf82
Added check to run a tripwire consistency check. The check is configu…
sgargan Nov 22, 2013
58f732c
Merge branch 'master' of github.com:tarhelypark/chef-sensu-community-…
Dec 6, 2013
6939f8a
Revert
Dec 6, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default[:chef_sensu_community_plugins][:path] = "/opt/sensu-community-plugins"
default[:chef_sensu_community_plugins][:repository] = "https://github.com/sensu/sensu-community-plugins.git"
default[:chef_sensu_community_plugins][:reference] = "4afa283006ea3ad11dace23cc3dcd826be671d80"
1 change: 0 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"ubuntu": ">= 0.0.0"
},
"dependencies": {
"git": ">= 0.0.0"
},
"recommendations": {
},
Expand Down
21 changes: 15 additions & 6 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,27 @@
# limitations under the License.
#

include_recipe "git"
package "git"
gem_package "sensu-plugin"

git "/opt/sensu-community-plugins" do
repository "https://github.com/sensu/sensu-community-plugins.git"
reference "1860721b049d32397f4605bff93c049c049f9f7e"
git node[:chef_sensu_community_plugins][:path] do
repository node[:chef_sensu_community_plugins][:repository]
reference node[:chef_sensu_community_plugins][:reference]
action :sync
end

link "#{node['sensu']['directory']}/plugins/sensu-community-plugins" do
to "/opt/sensu-community-plugins/plugins"
to "#{node[:chef_sensu_community_plugins][:path]}/plugins"
end

link "#{node['sensu']['directory']}/handlers/sensu-community-plugins" do
to "/opt/sensu-community-plugins/handlers"
to "#{node[:chef_sensu_community_plugins][:path]}/handlers"
end

link "#{node['sensu']['directory']}/mutators/sensu-community-plugins" do
to "#{node[:chef_sensu_community_plugins][:path]}/mutators"
end

link "#{node['sensu']['directory']}/extensions/sensu-community-plugins" do
to "#{node[:chef_sensu_community_plugins][:path]}/extensions"
end