You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(venv) root@pc7:/ops/tools/idc_ping_monitor-master# python collection_to_prometheus.py
Traceback (most recent call last):
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 73, in
(lost_package_num , rrt) = getMonitorData(os.path.join(paras['data_dir'] , ISP , filename))
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 61, in getMonitorData
lost_package_num = int(results[2][0][1])
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
(venv) root@pc7:/ops/tools/idc_ping_monitor-master# python3 collection_to_prometheus.py
Traceback (most recent call last):
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 73, in
(lost_package_num , rrt) = getMonitorData(os.path.join(paras['data_dir'] , ISP , filename))
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 61, in getMonitorData
lost_package_num = int(results[2][0][1])
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
(venv) root@pc7:~/ops/tools/idc_ping_monitor-master# vim collection_to_prometheus.py
The text was updated successfully, but these errors were encountered:
(venv) root@pc7:
/ops/tools/idc_ping_monitor-master# python collection_to_prometheus.py/ops/tools/idc_ping_monitor-master# python3 collection_to_prometheus.pyTraceback (most recent call last):
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 73, in
(lost_package_num , rrt) = getMonitorData(os.path.join(paras['data_dir'] , ISP , filename))
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 61, in getMonitorData
lost_package_num = int(results[2][0][1])
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
(venv) root@pc7:
Traceback (most recent call last):
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 73, in
(lost_package_num , rrt) = getMonitorData(os.path.join(paras['data_dir'] , ISP , filename))
File "/root/ops/tools/idc_ping_monitor-master/collection_to_prometheus.py", line 61, in getMonitorData
lost_package_num = int(results[2][0][1])
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
(venv) root@pc7:~/ops/tools/idc_ping_monitor-master# vim collection_to_prometheus.py
The text was updated successfully, but these errors were encountered: