Quantcast
Channel: Zenoss Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 853

zendmd vs Phantom RRD Template

$
0
0

I appear to have accidentally created a copy of an RRD Template (copy_of_CiscoTemperatureSensor) which I am unable to remove/delete from within the Zenoss or Zope interfaces. Zenoss is version 4.2.3

 

In Zenoss, under Advanced > Monitoring Templates, when I select the template, I get the following error: "AttributeError: deviceClass"

 

zenoss.err.png

 

In Zope, at /zport/dmd/Devices/Network/Switch/Cisco/rrdTemplates, I see the template. However selecting is and clicking Delete produces the following error:

 

Type: <class 'zExceptions.BadRequest'>

Value: copy_of_CiscoTemperatureSensor does not exist

Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 533, in manage_delObjects raise BadRequest, '%s does not exist' % escape(ids[-1]) BadRequest: copy_of_CiscoTemperatureSensor does not exist

 

zope.err.png

 

Some googling suggests trying such things as restarting Zope, restarting Zenoss, enter in zendmd and reindex()'ing -- all to no avail.  Interesingly, I am able to "See" the RRD Template in zendmd, but I am not sure how I can delete it from within the CLI.

 

    d = dmd.Devices.Network.Switch.Cisco

     d.rrdTemplates()

    [<RRDTemplate at /zport/dmd/Devices/Network/Switch/Cisco/rrdTemplates/copy_of_CiscoTemperatureSensor>]

 

My questions are:

 

1. Can I delete this phantom template from within zendmd?  If so, how?

2. Is there any documentation of the zendmd environment? It seems very useful, but incredibly vast.


Viewing all articles
Browse latest Browse all 853

Trending Articles