mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
Ignore deleted poller
Add "WHERE deleted=0" in the request
This commit is contained in:
parent
65e993c01e
commit
200a71732c
@ -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…
x
Reference in New Issue
Block a user