Page 1 of 1

Nagios Check Veeam Backup

Posted: Wed Aug 09, 2017 4:11 am
by sth_bytelab
I have would like to check Veeam Backup Jobs with Nagios.
I am using a NRPE command to exectue a powershell script.
I have included the powershell script in the nsc.ini file and allow arguments.
But when I run the command I recieve this:
Udklip.PNG
Nagios is right I don't have a job named 'Local', but I have run named: "Local - Virgo SQL".
Have should I specify the name of the backup job?

Re: Nagios Check Veeam Backup

Posted: Wed Aug 09, 2017 2:11 pm
by bolson
Hello sth_bytelab,

I believe the job name should be in single quotes rather than double quotes. Ie: 'Local - Virgo SQL'

My thought is that nrpe is not recognizing the double quotes so it's only reading from the L in Local to the first space.

Re: Nagios Check Veeam Backup

Posted: Wed Aug 09, 2017 2:11 pm
by bolson
Let me know if this solves your issue.

Re: Nagios Check Veeam Backup

Posted: Thu Aug 10, 2017 3:02 am
by sth_bytelab
Thank you I solved the problem by putting " around $arg1$ in the NSC config file.

Re: Nagios Check Veeam Backup

Posted: Thu Aug 10, 2017 9:48 am
by bolson
Closing topic as resolved.

Thank you for using the Nagios Support Forum.