bernd/nagios_parser — Issue #2: Issues with large status files
Author: cpuguy83
Created: 2011-10-19 15:54:06+00:00
State: open

Parsing takes a huge amount of time (and by huge I mean a few seconds) with even a medium size status file.

One thing I'm wanting to use this for is pulling in the nagios status to a custom monitoring interface.
Right now I'm using Merlin to write host/service/status info to a database and reading from there using ActiveRecord, however have had issues moving this (Merlin) to a new system.

Would be nice if I could pass in an argument to for host statuses, or status for a certain host, or for a service on a host, grep the file, then parse. I think this might make it a bit better for quick fetching for a web view... just a thought, not sure if it would work.