@@ -776,23 +758,20 @@ sub monitoringengineBackup() {
...
@@ -776,23 +758,20 @@ sub monitoringengineBackup() {
}
}
}
}
while(my$poller=$sth->fetchrow_hashref){
my$sth2=$dbh->prepare("SELECT n.nagios_name, n.cfg_dir, n.log_file, n.log_archive_path, ns.* FROM nagios_server ns, cfg_nagios n WHERE ns.id = n.nagios_server_id AND n.nagios_activate = '1' AND ns.localhost = '1';");