Quantcast
Channel: All Server Management - Systems Insight Manager posts
Viewing all articles
Browse latest Browse all 4342

Re: Error: Unable to execute /opt/hp/hpsmh/data/cgi-bin/snmpagent/SetSNMPData.cgis

$
0
0

Hi,

 

Yes i have, i have tried with these two setups in snmpd.conf (one a direct copy of my working setup on ubunty 10.04)

 

/etc/snmp/snmpd.conf (working on ubuntu 10.04)

 

dlmod cmaX /usr/lib64/libcmaX64.so

rocommunity INLIGHT2

rwcommunity INLIGHT

trapcommunity INLIGHT

trapsink dnsname.of.my.hpsim.com INLIGHT

authtrapenable 1

syscontact Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)

syslocation Unknown (configure /etc/snmp/snmpd.local.conf)

com2sec readwrite 10.211.111.222     INLIGHT

 

# Second, map the security names into group names:

#              sec.model  sec.name

group MyROSystem v1        paranoid group

MyROSystem v2c       paranoid group

MyROSystem usm       paranoid group

MyROGroup v1         readonly group

MyROGroup v2c        readonly group

MyROGroup usm        readonly group

MyRWGroup v1         readwrite group

MyRWGroup v2c        readwrite group

MyRWGroup usm        readwrite

 

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

#           incl/excl subtree                          mask

view all    included  .1                               80

view system included  .1.3.6.1.2.1.1

#view system included  .iso.org.dod.internet.mgmt.mib-2.system

 

#### # Finally, grant the 2 groups access to the 1 view with different

# write permissions:

#                context sec.model sec.level match  read   write  notif

access MyROSystem ""     any       noauth    exact  system none   none

access MyROGroup ""      any       noauth    exact  all    none   none

access MyRWGroup ""      any       noauth    exact  all    all    none

# -----------------------------------------------------------------------------

 

 

 

 

/etc/snmp/snmpd.conf (new config not working either)

 

dlmod cmaX /usr/lib/libcmaX64.so
rwcommunity INLIGHT 127.0.0.1
rocommunity INLIGHT2 127.0.0.1
rwcommunity  INLIGHT myhpsim.dns.name.com
trapcommunity INLIGHT
trapsink myhpsim.dns.name.com INLIGHT
syscontact patric.gustavsson@myemail.com
syslocation Town
com2sec local     localhost           INLIGHT
com2sec mynetwork 136.111.111.0/23    INLIGHT
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none

 

Br
Patric

 


Viewing all articles
Browse latest Browse all 4342

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>