[bug?] Thruk - Config Parse Errors with comments

(Thomas) #1


I get a problem with commented out lines in the Web Config Tool from Thruk.

For an example:
duplicate attribute address in ‘address’ in [TEST.cfg:7]
File: /omd/sites/main/etc/naemon/conf.d/netzwerk/TEST.cfg

# define host{                                                                                                                                                                                                                                
#        host_name       test-switch                                                                                                                                                                                                          
#        use             switch_campus                                                                                                                                                                                                        
#        alias           test                                                                                                                                                                                                       
#        address                                                                                                                                                                                                         
#        address                                                                                                                                                                                                         
# }      

Thruk Monitoring Webinterface
Version 2.28
OMD 3.00-labs-edition
Core: naemon

(Thomas) #2

Has nobody an idea?
Is this a bug?

(Sven Nierlein) #3

could you please open an issue on github, those errors definitly should be ignored on disabled objects.

(Thomas) #4

Hi Sven,

ok, done.

Thanks for your help.

(Thomas) #5

Hi Sven,

Thank you very much for the quick fix.
(see github)