Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Veeam Backup Check - Via Event Logs
1.0
2015-05-06
- Nagios 4.x
- Nagios XI
@oneoffdallas
GPL
24391
File | Description |
---|---|
veeam_backup.png | Example output for a successful backup job |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
***
The examples in the script itself were recently updated to reflect changes to the plugins API location/syntax in newer versions of NCPA.
***
I have tested this extensively using NCPA, although NRPE and other agents would likely work. If you have issues with it, please let me know and I will make changes as necessary. The script is heavily commented and very readable with numerous usage examples in the script itself. Enjoy!
Reviews (5)
byrcoultas, April 6, 2021
I am attempting to get this check working with Veeam VBR 11 on Windows 2019. I have a single replication job that completed successfully in the last hour. Running the script from the shell on the Veeam server always shows::
Backup failed: backup job CoreReplication has not run in last 240 hours
Backup failed: backup job CoreReplication has not run in last 240 hours |'BackupNotRun'=1
Looking in Event Viewer, I can see Event ID 190 in the last hour, and the name matches exactly.
Backup failed: backup job CoreReplication has not run in last 240 hours
Backup failed: backup job CoreReplication has not run in last 240 hours |'BackupNotRun'=1
Looking in Event Viewer, I can see Event ID 190 in the last hour, and the name matches exactly.
hello
What do I have to change in the NSCLIENT ++ .ini to make it work ?
Thanks a lot
What do I have to change in the NSCLIENT ++ .ini to make it work ?
Thanks a lot
Hallo,
i got an Error
Get-WinEvent : Falscher Parameter
In C:Program FilesNSClient++scriptscheck_veeam_endpoint_eventlogs.ps1:43 Zeichen:15
+ ... ogEntries = Get-WinEvent -MaxEvents $ArgMaxEntries -FilterHashtable $ ...
+
Could you fix this?
i got an Error
Get-WinEvent : Falscher Parameter
In C:Program FilesNSClient++scriptscheck_veeam_endpoint_eventlogs.ps1:43 Zeichen:15
+ ... ogEntries = Get-WinEvent -MaxEvents $ArgMaxEntries -FilterHashtable $ ...
+
Could you fix this?
byslayder66, May 4, 2018
hello, I have 2.8.22 centreon and nsclient ++, in my nsclient.ini I have:
check_veeam_eventlogs = check_veeam_eventlogs.ps1 'Backup X3v7 4vm SRVBACKUP' 24
and the answer on centreon is:
Command line usage: check_veeam_eventlogs.ps1
Nagios NCPA usage: agent / plugin / check_veeam_eventlogs.ps1 / /
while command-line powershell directly execute on the server in question, the command:
check_veeam_eventlogs.ps1 'Backup X3v7 4vm SRVBACKUP' 24
works very well.
I feel that nsclient ++ does not approve of ' or space in my job?
thank you
check_veeam_eventlogs = check_veeam_eventlogs.ps1 'Backup X3v7 4vm SRVBACKUP' 24
and the answer on centreon is:
Command line usage: check_veeam_eventlogs.ps1
Nagios NCPA usage: agent / plugin / check_veeam_eventlogs.ps1 / /
while command-line powershell directly execute on the server in question, the command:
check_veeam_eventlogs.ps1 'Backup X3v7 4vm SRVBACKUP' 24
works very well.
I feel that nsclient ++ does not approve of ' or space in my job?
thank you
byytaborda17, March 21, 2018
0 of 2 people found this review helpful
I tried the plugin and it works fine, but it I try to use the seccond argument it always returns the same output "Backup failed: backup job X has not run in last 9999 hours".
How can I fix this?
Thanks in advance!
How can I fix this?
Thanks in advance!
Owner's reply
I just tried it and it worked ok. Please make sure you are following the examples in the script comments. I also updated the script to reflect recent changes in the NCPA plugins syntax.