this is my zencommand output
Code:
zencommand run -v10 -d ip
DEBUG:zen.zencommand:Starting PBDaemon initialization
INFO:zen.zencommand:Connecting to localhost:8789
DEBUG:zen.zencommand:Logging in as admin
INFO:zen.zencommand:Connected to ZenHub
DEBUG:zen.zencommand:Setting up initial services: EventService, CommandConfig
DEBUG:zen.zencommand:Chaining getInitialServices with d2
DEBUG:zen.zencommand:Loaded service EventService from zenhub
DEBUG:zen.zencommand:Loaded service CommandConfig from zenhub
DEBUG:zen.zencommand:Queueing event {'severity': 0, 'component': 'zencommand',
'agent': 'zencommand', 'summary': 'started', 'manager': 'localhost', 'device':
'localhost', 'eventClass': '/App/Start'}
DEBUG:zen.zencommand:Total of 1 queued events
DEBUG:zen.zencommand:Calling connected.
DEBUG:zen.zencommand:Fetching configuration from zenhub
DEBUG:zen.zencommand:Updated configCycleInterval config to 360
DEBUG:zen.zencommand:Loading classes ['Products.ZenModel.MinMaxThreshold']
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.zencommand:running '/usr/bin/snmpwalk -v1 -cpublic ip
.1.3.6.1.4.1.14823.2.2.1.2.1.10.0 | cut -b57-58 | sed -e \'s/.*/degree: &/\' |
sed -e "s/\\"//g"| tr -d \'\\n\'\n'
DEBUG:zen.zencommand:cmd line: '/bin/sh -c exec /usr/bin/snmpwalk -v1 -cpublic
ip .1.3.6.1.4.1.14823.2.2.1.2.1.10.0 | cut -b57-58 | sed -e \'s/.*/degree: &/\'
| sed -e "s/\\"//g"| tr -d \'\\n\'\n'
DEBUG:zen.zencommand:Process snmpwalk -v1 -cpublic ip
.1.3.6.1.4.1.14823.2.2.1.2.1.10.0 | cut -b57-58 | sed -e 's/.*/degree: &/' |
sed -e "s/\"//g"| tr -d '\n'
started
DEBUG:zen.zencommand:Finished config fetch
DEBUG:zen.zencommand:Next command in 299 seconds
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c exec /usr/bin/snmpwalk -v1 -cpublic
ip .1.3.6.1.4.1.14823.2.2.1.2.1.10.0 | cut -b57-58 | sed -e \'s/.*/degree: &/\'
| sed -e "s/\\"//g"| tr -d \'\\n\'\n'
DEBUG:zen.zencommand:Output: 'degree: 37'
DEBUG:zen.zencommand:Process snmpwalk -v1 -cpublic ip
.1.3.6.1.4.1.14823.2.2.1.2.1.10.0 | cut -b57-58 | sed -e 's/.*/degree: &/' |
sed -e "s/\"//g"| tr -d '\n'
stopped (0), 1.01 seconds elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/snmpwalk -v1 -cpublic ip
.1.3.6.1.4.1.14823.2.2.1.2.1.10.0 | cut -b57-58 | sed -e 's/.*/degree: &/' |
sed -e "s/\"//g"| tr -d '\n'
" was "'degree: 37'"
DEBUG:zen.zencommand:Queueing event {'severity': 0, 'performanceData': '',
'component': '', 'agent': 'zencommand', 'summary': 'degree: 37', 'manager':
'localhost', 'eventKey': 'InternalTemperature', 'device': 'ip', 'message':
'degree: 37', 'eventClass': '/Cmd/Fail'}
DEBUG:zen.zencommand:Total of 1 queued events
DEBUG:zen.zencommand:Sent a 'stop' event
DEBUG:zen.zencommand:stop() called when not running
INFO:zen.zencommand:Daemon zencommand shutting down
DEBUG:zen.zencommand:Removing service EventService
DEBUG:zen.zencommand:Removing service CommandConfig
INFO:zen.zencommand:zencommand shutting down
any hint?
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=36547#36547
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users