On Mon, Aug 5, 2013 at 11:24 PM, <thcerbla.nets...@googlemail.com> wrote: > I have this script to monitor solr4 with munin. > > But I get an error and I hove no idea what's the problem. > > Error: > /etc/munin/plugins/solr4_multicore_avgRequestsPerSecond:60: undefined method > []' for nil:NilClass (NoMethodError) > > cores_url = > "http://#{SOLR_HOST}:#{SOLR_PORT}/solr/admin/cores?action=STATUS&wt=ruby"
Your first problem, I think, is that that's not Python code. My crystal ball suggests it's probably Ruby. ChrisA -- http://mail.python.org/mailman/listinfo/python-list