hello
my os is dibian 6.0 ,exec sysprobe.py start error
/opt/inkscope/bin/sysprobe.py:151: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.partitions.update({"_id": hostname+":"+p.device}, {"$set": {"stat": DBRef("
partitionstat", partstat_id)}})
/opt/inkscope/bin/sysprobe.py:99: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.hosts.update({"_id": hostname}, {"$set": {"mem": DBRef("memstat", mem_id)}}
)
/opt/inkscope/bin/sysprobe.py:425: DeprecationWarning: insert is deprecated. Use
insert_one or insert_many instead.
disk_stat_id = db.diskstat.insert(diskstat)
/opt/inkscope/bin/sysprobe.py:426: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.disks.update({"_id": d["_id"]}, {"$set": {"stat": DBRef("diskstat", disk_st
at_id)}})
hello
my os is dibian 6.0 ,exec sysprobe.py start error
/opt/inkscope/bin/sysprobe.py:151: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.partitions.update({"_id": hostname+":"+p.device}, {"$set": {"stat": DBRef("
partitionstat", partstat_id)}})
/opt/inkscope/bin/sysprobe.py:99: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.hosts.update({"_id": hostname}, {"$set": {"mem": DBRef("memstat", mem_id)}}
)
/opt/inkscope/bin/sysprobe.py:425: DeprecationWarning: insert is deprecated. Use
insert_one or insert_many instead.
disk_stat_id = db.diskstat.insert(diskstat)
/opt/inkscope/bin/sysprobe.py:426: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.disks.update({"_id": d["_id"]}, {"$set": {"stat": DBRef("diskstat", disk_st
at_id)}})