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

Re: SMH data source blank - Linux

 
BFontana
Occasional Visitor

SMH data source blank - Linux

I have a DL360 G5 server that I'm trying to setup SMH on. I seem to have found a common problem where the data source is blank and the management processor is unknown. I'm running RHEL6 on this server.

 

rpm -qa | grep hp

hpacucli-9.40-12.0.x86_64

hpsmh-7.2.2-8.x86_64

hp-health-9.40-1602.44.rhel6.x86_64

hp-snmp-agents-9.40-2506.37.rhel6.x86_64

hpdiags-9.5.0-938.x86_64

hpadu-9.40-12.0.x86_64

 

Supposedly, I should be able to choose between SNMP and WBEM but neither choice is available. According to the link below, it is because I do not have a data source installed. How would I install this? I ran the hpSMHSetup.pl script to setup SMH and there was no mention of a data source. I also ran the hpsnmpconfig script that adds to the top of the snmpd.conf file. Does anyone have any ideas about what I'm missing? Please be kind. I am a beginner.

 

http://h20628.www2.hp.com/km-ext/content-webapp/document?docId=emr_na-c03783196&dtd=default&locale=en&details=no

2 REPLIES 2
Andrew_Haak
Honored Contributor

Re: SMH data source blank - Linux

Hello there,

 

When you use Linux you should only use the SNMP dataprovider, that's the most stable dataprovider.

Most people use netsnmp. Sample how your snmpd.conf could look :

 

# First, map the community name "public" into a "security name"

#       sec.name  source          community
com2sec localRO         127.0.0.1       public
com2sec localRW         127.0.0.1       private
com2sec hpsim_ro       YOUR_IP  public


####
# Second, map the security name into a group name:

#       groupName      securityModel securityName
group   group_localRO   v1      localRO
group   group_localRO   v2c     localRO
group   group_localRW   v1      localRW
group   group_localRW   v2c     localRW
group   group_hpsimro     v1      hpsim_ro

####
# Third, create a view for us to let the group have rights to:

# Make at least  snmpwalk -v 1 localhost -c public system fast again.
#       name           incl/excl     subtree         mask(optional)
view    all             included        .1

####
# Finally, grant the group read-only access to the systemview view.

#       group          context sec.model sec.level prefix read   write  notif
access  group_localRO   ""      any     noauth  exact   all     none    none
access  group_localRW   ""      any     noauth  exact   all     all     none
access  group_hpsimro     ""      any     noauth  exact   all     none    none

## Extra's
dlmod cmaX /usr/lib64/libcmaX64.so
dontLogTCPWrappersConnects 1
trapcommunity public
trapsink YOUR_IP  public
syscontact someone@localhost
syslocation DATACENTER

 

Under Extra's the first rule could be different depending on X64 or X32, please check your default snmpd.conf for the correct path. When you install the snmp deamon, configure it and start it you should be able to select the datasource. Only the local entries are needed for the System Management Homepage to function. The hpsimro is only needed for HP SIM to read the SNMP information for datacollection purposes. You should however configure both to get the complete picture.

 

Kind regards,

 

Andrew

Kind regards,

Andrew
NashZ
Occasional Contributor

Re: SMH data source blank - Linux

I have tried configuring snmp as suggested and it works.

 

DL380 Gen9

::::::::::::::
/etc/redhat-release
::::::::::::::
Red Hat Enterprise Linux Server release 6.6 (Santiago)

 

# rpm -qa|grep hp
hponcfg-4.5.0-0.x86_64
hpsmh-7.5.0-4.x86_64
hpssacli-2.20-11.0.x86_64
hpdiags-10.34.1914-1896.x86_64
hpsum-7.2.1-6.rhel6.x86_64
hp-snmp-agents-10.20-2789.26.rhel6.x86_64
hp-ams-2.2.0-1688.44.rhel6.x86_64
hp-smh-templates-10.2.0-1429.26.noarch
hp-health-10.20-1723.28.rhel6.x86_64