简体   繁体   English

Zenoss-文件系统利用率显示“未知”

[英]Zenoss - file systems utilization showing “Unknown”

All of a sudden, I've noticed that all devices are showing "Unknown", under Components - File Systems - %Util column. 突然之间,我注意到所有设备在“ 组件 ”“ 文件系统 ”“ %Util”列下均显示“未知”。

I've tried modeling the device, but that doesn't resolve the issue. 我已经尝试对设备进行建模,但这不能解决问题。 I found that deleting and re-adding the device does solve the issue, but I'd like to know if anyone else experienced this issue and if there is a better way of correcting the issue, without deleting and re-adding the device. 我发现删除并重新添加设备确实可以解决问题,但是我想知道是否其他任何人都遇到了此问题,以及是否有解决此问题的更好方法,而无需删除并重新添加设备。

Using zenoss-4.2.3-1695.el6.x86_64 . 使用zenoss-4.2.3-1695.el6.x86_64

Thank you in advance. 先感谢您。

ZenModel/FileSystem.py: ZenModel / FileSystem.py:

def capacity(self):
    """
    Return the percentage capacity of a filesystems using its rrd file.
    Calculate using available blocks instead used blocks to account for
    reserved blocks.
    """
    __pychecker__='no-returnvalues'
    totalBlocks = self.getTotalBlocks()
    availBlocks = self.availBlocks()
    if totalBlocks and availBlocks is not None:
        return round(100.0 * (totalBlocks - availBlocks) / totalBlocks)
    return 'unknown

=> totalBlocks or availBlocks is None in your case. => totalBlocksavailBlocks在您的情况下为None。 Check which one and then investigate why (for example: zenperfsnmp run -d -v 10)? 检查哪一个,然后调查原因(例如:zenperfsnmp run -d -v 10)?

I see this if for some reason the connection is broken during a perfomanace data collection. 如果由于某些原因在性能数据收集期间连接断开,我会看到此消息。 To get back the correct values you have to (re)model the device and wait until the next performance data will be collected (normally 5min.) Observed this only against devices which are monitored via SNMP. 要获取正确的值,您必须对设备进行(重新)建模,然后等待直到收集下一个性能数据(通常为5分钟)。仅针对通过SNMP监控的设备进行观察。 //Arthur //阿瑟

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM