nagira icon indicating copy to clipboard operation
nagira copied to clipboard

XML & ActiveSuport

Open dmytro opened this issue 11 years ago • 0 comments

In app.rb, Parse nagios files

##
# TODO: This stuff breaks XML valid. Will have to wait.
#    
#     idx = 0
#     @status.keys.uniq.each do |hostname|
#       @status[idx] = @status[hostname]
#       idx += 1
#     end

To add full ActiveSupport need to have routes like: /_status/0 additionally to /_status/hostname. But because of tags like <0> XML validation breaks completely.

dmytro avatar Mar 15 '13 05:03 dmytro