I added a simple command that checks a USB temperature sensor that returns 
just the results of the current temperature in our data center.

The command runs great and it returns the results to zencommand.  However 
zencommand never puts the data returned into an rrd database file.  I have 
not been able to figure out why.  I have a template created with this command 
as the Data Source.  I have a DataPoint defined as a GAUGE.  What would cause 
the results to not go into a rrd database?

I am running version 2.1.2.  Here is the results of running the command as the 
zenoss user on the command line.

DEBUG:zen.zencommand:run
DEBUG:zen.zencommand:Connecting to localhost
DEBUG:zen.zencommand:Logging in as admin
WARNING:zen.zencommand:Reconnected to ZenHub
DEBUG:zen.zencommand:setting up services EventService, CommandConfig
DEBUG:zen.zencommand:chaining getInitialServices with d2
DEBUG:zen.zencommand:callback after getting service EventService
DEBUG:zen.zencommand:callback after getting service CommandConfig
DEBUG:zen.zencommand:Calling connected.
DEBUG:zen.zencommand:connected
DEBUG:zen.zencommand:Sending event {'severity': 
0, 'component': 'zencommand', 'agent': 'zencommand', 'summary': 'started', 
'manager': 'localhost', 'device': 'iesa.iexposure.com', 'eventClass': 
'/App/Start'}
DEBUG:zen.zencommand:Fetching config
DEBUG:zen.zencommand:Updated configCycleInterval config to 360
DEBUG:zen.zencommand:Loading classes ['Products.ZenModel.MinMaxThreshold']
INFO:zen.zencommand:---------- - schedule has 1 commands
DEBUG:zen.zencommand:running '/usr/local/bin/usbtenkiget -i 0 -T f'
DEBUG:zen.zencommand:cmd line: '/bin/sh -c exec /usr/local/bin/usbtenkiget -i 
0 -T f'
DEBUG:zen.zencommand:Process usbtenkiget -i 0 -T f  started
DEBUG:zen.zencommand:Finished config fetch
INFO:zen.zencommand:---------- - schedule has 1 commands
DEBUG:zen.zencommand:Next command in 59.998745 seconds
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c exec /usr/local/bin/usbtenkiget -i 
0 -T f'
DEBUG:zen.zencommand:Output: '73.62\n'
DEBUG:zen.zencommand:Process usbtenkiget -i 0 -T f  stopped (0), 0.074459 
elapsed
DEBUG:zen.zencommand:The result of "/usr/local/bin/usbtenkiget -i 0 -T f" 
was "73.62"
INFO:zen.zencommand:---------- - schedule has 1 commands
DEBUG:zen.zencommand:Sending event {'severity': 
3, 'component': 'zencommand', 'agent': 'zencommand', 'summary': 'stopped', 
'manager': 'localhost', 'device': 'iesa.iexposure.com', 'eventClass': 
'/App/Stop'}
DEBUG:zen.zencommand:removing service EventService
DEBUG:zen.zencommand:removing service CommandConfig
INFO:zen.zencommand:zencommand shutting down


Thank you in advance.
-- 
Bret Baptist
Senior Network Administrator
[EMAIL PROTECTED]
Internet Exposure, Inc.
http://www.iexposure.com
(612)676-1946 x17

Providing Internet Services since 1995
Web Development ~ Search Engine Marketing ~ Web Analytics
Network Security ~ On Demand Tech Support ~ E-Mail Marketing
------------------------------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to