[bug?] Thruk - Config Parse Errors with comments

(Thomas) #1

Hi,

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

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

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

Version:
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)