TECHZEN Zenoss User Community ARCHIVE  

POSKeyError in console

Subject: POSKeyError in console
Author: Marco Shaw
Posted: 2018-02-01 14:25

​Zenoss 4.x

Suddenly getting a few POSKeyError messages in the console when looking around.  I managed to pinpoint one specific server that wouldn't throw an error.

While looking around, I wanted to see if I could dump the nodes:

[zenoss@alpgpdlzn01 ~]$ /opt/zenoss/bin/zenbatchdump -o /tmp/dump.tmp

POSKeyError: 0x0269f3f7
2018-02-01 15:07:18,072 CRITICAL zen.BatchDeviceDumper: Unable to export <WinServiceSNMPDevice at some_IP_address>
2018-02-01 15:07:18,072 ERROR zen.BatchDeviceDumper: Unable to export <WinServiceSNMPDevice at some_IP_address>

POSKeyError: 0x027d8812
2018-02-01 15:07:21,013 CRITICAL zen.BatchDeviceDumper: Unable to export <WinServiceSNMPDevice at some_server_name>
2018-02-01 15:07:21,013 ERROR zen.BatchDeviceDumper: Unable to export <WinServiceSNMPDevice at some_server_name>

POSKeyError: 0x027d8631
2018-02-01 15:07:21,308 CRITICAL zen.BatchDeviceDumper: Unable to export <WinServiceSNMPDevice at some_other_server_name>
2018-02-01 15:07:21,309 ERROR zen.BatchDeviceDumper: Unable to export <WinServiceSNMPDevice at some_other_server_name>

The first match above "some_IP_address" was the troubled node I was suspecting, but it seems I have some others causing issues also.

I can't view the node in the UI, so I can't delete it that way.  I've come across ZenDMD (http://wiki.zenoss.org/ZenDMD_Tip_-_Bulk_Device_Removal) and I could probably modify the deviceslist.txt to only contain the single node I want to remove, but is there another way/better way to remove this node?

------------------------------
Marco Shaw
N/A
------------------------------


Subject: RE: POSKeyError in console
Author: Jane Curry
Posted: 2018-02-02 03:39

Hi Marco,
Do you have the toolbox tools?  If not, get them from here - https://support.zenoss.com/hc/en-us/articles/203117595-How-To-Install-And-Use-the-zenoss-toolbox .

You should run them in order:
zodbscan
findposkeyerror
zenrelationscan
zencatalogscan

They can take a long time in a large environment but they are good magic and will not damage anything.  If any of them find errors, run with the -f (fix) flag - sometimes it takes several fix runs to fix stuff.

Cheeers,
Janw

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


< Previous
Upgrade to 6.1
  Next
Zenoss SNMP
>