Thread: Trapsnmp nagios
View Single Post
  #9 (permalink)  
Old 23-Jun-2009, 12:20
ophicius ophicius is offline
Puzzled Penguin
 
Join Date: Jun 2009
Posts: 14
ophicius hasn't been rated much yet
Default Re: Trapsnmp nagios

Thanks for the help malcolmlewis

in my /etc/snmp/ i've snmpd.conf and snmptrapd.conf

Snmpd.conf

# Please see /usr/share/doc/packages/net-snmp/EXAMPLE.conf for a
# more complete example and snmpd.conf(5).
#
# Writing is disabled by default for security reasons. If you'd like
# to enable it uncomment the rwcommunity line and change the community
# name to something nominally secure (keeping in mind that this is
# transmitted in clear text).

# don't use ' < > in strings for syslocation or syscontact
# Note that if you define the following here you won't be able to change
# them with snmpset
syslocation salleserver
syscontact Sysadmin (root@localhost)

# These really aren't meant for production use. They include all MIBS
# and can use considerable resources. See snmpd.conf(5) for information
# on setting up groups and limiting MIBS.
rocommunity test 127.0.0.1
rocommunity test 192.168.20.16
# rwcommunity mysecret 127.0.0.1


and

snmptrapd.conf

traphandle default /usr/sbin/snmptt
disableAuthorization yes
donotlogtraps yes

i'm going to test with on my hp procurve, i tell you what
Reply With Quote