Ignore deleted poller
Add "WHERE deleted=0" in the request
This commit is contained in:
parent
3e015bc5ac
commit
7834fbe845
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue