it looks like ssh is working when i run the verbose command but it wont create 
RRD file for iostat that i created in the template

here is the output

 zencommand run -d zenoss-dev.ny.dds.net -v 10
DEBUG:zen.zencommand:Fetching config
DEBUG:zen.zencommand:Updated configCycleInterval config to 30
DEBUG:zen.zencommand:Finished config fetch
DEBUG:zen.zencommand:Creating connection to zenoss-dev.ny.dds.net
DEBUG:zen.zencommand:Process zenplugin.py disk /  started
DEBUG:zen.zencommand:Process zenplugin.py disk /dev  started
DEBUG:zen.zencommand:Process zenplugin.py disk /dev/shm  started
DEBUG:zen.zencommand:Process zenplugin.py disk /var/lock  started
DEBUG:zen.zencommand:Process zenplugin.py disk /var/run  started
DEBUG:zen.zencommand:Process zenplugin.py cpu  started
DEBUG:zen.zencommand:Process zenplugin.py io  started
DEBUG:zen.zencommand:Process zenplugin.py mem  started
DEBUG:zen.zencommand:Process zenplugin.py uptime  started
DEBUG:zen.zencommand:Process zenplugin.py intf eth0  started
DEBUG:zen.Events:EventClassInst=Start
DEBUG:zen.Events:update status set clearid = '0a942fbc3592db97fffffff' where 
device='zenoss.ny.dds.net' 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 = "0a942fbc3592db97fffffff": --> 1
DEBUG:zen.Events:insert into history set 
firstTime=1184945815.202,severity=0,component='zencommand',agent='zencommand',summary='started',dedupid='zenoss.ny.dds.net|zencommand|/App/Start||0|started',manager='zenoss.ny.dds.net',eventKey='',device='zenoss.ny.dds.net',eventClass='/App/Start',lastTime=1184945815.202,message='started',deletedTime=null,evid='0a942fbc3592db97fffffff':
 --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 1
DEBUG:zen.SshClient:zenoss-dev.ny.dds.net host key: 
4e:d7:66:0e:89:7a:52:8f:b9:18:e5:28:e4:ea:67:30
DEBUG:zen.SshClient:creating new ssh connection
DEBUG:zen.SshClient:Getting Public Key from /home/zenoss/.ssh/id_dsa
INFO:zen.SshClient:connected to device zenoss-dev.ny.dds.net
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py disk /
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py disk /dev
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py disk 
/dev/shm
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py disk 
/var/lock
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py disk 
/var/run
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py cpu
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py io
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py mem
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py uptime
DEBUG:zen.SshClient:opening command channel for /usr/bin/zenplugin.py intf eth0
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py cpu data: 'CPU 
OK;|ssCpuRawInterrupt=78806 laLoadInt1=0.70 ssRawContexts=357471757 
laLoadInt5=0.37 ssCpuRawNice=27013 ssCpuRawKernel=3334924 
ssCpuRawSystem=3334924 ssCpuRawWait=30675752 laLoadInt15=0.29 
ssRawInterrupts=714338577 ssCpuRawIdle=219397461 ssCpuRawUser=57827947'
DEBUG:zen.zencommand:Process zenplugin.py cpu  stopped (0), 2.204148 elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py cpu" was "CPU 
OK;|ssCpuRawInterrupt=78806 laLoadInt1=0.70 ssRawContexts=357471757 
laLoadInt5=0.37 ssCpuRawNice=27013 ssCpuRawKernel=3334924 
ssCpuRawSystem=3334924 ssCpuRawWait=30675752 laLoadInt15=0.29 
ssRawInterrupts=714338577 ssCpuRawIdle=219397461 ssCpuRawUser=57827947"
DEBUG:zen.zencommand:storing ssCpuRawInterrupt = 78806.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawInterrupt
DEBUG:zen.zencommand:rrd save result: 0.0243049588527
DEBUG:zen.zencommand:storing laLoadInt1 = 0.7 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_laLoadInt1
DEBUG:zen.zencommand:rrd save result: 0.7
DEBUG:zen.zencommand:storing ssRawContexts = 357471757.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssRawContexts
DEBUG:zen.zencommand:rrd save result: 105.021755475
DEBUG:zen.zencommand:storing laLoadInt5 = 0.37 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_laLoadInt5
DEBUG:zen.zencommand:rrd save result: 0.37
DEBUG:zen.zencommand:storing ssCpuRawNice = 27013.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawNice
DEBUG:zen.zencommand:rrd save result: 0.0
DEBUG:zen.zencommand:storing ssCpuRawKernel = 3334924.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawKernel
DEBUG:zen.zencommand:rrd save result: 0.686396195417
DEBUG:zen.zencommand:storing ssCpuRawSystem = 3334924.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawSystem
DEBUG:zen.zencommand:rrd save result: 0.686400502296
DEBUG:zen.zencommand:storing ssCpuRawWait = 30675752.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawWait
DEBUG:zen.zencommand:rrd save result: 4.23187103842
DEBUG:zen.zencommand:storing laLoadInt15 = 0.29 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_laLoadInt15
DEBUG:zen.zencommand:rrd save result: 0.29
DEBUG:zen.zencommand:storing ssRawInterrupts = 714338577.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssRawInterrupts
DEBUG:zen.zencommand:rrd save result: 184.721071173
DEBUG:zen.zencommand:storing ssCpuRawIdle = 219397461.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawIdle
DEBUG:zen.zencommand:rrd save result: 81.8945658848
DEBUG:zen.zencommand:storing ssCpuRawUser = 57827947.0 in: 
/Devices/zenoss-dev.ny.dds.net/cpu_ssCpuRawUser
DEBUG:zen.zencommand:rrd save result: 13.0380409956
DEBUG:zen.zencommand:Next command in 299.941135 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py io data: 'IO 
OK;|ssIORawSent=107139970 ssRawSwapIn=71 ssRawSwapOut=65 
ssIORawReceived=1872470720'
DEBUG:zen.zencommand:Process zenplugin.py io  stopped (0), 2.265784 elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py io" was "IO 
OK;|ssIORawSent=107139970 ssRawSwapIn=71 ssRawSwapOut=65 
ssIORawReceived=1872470720"
DEBUG:zen.zencommand:Next command in 299.936176 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py intf eth0 data: "collector 
'intf' doesn't exist on platform 'linux2'\n"
DEBUG:zen.zencommand:Process zenplugin.py intf eth0  stopped (1), 2.268543 
elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py intf eth0" was 
"collector 'intf' doesn't exist on platform 'linux2'
"
DEBUG:zen.zencommand:Next command in 299.930147 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py mem data: 'MEM 
OK;|memAvailReal=22183936 hrSwapSize=1513410560 hrMemorySize=1193762816 
pageSize=4096 memAvailSwap=1513320448'
DEBUG:zen.zencommand:Process zenplugin.py mem  stopped (0), 2.568753 elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py mem" was "MEM 
OK;|memAvailReal=22183936 hrSwapSize=1513410560 hrMemorySize=1193762816 
pageSize=4096 memAvailSwap=1513320448"
DEBUG:zen.zencommand:storing memAvailReal = 22183936.0 in: 
/Devices/zenoss-dev.ny.dds.net/mem_memAvailReal
DEBUG:zen.zencommand:rrd save result: 22183936.0
DEBUG:zen.zencommand:storing hrSwapSize = 1513410560.0 in: 
/Devices/zenoss-dev.ny.dds.net/mem_hrSwapSize
DEBUG:zen.zencommand:rrd save result: 1513410560.0
DEBUG:zen.zencommand:storing hrMemorySize = 1193762816.0 in: 
/Devices/zenoss-dev.ny.dds.net/mem_hrMemorySize
DEBUG:zen.zencommand:rrd save result: 1193762816.0
DEBUG:zen.zencommand:storing pageSize = 4096.0 in: 
/Devices/zenoss-dev.ny.dds.net/mem_pageSize
DEBUG:zen.zencommand:rrd save result: 4096.0
DEBUG:zen.zencommand:storing memAvailSwap = 1513320448.0 in: 
/Devices/zenoss-dev.ny.dds.net/mem_memAvailSwap
DEBUG:zen.zencommand:rrd save result: 1513320448.0
DEBUG:zen.zencommand:Next command in 299.586398 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py uptime data: "collector 
'uptime' doesn't exist on platform 'linux2'\n"
DEBUG:zen.zencommand:Process zenplugin.py uptime  stopped (1), 2.621571 elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py uptime" was 
"collector 'uptime' doesn't exist on platform 'linux2'
"
DEBUG:zen.zencommand:Next command in 299.578775 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py disk /dev/shm data: 'DISK 
OK;|availBlocks=582892 usedBlocks=0 totalBlocks=582892'
DEBUG:zen.zencommand:Process zenplugin.py disk /dev/shm  stopped (0), 2.642517 
elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py disk /dev/shm" was 
"DISK OK;|availBlocks=582892 usedBlocks=0 totalBlocks=582892"
DEBUG:zen.zencommand:storing availBlocks = 582892.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/dev_shm/disk_availBlocks
DEBUG:zen.zencommand:rrd save result: 582892.0
DEBUG:zen.zencommand:storing usedBlocks = 0.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/dev_shm/disk_usedBlocks
DEBUG:zen.zencommand:rrd save result: 0.0
DEBUG:zen.zencommand:storing totalBlocks = 582892.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/dev_shm/disk_totalBlocks
DEBUG:zen.zencommand:rrd save result: 582892.0
DEBUG:zen.zencommand:Next command in 59.941792 seconds
DEBUG:zen.Events:Found device=zenoss-dev.ny.dds.net
DEBUG:zen.Events:lookup eventClassKey:defaultmapping
DEBUG:zen.Events:match on:/Events/Heartbeat/instances/defaultmapping
DEBUG:zen.Events:regex='-- MARK --' summary='collector 'intf' doesn't exist on 
platform 'linux2''
DEBUG:zen.Events:match on:/Events/Ignore/instances/defaultmapping
DEBUG:zen.Events:regex='message repeated \d+ times' summary='collector 'intf' 
doesn't exist on platform 'linux2''
DEBUG:zen.Events:match on:/Events/App/Stop/instances/defaultmapping
DEBUG:zen.Events:regex='(shutdown|stop).*succeeded' summary='collector 'intf' 
doesn't exist on platform 'linux2''
DEBUG:zen.Events:match on:/Events/App/Start/instances/defaultmapping
DEBUG:zen.Events:regex='start.*succeeded' summary='collector 'intf' doesn't 
exist on platform 'linux2''
DEBUG:zen.Events:match on:/Events/App/Reload/instances/defaultmapping
DEBUG:zen.Events:regex='\S+ -HUP succeeded' summary='collector 'intf' doesn't 
exist on platform 'linux2''
DEBUG:zen.Events:No EventClass matched
DEBUG:zen.Events:insert into status set 
Location='',prodState=1000,firstTime=1184945817.796,severity=3,component='',DeviceGroups='|',agent='zencommand',summary='collector
 \'intf\' doesn\'t exist on platform 
\'linux2\'',dedupid='zenoss-dev.ny.dds.net||/Perf/Interface|intf|3',manager='zenoss.ny.dds.net',DeviceClass='/Server/Linux/Remote',device='zenoss-dev.ny.dds.net',eventClass='/Perf/Interface',lastTime=1184945817.796,Systems='|',message='collector
 \'intf\' doesn\'t exist on platform 
\'linux2\'',eventKey='intf',evid='0a942fbc3592db99ffffffe' on duplicate key 
update prodState=1000,summary='collector \'intf\' doesn\'t exist on platform 
\'linux2\'',count=count+1,lastTime=1184945817.796: --> 2
DEBUG:zen.Events:select evid from status where 
dedupid="zenoss-dev.ny.dds.net||/Perf/Interface|intf|3": --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
DEBUG:zen.Events:Found device=zenoss-dev.ny.dds.net
DEBUG:zen.Events:EventClassInst=Events
DEBUG:zen.Events:insert into status set 
Location='',prodState=1000,firstTime=1184945818.503,severity=3,component='',DeviceGroups='|',agent='zencommand',summary='collector
 \'uptime\' doesn\'t exist on platform 
\'linux2\'',dedupid='zenoss-dev.ny.dds.net||/|uptime|3',manager='zenoss.ny.dds.net',DeviceClass='/Server/Linux/Remote',device='zenoss-dev.ny.dds.net',eventClass='/',lastTime=1184945818.503,Systems='|',message='collector
 \'uptime\' doesn\'t exist on platform 
\'linux2\'',eventKey='uptime',evid='0a942fbc3592db9affffffd' on duplicate key 
update prodState=1000,summary='collector \'uptime\' doesn\'t exist on platform 
\'linux2\'',count=count+1,lastTime=1184945818.503: --> 2
DEBUG:zen.Events:select evid from status where 
dedupid="zenoss-dev.ny.dds.net||/|uptime|3": --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py disk /dev data: 'DISK 
OK;|availBlocks=10196 usedBlocks=44 totalBlocks=10240'
DEBUG:zen.zencommand:Process zenplugin.py disk /dev  stopped (0), 3.455149 
elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py disk /dev" was "DISK 
OK;|availBlocks=10196 usedBlocks=44 totalBlocks=10240"
DEBUG:zen.zencommand:storing availBlocks = 10196.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/dev/disk_availBlocks
DEBUG:zen.zencommand:rrd save result: 10196.0
DEBUG:zen.zencommand:storing usedBlocks = 44.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/dev/disk_usedBlocks
DEBUG:zen.zencommand:rrd save result: 44.0
DEBUG:zen.zencommand:storing totalBlocks = 10240.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/dev/disk_totalBlocks
DEBUG:zen.zencommand:rrd save result: 10240.0
DEBUG:zen.zencommand:Next command in 59.133509 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py disk /var/lock data: 'DISK 
OK;|availBlocks=582892 usedBlocks=0 totalBlocks=582892'
DEBUG:zen.zencommand:Process zenplugin.py disk /var/lock  stopped (0), 3.511806 
elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py disk /var/lock" was 
"DISK OK;|availBlocks=582892 usedBlocks=0 totalBlocks=582892"
DEBUG:zen.zencommand:storing availBlocks = 582892.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/var_lock/disk_availBlocks
DEBUG:zen.zencommand:rrd save result: 582892.0
DEBUG:zen.zencommand:storing usedBlocks = 0.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/var_lock/disk_usedBlocks
DEBUG:zen.zencommand:rrd save result: 0.0
DEBUG:zen.zencommand:storing totalBlocks = 582892.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/var_lock/disk_totalBlocks
DEBUG:zen.zencommand:rrd save result: 582892.0
DEBUG:zen.zencommand:Next command in 59.090405 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py disk / data: 'DISK 
OK;|availBlocks=27450740 usedBlocks=4391268 totalBlocks=33546100'
DEBUG:zen.zencommand:Process zenplugin.py disk /  stopped (0), 3.557026 elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py disk /" was "DISK 
OK;|availBlocks=27450740 usedBlocks=4391268 totalBlocks=33546100"
DEBUG:zen.zencommand:storing availBlocks = 27450740.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/-/disk_availBlocks
DEBUG:zen.zencommand:rrd save result: 27450740.0
DEBUG:zen.zencommand:storing usedBlocks = 4391268.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/-/disk_usedBlocks
DEBUG:zen.zencommand:rrd save result: 4391268.0
DEBUG:zen.zencommand:storing totalBlocks = 33546100.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/-/disk_totalBlocks
DEBUG:zen.zencommand:rrd save result: 33546100.0
DEBUG:zen.zencommand:Next command in 59.027382 seconds
DEBUG:zen.SshClient:command /usr/bin/zenplugin.py disk /var/run data: 'DISK 
OK;|availBlocks=582840 usedBlocks=52 totalBlocks=582892'
DEBUG:zen.zencommand:Process zenplugin.py disk /var/run  stopped (0), 3.618609 
elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py disk /var/run" was 
"DISK OK;|availBlocks=582840 usedBlocks=52 totalBlocks=582892"
DEBUG:zen.zencommand:storing availBlocks = 582840.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/var_run/disk_availBlocks
DEBUG:zen.zencommand:rrd save result: 582840.0
DEBUG:zen.zencommand:storing usedBlocks = 52.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/var_run/disk_usedBlocks
DEBUG:zen.zencommand:rrd save result: 52.0
DEBUG:zen.zencommand:storing totalBlocks = 582892.0 in: 
/Devices/zenoss-dev.ny.dds.net/os/filesystems/var_run/disk_totalBlocks
DEBUG:zen.zencommand:rrd save result: 582892.0
INFO:zen.CmdClient:command client finished collection for zenoss-dev.ny.dds.net
DEBUG:zen.Events:EventClassInst=Stop
DEBUG:zen.Events:insert into status set 
firstTime=1184945818.761,severity=3,component='zencommand',agent='zencommand',summary='stopped',dedupid='zenoss.ny.dds.net|zencommand|/App/Stop||3|stopped',manager='zenoss.ny.dds.net',eventKey='',device='zenoss.ny.dds.net',eventClass='/App/Stop',lastTime=1184945818.761,message='stopped',evid='0a942fbc3592db9affffffc'
 on duplicate key update 
summary='stopped',count=count+1,lastTime=1184945818.761: --> 1

any idea how i can get it to create the rrd file and store the data to it?

for the line


DEBUG:zen.zencommand:Process zenplugin.py io  started
DEBUG:zen.zencommand:Process zenplugin.py io  stopped (0), 2.265784 elapsed
DEBUG:zen.zencommand:The result of "/usr/bin/zenplugin.py io" was "IO 
OK;|ssIORawSent=107139970 ssRawSwapIn=71 ssRawSwapOut=65 
ssIORawReceived=1872470720"
DEBUG:zen.zencommand:Next command in 299.936176 seconds

Thanks

------------------------
 Mike




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

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

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



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

Reply via email to