Server Management - Systems Insight Manager
1752565 Members
5744 Online
108788 Solutions
New Discussion

Discovery of Debian 6 Server

 
catastro_gen
Frequent Advisor

Discovery of Debian 6 Server

I have a Proliant DL320 G3 running Debian 6 Linux.  I am having some issues with getting the SIM discovery working correctly through SNMP.  I have loaded on the server these packages through these repository URL (aded to the /etc/apt/sources.list.d/mcp.list file) :

 

hp-health                          8.7.0.1.2-3
hp-smh-templates         8.7.0.1.4-4
hp-snmp-agents             8.7.0.1.7-8
hpacucli                             8.70-8.0.2-2
hponcfg                             3.1.1.0.2-2
hpsmh                               6.0.0-97

cpqacuxe                          8.70-9.0.7-8

 

All of these packages were installed so that I could get the SNMP portion of System Management Homepage (SMH) up and operational. The SMH is working fine (it responds to the HTTP requests through 2301 and 2381 ports).  But when I start the discovery process of the system in the SIM CMS, I get the following errors (the Management Processor was discovered previously in the SIM CMS). See the file discovery.txt

 

I run the "snmpwalk -v[1|2c] -c mycommunity myserver:161 .1.3.6.1.2.1.1.1" command (for both versions) and I get the expected result: RFC1213-MIB::sysDescr.0 = STRING: "Linux myserver 2.6.32-5-686-bigmem #1 SMP Mon Sep 23 23:38:27 UTC 2013 i686".

 

But when I try the "snmpwalk -v[1|2c] -c mycommunity myserver:161 .1.3.6.1.4.1.232.2.1.2.1" command (for both versions) I get that there is no Objects available for this OID (CPQHOST-MIB::compaq.2.1.2.1 = No Such Instance currently exists at this OID). That MIB number is supposed to be inside the SNMP tree for Compaq (here you can see the SNMP tree).

 

root@myserver:/etc/snmp# snmptranslate -Tp
+--iso(1)
   |
   +--org(3)
      |
      +--dod(6)
         |
         +--internet(1)
            |
            +--directory(1)
            |
            +--mgmt(2)
            |  |
            |  +--mib-2(1)
            |     |
    ..............................
    ..............................
    ..............................
            |
            +--experimental(3)
            |
            +--private(4)
               |
               +--enterprises(1)
                  |
                  +--compaq(232)
                     |
                     +--compaq#(0)
                     |  +--cpqHoGenericTrap(11001)
                     |  +--cpqHoAppErrorTrap(11002)
                     |  +--cpqHo2GenericTrap(11003)
                     |  +--cpqHo2AppErrorTrap(11004)
                     |  +--cpqHo2NicStatusOk(11005)
                     |  +--cpqHo2NicStatusFailed(11006)
                     |  +--cpqHo2NicSwitchoverOccurred(11007)
                     |  +--cpqHo2NicStatusOk2(11008)
                     |  +--cpqHo2NicStatusFailed2(11009)
                     |  +--cpqHo2NicSwitchoverOccurred2(11010)
                     |  +--cpqHoProcessEventTrap(11011)
                     |  +--cpqHoProcessCountWarning(11012)
                     |  +--cpqHoProcessCountNormal(11013)
                     |  +--cpqHoCriticalSoftwareUpdateTrap(11014)
                     |  +--cpqHoCrashDumpNotEnabledTrap(11015)
                     |  +--cpqHoBootPagingFileTooSmallTrap(11016)
                     |  +--cpqHoSWRunningStatusChangeTrap(11017)
                     |  +--cpqHo2PowerThresholdTrap(11018)
                     |  +--cpqHoBootPagingFileOrFreeSpaceTooSmallTrap(11019)
                     |  +--cpqHoMibHealthStatusArrayChangeTrap(11020)
                     |
                     +--cpqHostOs(11)
                        |
                        +--cpqHoMibRev(1)
                        |  |
                        |  +-- -R-- INTEGER   cpqHoMibRevMajor(1)
                        |  |        Range: 1..65535
                        |  +-- -R-- INTEGER   cpqHoMibRevMinor(2)
                        |  |        Range: 0..65535
                        |  +-- -R-- EnumVal   cpqHoMibCondition(3)
                        |           Values: unknown(1), ok(2), degraded(3), failed(4)
                        |
                        +--cpqHoComponent(2)
                           |
                           +--cpqHoInterface(1)
                           |  |
                           |  +--cpqHoOsCommon(4)
                           |     |
                           |     +-- -RW- INTEGER   cpqHoOsCommonPollFreq(1)
                           |     |        Range: 0..65535
                           |     |
                           |     +--cpqHoOsCommonModuleTable(2)
                           |        |
                           |        +--cpqHoOsCommonModuleEntry(1)
                           |           |  Index: cpqHoOsCommonModuleIndex
                           |           |
                           |           +-- -R-- INTEGER   cpqHoOsCommonModuleIndex(1)
                           |           |        Range: 0..255
                           |           +-- -R-- String    cpqHoOsCommonModuleName(2)
                           |           |        Textual Convention: DisplayString
                           |           |        Size: 0..255
                           |           +-- -R-- String    cpqHoOsCommonModuleVersion(3)
                           |           |        Textual Convention: DisplayString
                           |           |        Size: 0..5
                           |           +-- -R-- String    cpqHoOsCommonModuleDate(4)
                           |           |        Size: 7
                           |           +-- -R-- String    cpqHoOsCommonModulePurpose(5)
                           |                    Textual Convention: DisplayString
                           |                    Size: 0..255
                           |
                           +--cpqHoInfo(2)
                           |  |
                           |  +-- -R-- String    cpqHoName(1)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..255
                           |  +-- -R-- String    cpqHoVersion(2)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..255
                           |  +-- -R-- String    cpqHoDesc(3)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..255
                           |  +-- -R-- EnumVal   cpqHoOsType(4)
                           |  |        Values: other(1), netware(2), windowsnt(3), sco-unix(4), unixware(5), os-2(6), ms-dos(7), dos-windows(8), windows95(9), windows98(10), open-vms(11), nsk(12), windowsCE(13), linux(14), windows2000(15), tru64UNIX(16), windows2003(17), windows2003-x64(18), solaris(19), windows2003-ia64(20), windows2008(21), windows2008-x64(22), windows2008-ia64(23), vmware-esx(24), vmware-esxi(25), windows2012(26)
                           |  +-- -R-- EnumVal   cpqHoTelnet(5)
                           |  |        Values: other(1), available(2), notavailable(3)
                           |  +-- -RW- String    cpqHoSystemRole(6)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..64
                           |  +-- -RW- String    cpqHoSystemRoleDetail(7)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..512
                           |  +-- -R-- EnumVal   cpqHoCrashDumpState(8)
                           |  |        Values: completememorydump(1), kernelmemorydump(2), smallmemorydump(3), none(4)
                           |  +-- -R-- EnumVal   cpqHoCrashDumpCondition(9)
                           |  |        Values: other(1), ok(2), degraded(3), failed(4)
                           |  +-- -RW- EnumVal   cpqHoCrashDumpMonitoring(10)
                           |  |        Values: enabled(1), disabled(2)
                           |  +-- -R-- INTEGER   cpqHoMaxLogicalCPUSupported(11)
                           |  |        Range: 0..65535
                           |  +-- -R-- String    cpqHoSystemName(12)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..255
                           |  +-- -R-- String    cpqHosysDescr(13)
                           |           Textual Convention: DisplayString
                           |           Size: 0..255
                           |
                           +--cpqHoUtil(3)
                           |  |
                           |  +--cpqHoCpuUtilTable(1)
                           |     |
                           |     +--cpqHoCpuUtilEntry(1)
                           |        |  Index: cpqHoCpuUtilUnitIndex
                           |        |
                           |        +-- -R-- INTEGER   cpqHoCpuUtilUnitIndex(1)
                           |        |        Range: 0..65535
                           |        +-- -R-- INTEGER   cpqHoCpuUtilMin(2)
                           |        +-- -R-- INTEGER   cpqHoCpuUtilFiveMin(3)
                           |        +-- -R-- INTEGER   cpqHoCpuUtilThirtyMin(4)
                           |        +-- -R-- INTEGER   cpqHoCpuUtilHour(5)
                           |        +-- -R-- String    cpqHoCpuUtilHwLocation(6)
                           |                 Textual Convention: DisplayString
                           |                 Size: 0..255
                           |
                           +--cpqHoFileSys(4)
                           |  |
                           |  +--cpqHoFileSysTable(1)
                           |  |  |
                           |  |  +--cpqHoFileSysEntry(1)
                           |  |     |  Index: cpqHoFileSysIndex
                           |  |     |
                           |  |     +-- -R-- INTEGER   cpqHoFileSysIndex(1)
                           |  |     |        Range: 0..65535
                           |  |     +-- -R-- String    cpqHoFileSysDesc(2)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..255
                           |  |     +-- -R-- INTEGER   cpqHoFileSysSpaceTotal(3)
                           |  |     +-- -R-- INTEGER   cpqHoFileSysSpaceUsed(4)
                           |  |     +-- -R-- INTEGER   cpqHoFileSysPercentSpaceUsed(5)
                           |  |     +-- -R-- INTEGER   cpqHoFileSysAllocUnitsTotal(6)
                           |  |     +-- -R-- INTEGER   cpqHoFileSysAllocUnitsUsed(7)
                           |  |     +-- -R-- EnumVal   cpqHoFileSysStatus(8)
                           |  |     |        Values: unknown(1), ok(2), degraded(3), failed(4)
                           |  |     +-- -R-- String    cpqHoFileSysShortDesc(9)
                           |  |              Textual Convention: DisplayString
                           |  |              Size: 0..255
                           |  |
                           |  +-- -R-- EnumVal   cpqHoFileSysCondition(2)
                           |           Values: unknown(1), ok(2), degraded(3), failed(4)
                           |
                           +--cpqHoIfPhysMap(5)
                           |  |
                           |  +--cpqHoIfPhysMapTable(1)
                           |  |  |
                           |  |  +--cpqHoIfPhysMapEntry(1)
                           |  |     |  Index: cpqHoIfPhysMapIndex
                           |  |     |
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapIndex(1)
                           |  |     |        Range: 0..65535
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapSlot(2)
                           |  |     |        Range: 0..255
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapIoBaseAddr(3)
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapIrq(4)
                           |  |     |        Range: 0..255
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapDma(5)
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapMemBaseAddr(6)
                           |  |     +-- -R-- INTEGER   cpqHoIfPhysMapPort(7)
                           |  |     +-- -R-- EnumVal   cpqHoIfPhysMapDuplexState(8)
                           |  |     |        Values: other(1), half(2), full(3)
                           |  |     +-- -R-- EnumVal   cpqHoIfPhysMapCondition(9)
                           |  |              Values: other(1), ok(2), degraded(3), failed(4)
                           |  |
                           |  +-- -R-- EnumVal   cpqHoIfPhysMapOverallCondition(2)
                           |           Values: other(1), ok(2), degraded(3), failed(4)
                           |
                           +--cpqHoSWRunning(6)
                           |  |
                           |  +--cpqHoSWRunningTable(1)
                           |  |  |
                           |  |  +--cpqHoSWRunningEntry(1)
                           |  |     |  Index: cpqHoSWRunningIndex
                           |  |     |
                           |  |     +-- -R-- INTEGER   cpqHoSWRunningIndex(1)
                           |  |     |        Range: 0..65535
                           |  |     +-- -R-- String    cpqHoSWRunningName(2)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..255
                           |  |     +-- -R-- String    cpqHoSWRunningDesc(3)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..255
                           |  |     +-- -R-- String    cpqHoSWRunningVersion(4)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..255
                           |  |     +-- -R-- String    cpqHoSWRunningDate(5)
                           |  |     |        Size: 7
                           |  |     +-- -R-- EnumVal   cpqHoSWRunningMonitor(6)
                           |  |     |        Values: other(1), start(2), stop(3), startAndStop(4), count(5), startAndCount(6), countAndStop(7), startCountAndStop(8)
                           |  |     +-- -R-- EnumVal   cpqHoSWRunningState(7)
                           |  |     |        Values: other(1), started(2), stopped(3)
                           |  |     +-- -R-- INTEGER   cpqHoSWRunningCount(8)
                           |  |     |        Range: 0..65535
                           |  |     +-- -RW- INTEGER   cpqHoSWRunningCountMin(9)
                           |  |     |        Range: 0..65535
                           |  |     +-- -RW- INTEGER   cpqHoSWRunningCountMax(10)
                           |  |     |        Range: 0..65535
                           |  |     +-- -R-- String    cpqHoSWRunningEventTime(11)
                           |  |     |        Size: 7
                           |  |     +-- -R-- EnumVal   cpqHoSWRunningStatus(12)
                           |  |     |        Values: unknown(1), normal(2), warning(3), minor(4), major(5), critical(6), disabled(7)
                           |  |     +-- -R-- EnumVal   cpqHoSWRunningConfigStatus(13)
                           |  |     |        Values: unknown(1), starting(2), initialized(3), configured(4), operational(5)
                           |  |     +-- -R-- String    cpqHoSWRunningIdentifier(14)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..255
                           |  |     +-- -R-- EnumVal   cpqHoSWRunningRedundancyMode(15)
                           |  |              Values: unknown(1), master(2), backup(3), slave(4)
                           |  |
                           |  +-- -R-- String    cpqHoSwRunningTrapDesc(2)
                           |           Textual Convention: DisplayString
                           |           Size: 0..255
                           |
                           +--cpqHoSwVer(7)
                           |  |
                           |  +-- -R-- INTEGER   cpqHoSwVerNextIndex(1)
                           |  |
                           |  +--cpqHoSwVerTable(2)
                           |  |  |
                           |  |  +--cpqHoSwVerEntry(1)
                           |  |     |  Index: cpqHoSwVerIndex
                           |  |     |
                           |  |     +-- -R-- INTEGER   cpqHoSwVerIndex(1)
                           |  |     |        Range: 0..65535
                           |  |     +-- -R-- EnumVal   cpqHoSwVerStatus(2)
                           |  |     |        Values: other(1), loaded(2), notloaded(3)
                           |  |     +-- -RW- EnumVal   cpqHoSwVerType(3)
                           |  |     |        Values: other(1), driver(2), agent(3), sysutil(4), application(5), keyfile(6)
                           |  |     +-- -RW- String    cpqHoSwVerName(4)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..127
                           |  |     +-- -RW- String    cpqHoSwVerDescription(5)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..127
                           |  |     +-- -R-- String    cpqHoSwVerDate(6)
                           |  |     |        Size: 7
                           |  |     +-- -RW- String    cpqHoSwVerLocation(7)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..255
                           |  |     +-- -R-- String    cpqHoSwVerVersion(8)
                           |  |     |        Textual Convention: DisplayString
                           |  |     |        Size: 0..50
                           |  |     +-- -R-- String    cpqHoSwVerVersionBinary(9)
                           |  |              Textual Convention: DisplayString
                           |  |              Size: 0..50
                           |  |
                           |  +-- -R-- String    cpqHoSwVerAgentsVer(3)
                           |           Textual Convention: DisplayString
                           |           Size: 0..50
                           |
                           +--cpqHoGeneric(8)
                           |  |
                           |  +-- -RW- String    cpqHoGenericData(1)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..254
                           |  +-- -RW- String    cpqHoCriticalSoftwareUpdateData(2)
                           |           Textual Convention: DisplayString
                           |           Size: 0..512
                           |
                           +--cpqHoSwPerf(9)
                           |  |
                           |  +-- -R-- String    cpqHoSwPerfAppErrorDesc(1)
                           |           Textual Convention: DisplayString
                           |           Size: 0..254
                           |
                           +--cpqHoSystemStatus(10)
                           |  |
                           |  +-- -R-- String    cpqHoMibStatusArray(1)
                           |  |        Size: 4..256
                           |  +-- -R-- String    cpqHoConfigChangedDate(2)
                           |  |        Size: 7
                           |  +-- -RW- String    cpqHoGUID(3)
                           |  |        Size: 16..17
                           |  +-- -R-- INTEGER   cpqHoCodeServer(4)
                           |  +-- -R-- INTEGER   cpqHoWebMgmtPort(5)
                           |  +-- -RW- String    cpqHoGUIDCanonical(6)
                           |  |        Size: 32..36
                           |  +-- -R-- String    cpqHoMibHealthStatusArray(7)
                           |           Size: 1..256
                           |
                           +--cpqHoTrapInfo(11)
                           |  |
                           |  +-- -R-- INTEGER   cpqHoTrapFlags(1)
                           |
                           +--cpqHoClients(12)
                           |  |
                           |  +-- -R-- String    cpqHoClientLastModified(1)
                           |  |        Size: 7
                           |  +-- -RW- String    cpqHoClientDelete(2)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..15
                           |  |
                           |  +--cpqHoClientTable(3)
                           |     |
                           |     +--cpqHoClientEntry(1)
                           |        |  Index: cpqHoClientIndex
                           |        |
                           |        +-- -R-- INTEGER   cpqHoClientIndex(1)
                           |        |        Range: 0..65535
                           |        +-- -R-- String    cpqHoClientName(2)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..15
                           |        +-- -R-- String    cpqHoClientIpxAddress(3)
                           |        |        Size: 20
                           |        +-- -R-- IpAddr    cpqHoClientIpAddress(4)
                           |        +-- -R-- String    cpqHoClientCommunity(5)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..48
                           |        +-- -R-- String    cpqHoClientID(6)
                           |                 Size: 16
                           |
                           +--cpqHoMemory(13)
                           |  |
                           |  +-- -R-- INTEGER   cpqHoPhysicalMemorySize(1)
                           |  +-- -R-- INTEGER   cpqHoPhysicalMemoryFree(2)
                           |  +-- -R-- INTEGER   cpqHoPagingMemorySize(3)
                           |  +-- -R-- INTEGER   cpqHoPagingMemoryFree(4)
                           |  +-- -R-- String    cpqHoBootPagingFileSize(5)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..10
                           |  +-- -R-- String    cpqHoBootPagingFileMinimumSize(6)
                           |  |        Textual Convention: DisplayString
                           |  |        Size: 0..10
                           |  +-- -R-- String    cpqHoBootPagingFileVolumeFreeSpace(7)
                           |           Textual Convention: DisplayString
                           |           Size: 0..10
                           |
                           +--cpqHoFwVer(14)
                           |  |
                           |  +--cpqHoFwVerTable(1)
                           |     |
                           |     +--cpqHoFwVerEntry(1)
                           |        |  Index: cpqHoFwVerIndex
                           |        |
                           |        +-- -R-- INTEGER   cpqHoFwVerIndex(1)
                           |        +-- -R-- EnumVal   cpqHoFwVerCategory(2)
                           |        |        Values: other(1), storage(2), nic(3), rib(4), system(5)
                           |        +-- -R-- EnumVal   cpqHoFwVerDeviceType(3)
                           |        |        Values: other(1), internalArrayController(2), fibreArrayController(3), scsiController(4), fibreChannelTapeController(5), modularDataRouter(6), ideCdRomDrive(7), ideDiskDrive(8), scsiCdRom-ScsiAttached(9), scsiDiskDrive-ScsiAttached(10), scsiTapeDrive-ScsiAttached(11), scsiTapeLibrary-ScsiAttached(12), scsiDiskDrive-ArrayAttached(13), scsiTapeDrive-ArrayAttached(14), scsiTapeLibrary-ArrayAttached(15), scsiDiskDrive-FibreAttached(16), scsiTapeDrive-FibreAttached(17), scsiTapeLibrary-FibreAttached(18), scsiEnclosureBackplaneRom-ScsiAttached(19), scsiEnclosureBackplaneRom-ArrayAttached(20), scsiEnclosureBackplaneRom-FibreAttached(21), scsiEnclosureBackplaneRom-ra4x00(22), systemRom(23), networkInterfaceController(24), remoteInsightBoard(25)
                           |        +-- -R-- String    cpqHoFwVerDisplayName(4)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..127
                           |        +-- -R-- String    cpqHoFwVerVersion(5)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..31
                           |        +-- -R-- String    cpqHoFwVerLocation(6)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..255
                           |        +-- -R-- String    cpqHoFwVerXmlString(7)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..255
                           |        +-- -R-- String    cpqHoFwVerKeyString(8)
                           |        |        Textual Convention: DisplayString
                           |        |        Size: 0..127
                           |        +-- -R-- EnumVal   cpqHoFwVerUpdateMethod(9)
                           |                 Values: other(1), noUpdate(2), softwareflash(3), replacePhysicalRom(4)
                           |
                           +--cpqHoHWInfo(15)
                           |  |
                           |  +-- -R-- EnumVal   cpqHoHWInfoPlatform(1)
                           |           Values: unknown(1), cellular(2), foundation(3), virtualMachine(4), serverBlade(5)
                           |
                           +--cpqPwrThreshold(16)
                              |
                              +-- -RW- String    cpqPwrWarnType(1)
                              |        Textual Convention: DisplayString
                              |        Size: 0..254
                              +-- -RW- INTEGER   cpqPwrWarnThreshold(2)
                              +-- -RW- INTEGER   cpqPwrWarnDuration(3)
                              +-- -RW- String    cpqSerialNum(4)
                              |        Textual Convention: DisplayString
                              |        Size: 0..254
                              +-- -RW- String    cpqServerUUID(5)
                                       Textual Convention: DisplayString
                                       Size: 0..254

 

Any advice or clue on how to solve this??? I have to say that I have some other proliant servers running RedHat and send informtaion to the SIM CMS through SNMP without any problem at all.

Thanks!!!

1 REPLY 1
catastro_gen
Frequent Advisor

Re: Discovery of Debian 6 Server

I just upgraded my Linux Debian server to release 7.2, and it seems that the insight agents for debian are only for the squeeze version (6.X) and not the wheezy (7.X) one.

For installing the packages, it needs the squeezy repositories, except for the hponcfg package.

The hpasm is able to get more information now than in the previous version of Debian (like the serial number and going into the IML), but I did not try the snmp, as the hp-snmp-agents depends on the package libperl 6.10 (if I remember correctly), and the wheezy version has the libperl 6.14.