Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Esimerkki-konffaus HP Proliantin hardwarevikalogin (eli hardwarevikojen) saamiseksi komentorivilt� palvelimessa, jossa on asennettuna Compaq Insight Manager tai HP Insight Manager.
- Ohje:
- Logissa olevien rivien m��r� on ns. summatieto, josta tiet�� onko syyt� tarkistaa palvelimen vikatiedot tarkemmin.
- snmpwalk -v 2c -c jraa localhost 1.3.6.1.4.1.232.6.1.3
- Intergerin arvolla 2, j�rjestelm� on kunnossa eik� ole kuitattavia vikoja.
- kommentoi t�m�n konffin yl�puoliset konfiguroinnit, mik�li sama tiedosto sis�lt�� useamman esimerkin.
- L�hteet:
- - https://support.ipmonitor.com/mibs/CPQHLTH-MIB/item.aspx?id=cpqHeMibCondition
- cpqHeMibCondition 1.3.6.1.4.1.232.6.1.3
- iso . org . dod . internet . private . enterprises . compaq . cpqHealth . cpqHeMibRev . cpqHeMibCondition
- - http://www.tools4ever.com/products/monitormagic/features/server-monitoring/hardware-monitoring/hp-systems-insight-manager/
- Integrates with Compaq Insight Manager and HP Systems Insight Manager:
- Monitors the following SNMP get values:
- * cpqHeAsrCondition (This value specifies the overall condition of the ASR feature. (2=ok)) > 2
- * cpqHeCorrMemLogCondition (This value specifies the overall condition of the correctable memory error log feature. (2=ok)) > 2
- * cpqHeFltTolFanCondition (The condition of the fan. (2=ok)) > 2
- * cpqHeFltTolPwrSupplyCondition (This value specifies the overall condition of the fault tolerant power supply sub-system. (2=ok)) > 2
- * cpqHeMibCondition (The overall system health condition. (2=ok)) > 2
- * cpqHeTemperatureCelsius (This is the current temperature sensor reading in degrees.) > 50
- * cpqHeThermalCondition (This value specifies the overall condition of the system's thermal condition. (2=ok)) > 2
- * cpqHeThermalCpuFanStatus (The status of the processor fan(s) in the system. (2=ok)) > 2
- * cpqHeThermalFanStatus (The status of the fan(s) in the system. (2=ok)) > 2
- * cpqHeThermalTempStatus (The status of the system's temperature sensors. (2=ok)) > 2
- * cpqNicIfPhysAdapterCondition (The condition of this physical adapter (2=ok)) > 2
- * cpqNicMibCondition (This object represents the overall status of the network interface sub-system (2=ok)) > 2
- * cpqTapeLibraryCondition (Compaq Tape Library Status. (2=ok)) != 2
- * cpqTapePhyDrvCondition (Compaq Tape Physical Drive Cleaning Required Status. (2=true)) != 2
- Huom! tarkista tietoturva-asetukset ja etenkin snmp-arvojen kirjoitusoikeudet ennen konffin k�ytt�� tuotannossa!
- /etc/snmpd/snmpd.conf (pohjana rhel 5.x):
- # Following entries were added by HP Insight Management Agents at
- # Fri Oct 9 11:04:12 EEST 2009
- dlmod cmaX /usr/lib/libcmaX.so
- rwcommunity oxE5sEm7OxI 127.0.0.1
- syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
- syslocation Unknown (edit /etc/snmp/snmpd.conf)
- # ---------------------- END --------------------
- ###############################################################################
- # Sample configuration to make net-snmpd RFC 1213.
- # Unfortunately v1 and v2c don't allow any user based authentification, so
- # opening up the default config is not an option from a security point.
- #
- # WARNING: If you uncomment the following lines you allow write access to your
- # snmpd daemon from any source! To avoid this use different names for your
- # community or split out the write access to a different community and
- # restrict it to your local network.
- # otherwise they are still read only (see FAQ for net-snmp).
- #
- # First, map the community name "public" into a "security name"
- # sec.name source community
- com2sec user1 default jraa
- # Second, map the security name into a group name:
- # groupName securityModel securityName
- group temp v1 user1
- group temp v2c user1
- # Third, create a view for us to let the group have rights to:
- # Open up the whole tree for ro, make the RFC 1213 required ones rw.
- # name incl/excl subtree mask(optional)
- view roview included .1
- view rwview included system.sysContact
- view rwview included system.sysName
- view rwview included system.sysLocation
- view rwview included interfaces.ifTable.ifEntry.ifAdminStatus
- view rwview included at.atTable.atEntry.atPhysAddress
- view rwview included at.atTable.atEntry.atNetAddress
- view rwview included ip.ipForwarding
- view rwview included ip.ipDefaultTTL
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteDest
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteIfIndex
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric1
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric2
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric3
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric4
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteType
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteAge
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMask
- view rwview included ip.ipRouteTable.ipRouteEntry.ipRouteMetric5
- view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex
- view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress
- view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress
- view rwview included ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaType
- view rwview included tcp.tcpConnTable.tcpConnEntry.tcpConnState
- view rwview included egp.egpNeighTable.egpNeighEntry.egpNeighEventTrigger
- view rwview included snmp.snmpEnableAuthenTraps
- # Finally, grant the group read-only access to the systemview view.
- # group context sec.model sec.level prefix read write notif
- access temp "" any noauth exact roview rwview none
Add Comment
Please, Sign In to add comment