I like the addition but I am not sure the location is right - remember this stuff will potentially end up in the ruby libdir it seems adding it in ../config might end up stepping on some other toes especially with generic file name like this.

So perhaps pull this into the main nagios.rb instead