Debugging the modeling process

You can run the modeler from the command line against a single device. This feature is useful when debugging issues with a plugin.

By passing the --collect command to the modeler, you can control which modeler plugins are used. For example, the following command runs only the interface plugin against the build.zenoss.loc device:

  1. Log in to the Control Center host as a user with serviced CLI privileges.
  2. Attach to the zenmodeler service.
    serviced service attach zenmodeler
  3. Change to the zenoss user.
    su - zenoss
  4. Run the zenmodeler command.
$ zenmodeler run -v10 --collect=IpInterface -d build.zenoss.loc
If the command returns any stack traces, forward these details to Zenoss Support for assistance:
  • Command you ran
  • Stack trace or stack traces returned
  • Version of your Resource Manager instance
  • OS version and patch level for the remote device