Closed pepitomuler closed 7 years ago
Not a solution to the issue, but I found a workaround by commenting the "all" hostgroup definition
Where do you comment the "all" hostgroup definition ? In the nagios .cfg files ?
Yes, I commented in the nagios file prior to running the convert tool
Could you tell me wich cfg file ? I do not find it
Sure, My version of nagios is quite old, but I commented these lines : define hostgroup { hostgroup_name all alias All Servers members * }
in the file /etc/nagios2/conf.d/hostgroups_nagios2.cfg
Best
Yes it works ! Thanks a lot
Can't locate object method "members" via package "allhosts" (perhaps you forgot to load "allhosts"?) at nagios_reader_to_centreon_clapi.pl line 381.
The hosts and the services ar not exported in the txt file, it's stop after Host Templates