-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
remote Powershell script nagios
Hi
I want to monitor my server for my O365 backup as i do with my other server Veeam in my nagios
for my first veeam server (only for veeam backup) i had to start my script with the launch of the snapin:
Add-PSSnapin VeeamPSSnapin
I try to do the same with my other server who is only for O365 backup but i didn't arrive to found the command to use
Thanks a lot
nicolas
I want to monitor my server for my O365 backup as i do with my other server Veeam in my nagios
for my first veeam server (only for veeam backup) i had to start my script with the launch of the snapin:
Add-PSSnapin VeeamPSSnapin
I try to do the same with my other server who is only for O365 backup but i didn't arrive to found the command to use
Thanks a lot
nicolas
-
- Product Manager
- Posts: 5803
- Liked: 1217 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: remote Powershell script nagios
You can load it via "Import-Module Veeam.Archiver.PowerShell"
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
Re: remote Powershell script nagios
hi
Thanks
I try but now i have a problem with the location because the return was: impossible to load ….Program File\veam ….\veeam.Archiver.PowerShell
And when i search i found that on my server it is on a different location :c\program\veeam
Nicolas
Thanks
I try but now i have a problem with the location because the return was: impossible to load ….Program File\veam ….\veeam.Archiver.PowerShell
And when i search i found that on my server it is on a different location :c\program\veeam
Nicolas
-
- Product Manager
- Posts: 5803
- Liked: 1217 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: remote Powershell script nagios
Hi Nicolas,
It should work fine on the VBO365 server however if you are facing path issues try the following:
Import-Module "C:\Program Files\Veeam\Backup365\Veeam.Archiver.PowerShell\Veeam.Archiver.PowerShell.psd1"
Does this work?
It should work fine on the VBO365 server however if you are facing path issues try the following:
Import-Module "C:\Program Files\Veeam\Backup365\Veeam.Archiver.PowerShell\Veeam.Archiver.PowerShell.psd1"
Does this work?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
Re: remote Powershell script nagios
hi thanks for your reply
done, but still a error messager
Impossible to charge the assembly
veeam.archiver.client.Dll or dependants is missing
done, but still a error messager
Impossible to charge the assembly
veeam.archiver.client.Dll or dependants is missing
-
- Product Manager
- Posts: 5803
- Liked: 1217 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: remote Powershell script nagios
And you are running this on your VBO365 server with everything installed (console and veeam explorers)?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
Re: remote Powershell script nagios
On the server i have the console and i can restore mail so i imagine tha veeam explorers are here
If i open a PowerShell console on the server i can run the script
It is when i try to launch it from my nagios server with nsclient++ installed on the veeam o365 server that i have the problem
I do the same since a long time on my other veeam server who is only veeam backup, and it work great
I install nsclient ++
I put the name and command of the script in the ini file
and my remote nagios can launch it
but it is my first case with a veeam O365 server
If i open a PowerShell console on the server i can run the script
It is when i try to launch it from my nagios server with nsclient++ installed on the veeam o365 server that i have the problem
I do the same since a long time on my other veeam server who is only veeam backup, and it work great
I install nsclient ++
I put the name and command of the script in the ini file
and my remote nagios can launch it
but it is my first case with a veeam O365 server
-
- Product Manager
- Posts: 5803
- Liked: 1217 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: remote Powershell script nagios
I'm not familiar with how this exactly works. You say the script works on the server but NSclient fails. Can you debug the client? Maybe the parameters in the ini file are incorrect?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
Re: remote Powershell script nagios
I think it is not the cas nsclient just launch script and transmit the answer,
i try another PowerShell script who recall other informations without problems
I open a case at veeam support, as for me it is like the snapin is nt register on the server …
We will see
i try another PowerShell script who recall other informations without problems
I open a case at veeam support, as for me it is like the snapin is nt register on the server …
We will see
-
- Product Manager
- Posts: 5803
- Liked: 1217 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: remote Powershell script nagios
If you installed all 3 msi packages from the download it should work fine. Could you let us know the support case ID for future references?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
Re: remote Powershell script nagios
hi
it is already the cas, i just check
Yesterday night i try to install on the server the Veeam console, in case …. sometimes you try things like that
No matter, nothing better
it is already the cas, i just check
Yesterday night i try to install on the server the Veeam console, in case …. sometimes you try things like that
No matter, nothing better
-
- Product Manager
- Posts: 5803
- Liked: 1217 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: remote Powershell script nagios
Best is to see if support can help but can you let us know the support case ID?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Enthusiast
- Posts: 25
- Liked: never
- Joined: Oct 02, 2011 6:27 pm
- Contact:
Re: remote Powershell script nagios
that's it : 04008959
Who is online
Users browsing this forum: No registered users and 15 guests