# ./check_ceph_mds --name ceph-mds0 --filesystem fs
Traceback (most recent call last):
File "./check_ceph_mds", line 184, in <module>
sys.exit(main())
File "./check_ceph_mds", line 103, in main
return check_target_mds(mds_stat, args.filesystem, args.name)
File "./check_ceph_mds", line 118, in check_target_mds
for mds in active_mdss:
TypeError: 'NoneType' object is not iterable
after:
# ./check_ceph_mds --name ceph-mds0 --filesystem fs
MDS ERROR: FS 'fs' is not found in fsmap
This PR fix #41
before:
after:
Because my fs name is not
fs