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

objects.cache is not parsed correctly for service blocks #27

Closed
adamharm opened this issue Aug 19, 2013 · 1 comment · Fixed by ripienaar/ruby-nagios#26
Closed

objects.cache is not parsed correctly for service blocks #27

adamharm opened this issue Aug 19, 2013 · 1 comment · Fixed by ripienaar/ruby-nagios#26
Assignees

Comments

@adamharm
Copy link

This is more an issue in ruby-nagios but I couldn't add an issue on that project. In objects.rb the objects.cache file is parsed and an assumption that all blocks have _name is made:

@objects[handler][block["#{handler.to_s}_name".to_sym]] = block

Unfortunately service blocks use service_description and not service_name.

In addition, in order to be unique, the host_name + service_description need to be combined somehow.

@ghost ghost assigned dmytro Aug 20, 2013
@dmytro
Copy link
Owner

dmytro commented Aug 20, 2013

@adamharm Thank you for reporting. I will work on it.

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

Successfully merging a pull request may close this issue.

2 participants