Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

XML & ActiveSuport #17

Open
dmytro opened this issue Mar 15, 2013 · 0 comments
Open

XML & ActiveSuport #17

dmytro opened this issue Mar 15, 2013 · 0 comments

Comments

@dmytro
Copy link
Owner

dmytro commented Mar 15, 2013

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant