mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
WIP discovery f3
Former-commit-id: cee7ee096e0a0c065bc4312a149ee223303224fc
This commit is contained in:
parent
654e0c28f6
commit
9e83f139e1
@ -1464,8 +1464,11 @@ sub db_scan($) {
|
|||||||
|
|
||||||
if (!defined($dbObj)) {
|
if (!defined($dbObj)) {
|
||||||
call('message', 'Cannot connect to target ' . $target, 3);
|
call('message', 'Cannot connect to target ' . $target, 3);
|
||||||
|
$self->{'summary'}->{'not_alive'} += 1;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
$self->{'summary'}->{'discovered'} += 1;
|
||||||
|
$self->{'summary'}->{'alive'} += 1;
|
||||||
|
|
||||||
my @modules;
|
my @modules;
|
||||||
|
|
||||||
@ -1503,8 +1506,6 @@ sub db_scan($) {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
use Data::Dumper;
|
|
||||||
print Dumper($data);
|
|
||||||
$self->call('create_agents', $data);
|
$self->call('create_agents', $data);
|
||||||
|
|
||||||
# Destroy item.
|
# Destroy item.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user