AnsweredAssumed Answered

Lua - using nimbus.request()

Question asked by swright on Apr 13, 2010
Latest reply on Apr 22, 2010 by MattGruber

I'm trying to list the status of a probe using nimbus.request., but I get nothing retrurned.  What am I doing wrong?  I know this should return one table.

 

mypds = pds.create()
pds.putString (mypds,"name", "logmon")
pds.putString (mypds,"robot", "isp998")
result,rc=nimbus.request("/Enterprise/MONIMBUSP3/isp998", "probe_list",mypds)

for i=1, #result do
  if result ~= nil then  
    data = result[i]
    print(data.active)
  end

end

pds.delete(mypds)

Outcomes