Last active
August 11, 2017 15:27
-
-
Save cwjohnston/51fc80db0ef8f19b5bff62febdb46fdf to your computer and use it in GitHub Desktop.
checks in need of sensu-plugin dependency update, by order of number of downloads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensu-plugins-snmp | |
sensu-plugins-chrony | |
sensu-plugins-eventstore | |
sensu-plugins-rancher-service | |
sensu-plugins-influxdb-q | |
sensu-plugins-megaraid | |
sensu-plugins-cpu-usage | |
sensu-plugins-docker-checks | |
sensu-plugins-monit | |
sensu-plugins-uptime | |
sensu-plugins-tcpping | |
sensu-plugins-clockworksms | |
sensu-plugins-log-pattern | |
sensu-plugins-officehours | |
sensu-plugins-eep | |
sensu-plugins-loadavg | |
sensu-plugins-boundary | |
sensu-plugins-disk-usage | |
sensu-plugins-selinx | |
sensu-plugins-skyline | |
sensu-plugins-ipmi-sensors | |
sensu-plugins-snmptrap-extension | |
sensu-plugins-sensu-plugins-fluentd | |
sensu-plugins-youtube | |
sensu-plugins-memory | |
sensu-plugins-fsmounts | |
sensu-plugins-gtalk | |
sensu-plugins-traffic-server | |
sensu-plugins-talker | |
sensu-plugins-ngnix | |
sensu-plugins-numa | |
sensu-plugins-stale-results | |
sensu-plugins-mysql-checks | |
sensu-plugins-filenr | |
sensu-plugins-mailq | |
sensu-plugins-sslcrt | |
sensu-plugins-dnslookup | |
sensu-plugins-sidekiq-moj | |
sensu-plugins-switchvox | |
sensu-plugins-f5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i="0" | |
while [ $i -lt 10 ] | |
do | |
curl -s https://rubygems.org/api/v1/search.json\?query=sensu-plugins\&page=$i \ | |
| jq '.[] | select(.dependencies.runtime[].name=="sensu-plugin" and .dependencies.runtime[].requirements=="= 1.2.0")' \ | |
| jq -r .name | grep -v donotuse | |
i=$[$i+1] | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment