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:
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?
Nagios Check Veeam Backup
-
sth_bytelab
- Posts: 25
- Joined: Thu Aug 25, 2016 1:58 am
Nagios Check Veeam Backup
You do not have the required permissions to view the files attached to this post.
-
bolson
Re: Nagios Check Veeam Backup
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.
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.
-
sth_bytelab
- Posts: 25
- Joined: Thu Aug 25, 2016 1:58 am
Re: Nagios Check Veeam Backup
Thank you I solved the problem by putting " around $arg1$ in the NSC config file.
-
bolson
Re: Nagios Check Veeam Backup
Closing topic as resolved.
Thank you for using the Nagios Support Forum.
Thank you for using the Nagios Support Forum.