I have some devices that seem to have good Host Resource MIBs, a straight
snmpwalk looks normal, but Zenoss only reports the total sizes and not the free
or used space.
They list as "unkown" on the devices' status pages.
# snmpwalk -v1 -c public DEVICE hrStorage
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 4150152 KBytes
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8
HOST-RESOURCES-MIB::hrStorageIndex.10 = INTEGER: 10
HOST-RESOURCES-MIB::hrStorageIndex.31 = INTEGER: 31
HOST-RESOURCES-MIB::hrStorageIndex.32 = INTEGER: 32
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.3 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.8 = OID: HOST-RESOURCES-TYPES::hrStorageOther
HOST-RESOURCES-MIB::hrStorageType.10 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.31 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.32 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: Shared memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.32 = STRING: /home
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 1024 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.31 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.32 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 4150152
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 6254624
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 240688
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 366660
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 2104472
HOST-RESOURCES-MIB::hrStorageSize.31 = INTEGER: 3289072
HOST-RESOURCES-MIB::hrStorageSize.32 = INTEGER: 4803124
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 2869804
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 2886264
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 16460
HOST-RESOURCES-MIB::hrStorageUsed.31 = INTEGER: 1247609
HOST-RESOURCES-MIB::hrStorageUsed.32 = INTEGER: 258379
Following some other discussions here, I tried zenperfsnmp from the command
line, but I'm not sure how to interpret the errors.
# zenperfsnmp run -v 10 -d DEVICE
DEBUG:zen.zenperfsnmp:received config for DEVICE
DEBUG:zen.thresholds:Updating threshold ('CPU Utilization', ('DEVICE', ''))
DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('DEVICE',
'eth0'))
DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('DEVICE',
'lo'))
DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent', ('DEVICE',
'/home'))
DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent', ('DEVICE',
'/'))
DEBUG:zen.zenperfsnmp:run
DEBUG:zen.zenperfsnmp:Connecting to localhost
DEBUG:zen.zenperfsnmp:Logging in as admin
WARNING:zen.zenperfsnmp:Reconnected to ZenHub
DEBUG:zen.zenperfsnmp:setting up services EventService, SnmpPerfConfig
DEBUG:zen.zenperfsnmp:chaining getInitialServices with d2
DEBUG:zen.zenperfsnmp:callback after getting service EventService
DEBUG:zen.zenperfsnmp:callback after getting service SnmpPerfConfig
DEBUG:zen.zenperfsnmp:Calling connected.
DEBUG:zen.zenperfsnmp:connected
DEBUG:zen.zenperfsnmp:Sending event {'manager': 'localhost', 'severity': 0,
'device': 'DEVICE', 'eventClass': '/App/Start', 'component': 'zenperfsnmp',
'agent': 'zenperfsnmp', 'summary': 'started'}
INFO:zen.zenperfsnmp:fetching property items
DEBUG:zen.zenperfsnmp:Updated configCycleInterval config to 360
INFO:zen.zenperfsnmp:getting threshold classes
DEBUG:zen.zenperfsnmp:Loading classes ['Products.ZenModel.MinMaxThreshold']
INFO:zen.zenperfsnmp:checking for outdated configs
INFO:zen.zenperfsnmp:fetching configs for ['DEVICE']...
INFO:zen.zenperfsnmp:fetching default RRDCreateCommand
INFO:zen.zenperfsnmp:fetching snmp status
INFO:zen.zenperfsnmp:Initiating incremental device load
DEBUG:zen.zenperfsnmp:Fetching configs for 1 devices
DEBUG:zen.zenperfsnmp:Fetching config for ['DEVICE']
DEBUG:zen.zenperfsnmp:getting device ping issues
DEBUG:zen.zenperfsnmp:received config for DEVICE
DEBUG:zen.thresholds:Updating threshold ('CPU Utilization', ('DEVICE', ''))
DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('DEVICE',
'eth0'))
DEBUG:zen.thresholds:Updating threshold ('Utilization 75 perc', ('DEVICE',
'lo'))
DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent', ('DEVICE',
'/home'))
DEBUG:zen.thresholds:Updating threshold ('Free Space 90 Percent', ('DEVICE',
'/'))
DEBUG:zen.zenperfsnmp:Finished fetching configs for 1 devices
DEBUG:zen.zenperfsnmp:Gathering performance data for DEVICE
INFO:zen.zenperfsnmp:Configured 1 of 1 devices
DEBUG:zen.zenperfsnmp:unresponsive devices: [['OtherDEVICE', 1, 1948],
['DEVICE', 1, 1950]]
INFO:zen.zenperfsnmp:Count 0 good 0 bad 0 time 0.000020
INFO:zen.zenperfsnmp:sent 0 OID requests
INFO:zen.zenperfsnmp:collected 0 of 0 devices in 0.00
DEBUG:zen.zenperfsnmp:Sending event {'manager': 'localhost', 'severity': 3,
'device': 'DEVICE', 'eventClass': '/App/Stop', 'component': 'zenperfsnmp',
'agent': 'zenperfsnmp', 'summary': 'stopped'}
DEBUG:zen.zenperfsnmp:removing service EventService
DEBUG:zen.zenperfsnmp:removing service SnmpPerfConfig
INFO:zen.zenperfsnmp:zenperfsnmp shutting down
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=18314#18314
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users