Problem : derective MONITOR (snmpd.conf)

"BENAMAR Khalid" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hello,

i would like to monitor a Server HP
for standard mib i can use net-snmp (NET-SNMP version 5.3.1)
but for private mib i use a version of net-snmp pached (hp). (based on 
net-snmp 5.1.2)
snmpd.conf for standard version of net-snmp :

#Create the groups, communities, and security groups
# sec.name source community
com2sec local localhost public
com2sec local 192.168.2.0/24 public

# Only return v2c to the poller
# group.name sec.model sec.name
group ReadOnly v1 local
group ReadOnly v2c local

# inc/excl subtree mask
view all included .1 80

# context sec.model sec.level match read write notif
access ReadOnly "" any noauth exact all none none

# you must specify createUser, iquerySecName, rouser for this directive
rouser _internal

# Here are the OID's that we want to monitor, when things go over these 
variables, we should get a trap!!
#monitor -u _internal -o hrSWRunName "high process memory" hrSWRunPerfMem > 
10000
#monitor -u _internal -o memErrorName -o memSwapErrorMsg "memory" 
memSwapError != 5
#monitor -I -u _internal -r 600  "storage hight then 0" hrStorageSize.4 > 0
monitor -I -u _internal -r 600 "temerature hight then 0" 
SNMPv2-SMI::enterprises.232.6.2.6.8.1.4.1.1 > 0

#set up the trap community, and where to send the traps.
trapcommunity public
trapsink localhost public

#proxy -c public localhost:1162 .1.3.6.1.4.1.232

for version HP
rocommunity public 0.0.0.0
agentaddress 1162
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

when i lunch
snmpget -v 1 -c public localhost .1.3.6.1.4.1.232.1.2.1.4.2.1.2.1
it give me value of this mib
but when i use it in snmpd.conf it dosen't work

sorry for my english

thanks very mutch

_________________________________________________________________
Testez Windows Live Mail Beta ! http://www.ideas.live.com/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.