Skip to content

Steffen-MLR/veeam-agent-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

checkmk localcheck for Veeam Agent

These scripts can be used to add a (checkmk) service check for Veeam Agent. Since there is no built-in check for the Agent (only for Veeam B&R) in checkmk, i decided to write one of my own. They are tested with the FREE Version only.

Table of Contents

Powershell Script for Veeam Agent for Windows (5.0)

The Powershell script parses the Log of the Agent located in "C:\ProgramData\Veeam\Endpoint". This should be always the same, according to https://www.veeam.com/kb2404. Updates may possibly break this, so it's work in progress.

successfully tested with (feel free to contribute more):

  • v5.0.3.4708

Example:

This is how the output of the script can look like

2 "VeeamBackup" - Last Backup State: Failed, 24.10.2022 17:24:31

This is how the check look like in checkmk WebUI:

cmk-windows

Installation Windows

  1. Copy the veeam-check.ps1 to C:\ProgramData\checkmk\agent\local
  2. Run a Discovery on your host

Shell Script for Veeam Agent for Linux (5.0)

The Shell script parses the output of the Veeam Agent CLI. It uses veeamconfig session list to retrieve the status of the last backups. You can check the usage of the CLI here: https://helpcenter.veeam.com/docs/agentforlinux/userguide/ui_overview_cmd.html?ver=50

successfully tested with (feel free to contribute more):

  • v5.0.0.4318

Example:

This is how the output of the script can look like

0 "VeeamBackup" - Last Backup State: Success, 2022-10-26 06:00

This is how the check look like in checkmk WebUI:

cmk-linux

Installation Linux

  1. copy the veeam-check.sh to /var/lib/checkmk/local
    wget https://github.com/Steffen-MLR/veeam-agent-check/raw/master/linux/veeam-check.sh
    sudo mv veeam-check.sh /var/lib/checkmk/local
  2. make the file executable
    sudo chmod +x /var/lib/checkmk/local/veeam-check.sh
  3. Run a Discovery on your host

About

checkmk localcheck for Free VEEAM Agent

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published