I would like to add a file system manually. I set the following:
Mount point: /snapshots
Type: .1.3.6.1.2.1.25.2.1.4
Block size: 1024
Snmp Index: 34
I get the error below.
Background:
I have RHEL 3 system that have 116 local mounts. SNMP 5.0.9 has a known bug
with that many mount points. 5.0.9 is the latest SNMP package for RHEL 3 from
Red Hat, that admin will only install packages supported and supplied by Red
Hat.
Error:
Type: ValueError
Value: empty string for float()
Traceback (innermost last):
* Module ZPublisher.Publish, line 114, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZenModel.FileSystem, line 247, in manage_editFileSystem
* Module Products.ZenModel.ZenModelBase, line 192, in callZenScreen
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /zport/viewFileSystem used for
/zport/dmd/Devices/Server/Linux/devices/hostname/os/filesystems/snapshots>
* Module TAL.TALInterpreter, line 206, in __call__
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 690, in do_defineMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 501, in do_insertText_tal
* Module Products.PageTemplates.TALES, line 227, in evaluateText
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/viewFileSystem.pt
Line 76, Column 6
Expression: standard:'here/availBytesString'
Names:
{'container': <ZentinelPortal at /zport>,
'context': <FileSystem at
/zport/dmd/Devices/Server/Linux/devices/hostname/os/filesystems/snapshots>,
'default': <Products.PageTemplates.TALES.Default instance at
0x2b6de2b59ab8>,
'here': <FileSystem at
/zport/dmd/Devices/Server/Linux/devices/hostname/os/filesystems/snapshots>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x21389ab8>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x2b6de2b59ea8>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x21389ab8>,
'request': <HTTPRequest,
URL=/zport/dmd/Devices/Server/Linux/devices/hostname/os/filesystems/snapshots/viewFileSystem>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/viewFileSystem used for
/zport/dmd/Devices/Server/Linux/devices/hostname/os/filesystems/snapshots>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.Expressions, line 185, in __call__
* Module Products.PageTemplates.Expressions, line 180, in _eval
* Module Products.PageTemplates.Expressions, line 85, in render
* Module Products.ZenModel.FileSystem, line 163, in availBytesString
* Module Products.ZenUtils.Utils, line 84, in convToUnits
ValueError: empty string for float()
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=30139#30139
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users