Ignore deleted poller

Add "WHERE deleted=0" in the request
This commit is contained in:
YannB 2015-05-12 22:55:12 +02:00
parent 3e015bc5ac
commit 7834fbe845
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ sub run {
$self->{sql}->connect();
$self->{sql}->query(query => q{
SELECT instance_id,name,last_alive,running FROM centreon_storage.instances;
SELECT instance_id,name,last_alive,running FROM centreon_storage.instances WHERE deleted=0;
});
my $result = $self->{sql}->fetchall_arrayref();