Page 1 of 1

Xen Server Storage repository monitoring

Posted: Mon May 21, 2018 4:04 am
by Gonela
Hi ,

We trying to monitoring Xen Server storage repository from NagiosXI.

Following plugin i tried for monitoring . But i'm getting error while running the plugin from NagiosXI.

https://exchange.nagios.org/directory/P ... py/details

Error:
-----------------------------------------------------------------
Traceback (most recent call last):
File "./check_sr.py", line 41, in <module>
import XenAPI
ImportError: No module named XenAPI
---------------------------------------------------------------
For this error we need to install xen server sdk or not .

if required install to run the plugin .

Where we will install sdk on xen server? or nagios server?

Re: Xen Server Storage repository monitoring

Posted: Mon May 21, 2018 8:40 am
by mcapra
Gonela wrote:For this error we need to install xen server sdk or not .
Based on my reading of both the plugin's description and the code itself (which is to say I've not used this plugin), you will at the very least need to install the XenAPI package on whichever machine ends up running this plugin. This package should be available via pip:
https://pypi.org/project/XenAPI/

Re: Xen Server Storage repository monitoring

Posted: Mon May 21, 2018 10:09 am
by lmiltchev
Thanks, Matt!

@Gonela, let us know if mcapra's suggestion helped you resolve the issue.

Re: Xen Server Storage repository monitoring

Posted: Tue Jul 03, 2018 11:27 pm
by Gonela
Thanks for help.

issue resolve with that link.

Now you can close this thread