I have the same exact problem as mentioned here, the rule is applied to the VBR mgmt server hosts but the discovered veeam jobs don’t change to WARN/CRIT according to setup thresholds under the rule " [Veeam: Time since last Backup]"
Please assist we have the Enterprise version we just recently upgraded to v2.3.0
Sounds like a bug to me. Can you maybe share the agent output of a job? You can redact the job name, but it would be interesting if there was a change in the time format or something else.
I just checked this with one of my Veeam servers and I don’t have blank lines or the 01.01.1900 year in my output. It could be the reason why this is not working properly.
I’m not a software dev, so I would check the source code for parsing the agent output:
Or in case you have a support contract with Checkmk you should open a support ticket.
So, I deleted the jobs that are showing blank and now agent output looks normal, but still the rule about the “time since last veeam backup” doesn’t appear to have any effect on the veeam jobs service states.
We have the same problem. This still doesn’t seem to be fixed.
Looking at the code in the github repo it seems like the veeam_jobs.py does not take any parameters in the check function (no “params” argument in the function signature) and therefore does definitely not use the ones set in “Veeam: Time since last Backup”.
Unfortunately, i don’t know how to extend existing plugins delivered by Checkmk themselves. When i copy just that file into an own plugin and change it, it just tells me “plug-in ‘veeam_jobs’ already defined at cmk plugins.collection.agent_based.veeam_jobs:agent_section_veeam_jobs”. I also tried playing around with the AgentSection and CheckPlugin to see if i can get it to recognize a changed version, but i still had no success.
So i guess the only option right now is copying all the files into a completely new plugin with another name and adding the parameter logic there. But i think that would also need another name for the section produced by the agent which means changing all deployed agent scripts for the plugin.
Also another thing i noticed is that the “Veeam: Time since last Backup” ruleset wasn’t migrated to the new Ruleset API (yet?) and also uses the internal name “veeam_backup” instead of “veeam_jobs”: checkmk/cmk/gui/plugins/wato/check_parameters/veeam_backup.py at master · Checkmk/checkmk · GitHub
So you would also need to change that. Also then the old ruleset would still show in wato next to your new version.
Overall not a very nice solution, so hopefully there is a real fix coming at some point.
The confusion happened due to the fact that the rule “Veeam: Time since last Backup” is only applied by design to the Veeam Client (the rule’s name is imprecise). It can be applied to the Veeam Client and works correctly:
So, the rule works as designed, although the name could benefit from an additional mention of the Client.
On the other hand, adding a rule for the Job would be a request for extending the feature. Please consider adding the idea to our Ideas Portal so it can reach our product team.
I did not know about the Veeam Client Check since it wasn’t automatically detected for pretty much all of our hosts, since i didn’t do a piggyback name translation for most of them. But after doing it, i was able to confirm that the rule also works correctly for me.
A clarification in the description/help text of the rule would definitely be appreciated, though.
But i still think giving users the flexibility to only monitor the jobs on the backup server and setting the thresholds there would be pretty nice as well, since that needs less configuration (at least if you don’t already use piggyback for those hosts). Also, it would provide a better centralized overview over all jobs, which some might prefer/find more intuitive.