I am trying to model some AIX servers and am having some issues with it. 
Durring the modeling process I encounter an error that is listed below.


Code:
2008-07-30 10:37:41     ERROR   zen.ZenModeler  Client  AIX finished
: [Failure instance: Traceback (failure with no frames): Products.ZenHub.PBDaemo
n.RemoteException: Remote exception: DateTime.DateTime.SyntaxError: 519/06/30 10
:44:49Traceback (most recent call last): File "/opt/zenoss/Products/ZenHub/PBDae
mon.py", line 46, in inner return callable(*args, **kw) File "/opt/zenoss/Produc
ts/ZenHub/services/ModelerService.py", line 83, in remote_applyDataMaps if adm._
applyDataMap(device, map): File "/opt/zenoss/Products/DataCollector/ApplyDataMap
.py", line 140, in _applyDataMap changed = self._updateRelationship(tobj, datama
p) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 175, in _upda
teRelationship changed = self._createRelObject(device, objmap, rname) File "/opt
/zenoss/Products/DataCollector/ApplyDataMap.py", line 321, in _createRelObject r
eturn self._updateObject(remoteObj, objmap) or changed File "/opt/zenoss/Product
s/DataCollector/ApplyDataMap.py", line 252, in _updateObject setter(value) File
"/opt/zenoss/Products/ZenModel/Software.py", line 177, in setInstallDate self._i
nstallDate.setDate(value) File "/opt/zenoss/Products/ZenModel/ZenDate.py", line
30, in setDate date = DateTime(date) File "/opt/zenoss/lib/python/DateTime/DateT
ime.py", line 509, in __init__ return self._parse_args(*args, **kw) File "/opt/z
enoss/lib/python/DateTime/DateTime.py", line 737, in _parse_args yr,mo,dy,hr,mn,
sc,tz=self._parse(arg, datefmt) File "/opt/zenoss/lib/python/DateTime/DateTime.p
y", line 1088, in _parse if year < 1000: raise SyntaxError, st SyntaxError: 519/
06/30 10:44:49 ]




Doing some google searches I ran across this link 
http://lists.zenoss.org/pipermail/zenoss-dev/2007/000937.html and a patch for 
this issue. Unfortunently, this patch does not work on 2.2 as it causes some 
errors. 

I have tracked this down to the installed software section of the modeling and 
then found the OIDs that it is complaining about. If I do this run on a Linux 
host I get the following output.


Code:
-bash-3.1$ snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.25.6.3.1.5.1
HOST-RESOURCES-MIB::hrSWInstalledDate.1 = STRING: 2007-11-13,17:19:1.0,-7:0




While on the AIX host I get this output

Code:
-bash-3.1$  snmpwalk -v 1 -c public AIX  .1.3.6.1.2.1.25.6.3.1.5.1
HOST-RESOURCES-MIB::hrSWInstalledDate.1 = STRING: 18283-8-29,19:23:13




The diffrence is in the format for the installed date format on a linux box of 
YYYY-MM-DD,HH:MM:SS,Timezone while the AIX host has the format of 
RANDOMNUMBER-MM-DD,HH:MM:SS

How do I get Zenoss to either ignore this date or block this OID string from 
comming over?

Thanks




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23072#23072

-------------------- m2f --------------------



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

Reply via email to