o HOST-RESOURCES-MIB
CMD[/usr/bin/snmpbulkwalk -t '1' -r '5' -v2c -c *** -Pud -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pbx4.as06.bomlafjord':'161' hrStorageEntry]
CMD EXITCODE[0]
CMD RUNTIME[0.0199s]
STDOUT[
hrStorageIndex.1 = 1
hrStorageType.1 = hrStorageRam
hrStorageDescr.1 = RAM
hrStorageAllocationUnits.1 = 1024
hrStorageSize.1 = 524288
hrStorageUsed.1 = 129559
hrStorageAllocationFailures.1 = 0
]
SNMP STATUS[TRUE]
8 -> 1, HOST-RESOURCES-MIB::, RAM, 1024, 524288, 129559
SQL[SELECT * FROM `mempools` WHERE `device_id` = '8' AND `mempool_index` = '1' AND `mempool_mib` = 'HOST-RESOURCES-MIB']
SQL RUNTIME[0.00076509s]
LCOS-MIB
CMD[/usr/bin/snmpget -t '1' -r '5' -v2c -c *** -Pud -OQUv -m LCOS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/lancom 'udp':'pbx4.as06.bomlafjord':'161' lcsStatusHardwareInfoTotalMemoryKbytes.0]
CMD EXITCODE[0]
CMD RUNTIME[0.0824s]
STDOUT[
524288
]
SNMP STATUS[TRUE]
CMD[/usr/bin/snmpget -t '1' -r '5' -v2c -c *** -Pud -OQUv -m LCOS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/lancom 'udp':'pbx4.as06.bomlafjord':'161' lcsStatusHardwareInfoFreeMemoryKbytes.0]
CMD EXITCODE[0]
CMD RUNTIME[0.0832s]
STDOUT[
394738
]
SNMP STATUS[TRUE]
8 -> 0, LCOS-MIB::memoryStatus, Memory, 1024, 536870912, 132659200
SQL[SELECT * FROM `mempools` WHERE `device_id` = '8' AND `mempool_index` = '0' AND `mempool_mib` = 'LCOS-MIB']
SQL RUNTIME[0.00075793s]
SQL[SELECT * FROM `mempools` WHERE `device_id` = '8']
SQL RUNTIME[0.00037003s]
1 -> HOST-RESOURCES-MIB
0 -> LCOS-MIB
Torstein Eide wrote on 24.01.2020 14:32:not understand what you mean..Hi MikeThe "lcsStatusHardwareInfoCpuLoad300sPercent.0" and lcsStatusHardwareInfo* memory" should be removed, or we get duplicate entries.
How can CPU and Memory duplicate each other?As I see in svn trunk, this state already excluded.I have change the event type for "0".$type = 'lcsStatusVcCllMngrLinesEntryRegStatus';
-$config['mibs'][$mib]['states'][$type][0] = array('name' => 'eNotPossible', 'event' => 'ignore');
+$config['mibs'][$mib]['states'][$type][0] = array('name' => 'eNotPossible', 'event' => 'exclude');I have add support for phoneusers.I have add support for LACOM-1723-MIB, simlare to the LCOS.Se attached file.fre. 15. nov. 2019 kl. 14:23 skrev Mike Stupalov <mike@observium.org>:Hi,
use latest revision,
I just added this statuses in r10173.
Torstein Eide via observium wrote on 15/11/2019 12:08:HiI like to add support for lcsStatusVcCllMngrLinesEntry, in LCOS-MIB.But i can't find any doc on how to add it.Can some point me to where i can read about what i need?I have found some example, like what is done in "apc.inc.php", but it does not contain any description.LcsStatusVcCllMngrLinesEntry ::= SEQUENCE {
lcsStatusVcCllMngrLinesEntryIndex Integer32,
lcsStatusVcCllMngrLinesEntryName DisplayString,
lcsStatusVcCllMngrLinesEntryType INTEGER,
lcsStatusVcCllMngrLinesEntryRegStatus INTEGER,
lcsStatusVcCllMngrLinesEntryLineStatus INTEGER,
lcsStatusVcCllMngrLinesEntryQuality INTEGER,
lcsStatusVcCllMngrLinesEntryNumber DisplayString,
lcsStatusVcCllMngrLinesEntryDomain DisplayString,
lcsStatusVcCllMngrLinesEntryRegState INTEGER,
lcsStatusVcCllMngrLinesEntryInccallrecv Integer32,
lcsStatusVcCllMngrLinesEntryInccallansw Integer32,
lcsStatusVcCllMngrLinesEntryInccallconn Integer32,
lcsStatusVcCllMngrLinesEntryInccallfail Integer32,
lcsStatusVcCllMngrLinesEntryOutcallattm Integer32,
lcsStatusVcCllMngrLinesEntryOutcallansw Integer32,
lcsStatusVcCllMngrLinesEntryOutcallconn Integer32,
lcsStatusVcCllMngrLinesEntryOutcallfail Integer32,
lcsStatusVcCllMngrLinesEntryRemoteIpAddress DisplayString
}--Torstein Eide
Torsteine@gmail.com_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium--Torstein Eide
Torsteine@gmail.com