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@zenoss_server ~]$ /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
------------------------------


< Previous
Attaching to container without password
  Next
Graph not working
>