centreon / nagiosToCentreon

Import your nagios config files into Centreon DB... And it rocks !
Apache License 2.0
9 stars 13 forks source link

Normal check interval and retry check interval does not work for Services #27

Closed Bladou46 closed 7 years ago

Bladou46 commented 7 years ago

Hello,

Services (template or not) are not exported with their normal and retry check interval.

Functions are misnamed :

printf ( "%s;setparam;%s;normal_check_interval;%s\n", $type, $service_name, $service->check_interval ) if ( defined ( $service->check_interval ) );

It should be $service->normal_check_interval instead of $service->check_interval. The same goes for retry check interval