This seems similar to Sven’s:

 

http://lists.zenoss.org/pipermail/zenoss-users/2006/001125.html

 

Unfortunately, I do not have a backup to restore from.

 

I had added a device, PT .15, via ssh scan and joined it to a specific Systems and Locations group.

 

I then deleted the device through the Devices Status screen.

 

Now when I attempt to access either the Systems or Location group it was part of, I get the following error message:

 

                        Site Error

 

                        An error was encountered while publishing this resource.

 

                        Error Type: KeyError

                        Error Value: 'PRT .15'

 

                        Troubleshooting Suggestions

 

                            * This resource may be trying to reference a nonexistent object or variable 'PRT .15'.

                            * The URL may be incorrect.

                            * The parameters passed to this resource may be incorrect.

                            * A resource that this resource relies on may be encountering an error.

 

                        For more detailed information about the error, please refer to the error log.

 

                        If the error persists please contact the site maintainer. Thank you for your patience.

 

It mentions an error log.  I found a $ZENHOME/log directory.  Which logfile is it referring to?

 

Also, when I run zendisc against the network this device belonged to, I get the following error message

 

ERROR:zen.ZenDisc:Error performing net descovery on 'PRT .15'

Traceback (most recent call last):

  File "/usr/local/zenoss/Products/DataCollector/zendisc.py", line 159, in run

    for ip in self.discoverIps((netobj,)):

  File "/usr/local/zenoss/Products/DataCollector/zendisc.py", line 64, in discoverIps

    if not ipobj.device():

  File "/usr/local/zenoss/Products/ZenModel/IpAddress.py", line 210, in device

    if int: return int.device()

  File "/usr/local/zenoss/Products/ZenModel/OSComponent.py", line 20, in device

    if os: return os.device()

  File "/usr/local/zenoss/Products/ZenModel/OperatingSystem.py", line 115, in device

    return self.getPrimaryParent()

  File "/usr/local/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", line 70, in getPrimaryParent

    return self.__primary_parent__.primaryAq()

  File "/usr/local/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", line 65, in primaryAq

    return app.unrestrictedTraverse(self.getPrimaryPath())

  File "usr/local/zenoss/lib/python/OFS/Traversable.py", line 221, in unrestrictedTraverse

  File "usr/local/zenoss/lib/python/OFS/ObjectManager.py", line 713, in __getitem__

KeyError: 'PRT .15'

 

I have a nagging suspicion that the two problems may be related.

 

Any help would be greatly appreciated.  Please let me know if you need any other information.  Thank you.

 

---------------

Alejandro Figueroa

ExcelaCom

[EMAIL PROTECTED]

 

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to