Thanks for the reply  :) 

Here is the output:


Code:
[EMAIL PROTECTED] zenoss]$ zencommand run -v 10 --device=www.online.no
DEBUG:zen.zencommand:Fetching config
DEBUG:zen.zencommand:Updated configCycleInterval config to 30
DEBUG:zen.zencommand:Finished config fetch
DEBUG:zen.zencommand:running '/opt/zenoss/libexec/check_http -H x.x.x.x -p 8080 
-u http://www.online.no'
DEBUG:zen.zencommand:cmd line: '/bin/sh -c exec /opt/zenoss/libexec/check_http 
-H x.x.x.x -p 8080 -u http://www.online.no'
DEBUG:zen.zencommand:Process check_http -H x.x.x.x -p 8080 -u 
http://www.online.no  started
DEBUG:zen.zencommand:running '/opt/zenoss/libexec/check_http www.online.no'
DEBUG:zen.zencommand:cmd line: '/bin/sh -c exec /opt/zenoss/libexec/check_http 
www.online.no'
DEBUG:zen.zencommand:Process check_http www.online.no  started
DEBUG:zen.Events:EventClassInst=Start
DEBUG:zen.Events:update status set clearid = '0aedcae13537c137fffffff' where 
device='zenoss-01.customizer.local' and component='zencommand' and eventKey='' 
and (eventClass='/App/Stop' or eventClass='/App/Start'): --> 1
DEBUG:zen.Events:insert into log (evid, userName, text) select evid, "admin", 
"auto cleared" from status where clearid = "0aedcae13537c137fffffff": --> 1
DEBUG:zen.Events:insert into history set 
firstTime=1177076663.525,severity=0,component='zencommand',agent='zencommand',summary='started',dedupid='zenoss-01.customizer.local|zencommand|/App/Start||0|started',manager='zenoss-01.customizer.local',eventKey='',device='zenoss-01.customizer.local',eventClass='/App/Start',lastTime=1177076663.525,message='started',deletedTime=null,evid='0aedcae13537c137fffffff':
 --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 1
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c exec /opt/zenoss/libexec/check_http 
www.online.no'
DEBUG:zen.zencommand:Output: 'HTTP OK HTTP/1.1 200 OK - 84793 bytes in 0.113 
seconds |time=0.112517s;;;0.000000 size=84793B;;;0\n'
DEBUG:zen.zencommand:Process check_http www.online.no  stopped (0), 0.596568 
elapsed
DEBUG:zen.zencommand:The result of "/opt/zenoss/libexec/check_http 
www.online.no" was "HTTP OK HTTP/1.1 200 OK - 84793 bytes in 0.113 seconds 
|time=0.112517s;;;0.000000 size=84793B;;;0"
DEBUG:zen.zencommand:storing time = 0.112517 in: 
/Devices/www.online.no/webpage_time
DEBUG:zen.zencommand:rrd save result: 0.112517
DEBUG:zen.zencommand:Next command in 59.996998 seconds
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c exec /opt/zenoss/libexec/check_http 
-H x.x.x.x -p 8080 -u http://www.online.no'
DEBUG:zen.zencommand:Output: 'HTTP OK HTTP/1.1 200 OK - 84868 bytes in 0.146 
seconds |time=0.145898s;;;0.000000 size=84868B;;;0\n'
DEBUG:zen.zencommand:Process check_http -H 10.6.101.19 -p 8080 -u 
http://www.online.no  stopped (0), 0.626678 elapsed
DEBUG:zen.zencommand:The result of "/opt/zenoss/libexec/check_http -H x.x.x.x 
-p 8080 -u http://www.online.no"; was "HTTP OK HTTP/1.1 200 OK - 84868 bytes in 
0.146 seconds |time=0.145898s;;;0.000000 size=84868B;;;0"
DEBUG:zen.zencommand:storing time = 0.145898 in: 
/Devices/www.online.no/proxypage_time
DEBUG:zen.zencommand:rrd save result: 0.145898
DEBUG:zen.Events:EventClassInst=Stop
DEBUG:zen.Events:insert into status set 
firstTime=1177076663.685,severity=3,component='zencommand',agent='zencommand',summary='stopped',dedupid='zenoss-01.customizer.local|zencommand|/App/Stop||3|stopped',manager='zenoss-01.customizer.local',eventKey='',device='zenoss-01.customizer.local',eventClass='/App/Stop',lastTime=1177076663.685,message='stopped',evid='0aedcae13537c137ffffffe'
 on duplicate key update 
summary='stopped',count=count+1,lastTime=1177076663.685: --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
[EMAIL PROTECTED] zenoss]$




Looks fine to me  :) 

The funny thing is, up until I ran this command, zenoss hadnt made the Device 
folder and the acording RRD files (wich was my main problem).
But now they are suddenly present, so it seems Zenoss was forced to do 
something it didnt do automaticly. So something seems wrong with the execution 
of zencommand process.

So right now I have a graph with one data collection, zencommand doesnt seem to 
follow this up for some reason.
However, I have made som modifications to Zenoss, the SNMP performance poller 
is adjusted to 60 insted of 300 seconds interval.
And I have adjusted the zencommand interval to 60 seconds in the zProperties, I 
have also resized the RRD's to reflect the change of resolution.

------------------------
 Kai




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

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

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



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

Reply via email to