Skip to content

Plugin(apps::backup::veeam::local) - Mode(job-status): issue in job filter #6063

@jframeau

Description

@jframeau

Veeam 12.x (last) / last centreon_plugins.exe

It seems that the plugin doesn't see all the jobs.

Says the jobs in Veeam:

Image

But the plugin only see the one as Windows Agent Backup.

My question: what is the rationale behind this code ?

$vbrJob=Get-VBRJob

if (($vbrJob | Select-Object -first 1).JobType -like "Agent") {
$isVeeamAgent=$true
} else {
$isVeeamAgent=$false
}
if ($isVeeamAgent) {
Get-VBRComputerBackupJob | ForEach-Object {
...
}
} else {
$vbrJob | ForEach-Object {
...
}

Why this hardcoded filter on agent like type ?

I'm available for more informations if needed.

Also how to use --filter-type option ?

JF Rameau

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions