TECHZEN Zenoss User Community ARCHIVE  

Event Class Fail

Subject: Event Class Fail
Author: Ted Mottinger
Posted: 2018-01-03 11:06

I have an event class fail with the following......
 
Status: New
Message: The command /usr/sbin/xm list returned stderr data (1) from the device: bash: /usr/sbin/xm: No such file or director

I checked and I do not have a /usr/sbin/xm directory so what do I need to do?  Everything else seems to be working perfectly.



------------------------------
Ted Mottinger
Network Engineer
Guy M Turner Inc.
Greensboro NC
3368099233
------------------------------


Subject: RE: Event Class Fail
Author: Jane Curry
Posted: 2018-01-04 05:01

What is the target device here?  I am guessing it is a Xen virtual machine?

It is zenmodeler that is throwing this error and I am guessing that it is a standard Xen modeler plugin that it is running?  If you know you have done development internally on modelers for Xen then do check your own code.

You say that /usr/sbin/xm doesn't exist on the target - does the xm command exist in a different directory on that target?  If so, can you symlink it to /usr/sbin?

Just checked the ZenPacks.zenoss.XenMonitor ZenPack code and it does have /usr/sbin/xm list hard-coded there ( https://github.com/zenoss/ZenPacks.zenoss.XenMonitor/blob/develop/ZenPacks/zenoss/XenMonitor/modeler/plugins/zenoss/cmd/Xen.py    ).  I am not a Xen user but it looks like it is supposed to be a standard command specific to Xen.  You probably don't want to change the modeler so you need to find that command on your target.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


< Previous
Not all Zenoss services starting
  Next
zenoss w3wp monitoring CPU for each process
>