NAME

Monitoring::Conf::File - Object Configuration File

DESCRIPTION

Defaults for host objects

METHODS

new

return new file object

update_objects

update all objects from this file

update_objects_from_text

update all objects from this file by text

add_object

add object to file

readonly

return true if file is readonly

update_readonly_status

updates the readonly status for this file

get_meta_data

return meta data for this file

save

save changes to disk

diff

get diff of changes

get_new_file_content

returns the current raw file content

set_backup

set backup file content in order to generate change diff later

try_merge

merge our changes into a changed file from disk.

returns true if file has been updated and false if merge fails.