Okay,

I'm using zenoss 2.2.0. My zenping working as shown by zenoss status, and my 
zenping config are shown below:

#
# Configuration file for zenping
#
#  To enable a particular option, uncomment the desired entry.
#
# Parameter     Setting
# ---------     -------
#
# Host of zenhub daemon. Default is localhost.,
#  default: localhost
#hubhost localhost
#
# Port zenhub listens on.Default is 8789.,
#  default: 8789
#hubport 8789
#
# Username for zenhub login. Default is
#  admin., default: admin
#hubusername admin
#
# Password for zenhub login. Default is
#  zenoss., default: zenoss
#hubpassword zenoss
#
# Name of monitor instance to use for
#  configuration.  Default is localhost.,
#  default: localhost
#monitor localhost
#
# Initial time to wait for a ZenHub connection,
#  default: 30
#hubtimeout 30
#
# Logging severity threshold, default: 20
#logseverity 20
#
# override default logging path
#logpath None
#
# config file must define all params (see man)
#configfile None
#
# user to become when running default:zenoss,
#  default: zenoss
#uid zenoss
#
# Cycle continuously on cycleInterval
#  from zope, default: False
#cycle False
#
# Become a unix daemon, default: False
#daemon False
#
# output log info in html table format,
#  default: False
#weblog False
#
# Run under a supervisor which will restart
#  it, default: False
#watchdog False
#
# The path to the watchdog reporting socket
#watchdogPath None
#
# wait seconds for initial heartbeat,
#  default: 36000
#starttimeout 36000
#
# host that roots the ping dependency
#  tree: typically the collecting hosts'
#  name; defaults to our fully qualified
#  domain name (localhost), default: localhost
# name localhost
#
# Run in test mode: doesn't really ping,
#  but reads the list of IP Addresses
#  that  are up from /tmp/testping, default:
#  False
#test False
#
# use the given (privileged) file descriptor
#useFileDescriptor None

Got the conf above from genconf. Then I uncomment:

# host that roots the ping dependency
#  tree: typically the collecting hosts'
#  name; defaults to our fully qualified
#  domain name (localhost), default: localhost
name localhost

And restart zenping. Try again tracepath.py against devices locally and 
remotely shown:

Locally:

python /usr/local/zenoss/bin/tracepath.py 192.168.3.5
Getting path from localhost to 192.168.3.5...
Traceback (most recent call last):
  File "/usr/local/zenoss/bin/tracepath.py", line 30, in ?
    path = source.os.traceRoute(destination, [])
AttributeError: 'NoneType' object has no attribute 'os'


Localhost:

python /usr/local/zenoss/bin/tracepath.py localhost
Getting path from localhost to localhost...
Invalid destination.

Remotely:

python /usr/local/zenoss/bin/tracepath.py moddar.homeip.net
Getting path from localhost to moddar.homeip.net...
Traceback (most recent call last):
  File "/usr/local/zenoss/bin/tracepath.py", line 30, in ?
    path = source.os.traceRoute(destination, [])
AttributeError: 'NoneType' object has no attribute 'os'

The same error for locally and remotely.




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

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

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



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

Reply via email to