Xen Server Storage repository monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Xen Server Storage repository monitoring

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Xen Server Storage repository monitoring

Post 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/
Former Nagios employee
https://www.mcapra.com/
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Xen Server Storage repository monitoring

Post by lmiltchev »

Thanks, Matt!

@Gonela, let us know if mcapra's suggestion helped you resolve the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: Xen Server Storage repository monitoring

Post by Gonela »

Thanks for help.

issue resolve with that link.

Now you can close this thread
Locked