I added two custom plugins to the device class, and made sure it was in the
zCollectorPlugins for the device. When i tried to remodel the device, it
doesn't work? Is there something I missed?
Code:
zen...@nyzenoss:/opt/zenoss/zenoss$ zenmodeler run -d swd77 -v10
DEBUG:zen.ZenModeler:Run in foreground, starting immediately.
DEBUG:zen.ZenModeler:run
DEBUG:zen.ZenModeler:Connecting to localhost:8789
DEBUG:zen.ZenModeler:Logging in as admin
INFO:zen.ZenModeler:Connected to ZenHub
DEBUG:zen.ZenModeler:setting up services EventService, ModelerService
DEBUG:zen.ZenModeler:chaining getInitialServices with d2
DEBUG:zen.ZenModeler:callback after getting service EventService
DEBUG:zen.ZenModeler:callback after getting service ModelerService
DEBUG:zen.ZenModeler:Queueing event {'severity': 0, 'component': 'zenmodeler',
'agent': 'zenmodeler', 'summary': 'started', 'manager': 'localhost', 'device':
'localhost', 'eventClass': '/App/Start'}
DEBUG:zen.ZenModeler:Calling connected.
DEBUG:zen.ZenModeler:fetching monitor properties
DEBUG:zen.ZenModeler:Getting threshold classes...
DEBUG:zen.ZenModeler:Loading classes ['Products.ZenModel.MinMaxThreshold']
DEBUG:zen.ZenModeler:Fetching default RRDCreateCommand...
DEBUG:zen.ZenModeler:Getting collector thresholds...
DEBUG:zen.thresholds:Updating threshold ('zeneventlog cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenmodeler cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenperfsnmp cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenping cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenprocess cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenwin cycle time', ('localhost', ''))
DEBUG:zen.ZenModeler:Starting collector loop...
INFO:zen.ZenModeler:Collecting for device swd77
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.DeviceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.InterfaceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.IpServiceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.RouteMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.NewRouteMap
INFO:zen.ZenModeler:No WMI plugins found for swd77
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.DeviceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.InterfaceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.IpServiceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.RouteMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.NewRouteMap
INFO:zen.ZenModeler:No Python plugins found for swd77
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.DeviceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.InterfaceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.IpServiceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.RouteMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.NewRouteMap
INFO:zen.ZenModeler:No command plugins found for swd77
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.DeviceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.InterfaceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.IpServiceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.RouteMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.NewRouteMap
DEBUG:zen.ZenModeler:Using zenoss.snmp.DeviceMap on swd77
DEBUG:zen.ZenModeler:Using zenoss.snmp.InterfaceMap on swd77
DEBUG:zen.ZenModeler:Using zenoss.snmp.IpServiceMap on swd77
DEBUG:zen.ZenModeler:Using zenoss.snmp.RouteMap on swd77
DEBUG:zen.ZenModeler:Using zenoss.snmp.NewRouteMap on swd77
INFO:zen.ZenModeler:SNMP collection device swd77
INFO:zen.ZenModeler:plugins: zenoss.snmp.DeviceMap, zenoss.snmp.InterfaceMap,
zenoss.snmp.IpServiceMap, zenoss.snmp.RouteMap, zenoss.snmp.NewRouteMap
DEBUG:zen.SnmpClient:Starting SNMP info for swd77 at 10.0.0.168:161 timeout:
2.5 tries: 2 version: v2c community: public
DEBUG:zen.SnmpClient:Testing SNMP configuration
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.DeviceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.InterfaceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.IpServiceMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.RouteMap
DEBUG:zen.ZenModeler:Loaded plugin zenoss.snmp.NewRouteMap
INFO:zen.ZenModeler:No portscan plugins found for swd77
DEBUG:zen.ZenModeler:Running 1 clients
DEBUG:zen.ZenModeler:Collection slots filled
DEBUG:zen.ZenModeler:Running 1 clients
DEBUG:zen.SnmpClient:running <zenoss.snmp.DeviceMap.DeviceMap instance at
0x8b85eec>
DEBUG:zen.SnmpClient:sending queries for plugin zenoss.snmp.DeviceMap
DEBUG:zen.SnmpClient:running <zenoss.snmp.InterfaceMap.InterfaceMap instance at
0x8b8b20c>
DEBUG:zen.SnmpClient:sending queries for plugin zenoss.snmp.InterfaceMap
DEBUG:zen.ZenModeler:Running 1 clients
DEBUG:zen.SnmpClient:running <zenoss.snmp.IpServiceMap.IpServiceMap instance at
0x8b8b38c>
DEBUG:zen.SnmpClient:sending queries for plugin zenoss.snmp.IpServiceMap
DEBUG:zen.SnmpClient:running <zenoss.snmp.RouteMap.RouteMap instance at
0x8c88ecc>
DEBUG:zen.SnmpClient:sending queries for plugin zenoss.snmp.RouteMap
DEBUG:zen.SnmpClient:running <zenoss.snmp.NewRouteMap.NewRouteMap instance at
0x8c88e2c>
DEBUG:zen.SnmpClient:sending queries for plugin zenoss.snmp.NewRouteMap
INFO:zen.SnmpClient:snmp client finished collection for swd77
DEBUG:zen.ZenModeler:Client for swd77 finished collecting
DEBUG:zen.ZenModeler:Processing data for device swd77
DEBUG:zen.ZenModeler:Processing plugin zenoss.snmp.DeviceMap on device swd77 ...
INFO:zen.ZenModeler:processing zenoss.snmp.DeviceMap for device swd77
DEBUG:zen.ZenModeler:Processing plugin zenoss.snmp.InterfaceMap on device swd77
...
INFO:zen.ZenModeler:processing zenoss.snmp.InterfaceMap for device swd77
WARNING:zen.ZenModeler:skipping 127.0.0.1 points to missing ifindex 2
WARNING:zen.ZenModeler:skipping 10.100.0.168 points to missing ifindex 1
DEBUG:zen.ZenModeler:Processing plugin zenoss.snmp.IpServiceMap on device swd77
...
INFO:zen.ZenModeler:processing zenoss.snmp.IpServiceMap for device swd77
DEBUG:zen.ZenModeler:Processing plugin zenoss.snmp.RouteMap on device swd77 ...
INFO:zen.ZenModeler:processing zenoss.snmp.RouteMap for device swd77
DEBUG:zen.ZenModeler:Processing plugin zenoss.snmp.NewRouteMap on device swd77
...
INFO:zen.ZenModeler:processing zenoss.snmp.NewRouteMap for device swd77
DEBUG:zen.ZenModeler:Running 1 clients
DEBUG:zen.ZenModeler:Running 1 clients
INFO:zen.ZenModeler:Changes in configuration applied
DEBUG:zen.ZenModeler:Client swd77 finished
DEBUG:zen.ZenModeler:Running 0 clients
INFO:zen.ZenModeler:Scan time: 3.92 seconds
DEBUG:zen.thresholds:Checking value 3.91596007347 on
Daemons/localhost/zenmodeler_cycleTime
DEBUG:zen.MinMaxCheck:Checking zenmodeler_cycleTime 3.91596007347 against min
None and max 34560.0
DEBUG:zen.ZenModeler:Queueing event {'manager': 'localhost', 'eventKey':
'zenmodeler cycle time', 'device': 'localhost', 'eventClass': '/Perf',
'summary': 'threshold of zenmodeler cycle time restored: current value: 3.92',
'component': '', 'agent': 'zenmodeler', 'severity': 0}
INFO:zen.ZenModeler:Daemon ZenModeler shutting down
DEBUG:zen.ZenModeler:removing service EventService
DEBUG:zen.ZenModeler:removing service ModelerService
INFO:zen.ZenModeler:zenmodeler shutting down
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34852#34852
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users