snmpd.conf configuration issue

"Martz, Peter" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <76EA980B393A584084B397FCA1D25519123F6712@NJCHLEXCMB01.cable.comcast.com>
I am trying to enable SNMP traps from the a CheckPoint Secure Platform
(linux variant running  net-snmpd 5.3.1 ) to an SNMP manager.

Reading all the documents and the various posts, it seems that I am
still missing something and appeal the gurus.

I have modified my snmpd.conf file and while I can get some "generic"
traps, i can't get any CheckPoint (1.3.6.1.4.1.2620) specific traps.

I am getting a "failed to run mteTrigger query" error.

Is there a step or configuration that I am missing?



Modifications to the default snmpd.conf:

master agentx
sysservices 76
smuxpeer 1.3.6.1.4.1.4.3.1.4

 

createUser <user> MD5 "passwd" DES
rouser <user>
agentSecName <user>
trapcommunity <string>
trapsink <snmp mgr IP>
trap2sink <snmp mgr IP>

## These monitor traps work:
monitor -r 60 -o hrSWRunName "pjm: high cpu is WAY too high"
hrSWRunPerfCPU > 1
monitor -r 60 -o hrSWRunName "pjm: memorysize" hrMemorySize > 100
monitor -r 60 -o hrSWRunName "pjm: high process memory"
1.3.6.1.2.1.25.5.1.1.2 > 10

## This monitor trap gives me an error:  failed to run mteTrigger query

monitor -r 60 -o hrSWRunName "Martz: CheckPoint CPU"
1.3.6.1.4.1.2620.1.6.7.2.4 > 1

monitor -r 60 -o hrSWRunName "Martz: CheckPoint Connections"
1.3.6.1.4.1.2620.1.1.25.3  > 1

 

Startup: 

/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a -c
/etc/snmp/snmpd.users.conf 161

 

(I have also run it with -D and sent all the data to an output file, but
I am not nec. sure what the output means)

 

Snipit from output file (Leading number is line number in file):

 

242310 SNMPv2-SMI::enterprises.2620.1.6.7.2.4 = Variable has bad type
242311 trace: netsnmp_callback_send(): snmpCallbackDomain.c, 324:
242312 transport_callback: hook_send exit
242313 trace: snmp_sess_select_info(): snmp_api.c, 5849:
242314 sess_select: for all sessions: 15 12 9 10 7 (to in
1268888935.427398 sec) 5
242315 sess_select: next alarm 0.1 sec
242316 verbose:sess_select: timer due *real* soon. 1 usec
242317 verbose:sess_select: setting timer to 0.1 sec, clear block (was
1)
242318 trace: _sess_read(): snmp_api.c, 5423:
242319 sess_read: not reading 15 (fdset 0x7fffd960 set 0)
242320 trace: _sess_read(): snmp_api.c, 5423:
242321 sess_read: not reading 12 (fdset 0x7fffd960 set 0)
242322 trace: _sess_read(): snmp_api.c, 5423:
242323 sess_read: not reading 9 (fdset 0x7fffd960 set 0)
242324 trace: _sess_read(): snmp_api.c, 5423:
242325 sess_read: not reading 10 (fdset 0x7fffd960 set 0)
242326 trace: _sess_read(): snmp_api.c, 5423:
242327 sess_read: not reading 7 (fdset 0x7fffd960 set 0)
242328 trace: netsnmp_callback_recv(): snmpCallbackDomain.c, 188:
242329 transport_callback: hook_recv enter
242330 trace: netsnmp_callback_recv(): snmpCallbackDomain.c, 214:
242331 transport_callback: hook_recv exit
242332 trace: _sess_process_packet(): snmp_api.c, 5105:
242333 sess_process_packet: session 0x79c03818 fd 5 pkt 0x79d40348
length 1
242334 trace: callback_debug_pdu(): snmpCallbackDomain.c, 91:
242335 dump_recv_callback_transport: PDU: command = 161, errstat = 0,
errindex = 0
242336 trace: callback_debug_pdu(): snmpCallbackDomain.c, 93:
242337 dump_recv_callback_transport: var 2:trace:
sprint_realloc_by_type(): mib.c, 1977:
242338 output: sprint_by_type, type 0
242339 trace: sprint_realloc_by_type(): mib.c, 2037:
242340 sprint_by_type: bad type: 0
242341 SNMPv2-SMI::enterprises.2620.1.6.7.2.4 = Variable has bad type

.....

354302 disman:event:trigger:monitor: Trigger query (walk) failed: -2

.......

 

Can anyone steer me in a direction to fix this?

 

 

Pete Martz 



Who is John Galt?

2+2=4!

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.