Veeam 12.x (last) / last centreon_plugins.exe
It seems that the plugin doesn't see all the jobs.
Says the jobs in Veeam:
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
Veeam 12.x (last) / last centreon_plugins.exe
It seems that the plugin doesn't see all the jobs.
Says the jobs in Veeam:
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