Quantcast
Viewing all articles
Browse latest Browse all 4342

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


Viewing all articles
Browse latest Browse all 4342

Trending Articles