Sha256: b7c9fc9e5f9185d10a2a547fab8064e2d7b25a98a855b2ec12024d87f7bacee7
Contents?: true
Size: 575 Bytes
Versions: 75
Compression:
Stored size: 575 Bytes
Contents
#!/usr/bin/env ruby # # Example munin plugin. # See munin plugin docs http://munin.projects.linpro.no/wiki/Documentation#Plugins # # Scripts added to Rubber.root/script/munin automatically # get installed as munin plugins by rubber # remove this line to enable exit 0 # Print config info need by munin for generating graphs if ARGV[0] == "config" puts 'graph_title Example Stats' puts 'graph_vlabel random 1-100' puts 'graph_category Examples' puts 'graph_scale no' puts 'rand.label random' exit 0 end # print graph data values puts "rand.value #{rand(100)}"
Version data entries
75 entries across 75 versions & 1 rubygems