I’m currently workin on dashing graph to fetch data from Nagios through
json by implementing a solution similar to this
The problem is, it keeps on throwing the following exception and have no
idea where I went wrong.
scheduler caught exception:
' for nil:NilClass /root/dashtest/lib/graphite.rb:13:inget_value’
value' /root/dashtest/jobs/graphite.rb:12:inblock in <top (required)>’
block in trigger' /var/lib/gems/1.9.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:incall’
`block in trigger_job’
Sorry if this has been asked before but I’ve hit nothing but dead ends
so far and I’ve been googling it for several
days with no luck.