Thank you, it works, but not so fine, i think there is a little problem and i don´t
know how to do with de default lines of snmp2montrap
file...
Take a look in my confs if you have time, i don´t
want to disturb you, i think you are capable to solve the problem ...
I think there´s a little problem to work fine... take a look if you have
time...
... Sorry I don´t know perl...
################ YOUR CONFIGURATION ################## my $Patterns = { # Windows backup exec '\.iso\.org\.dod\.internet\.snmpV2\.snmpModules\.snmpMIB\.snmpMIBObjects\.snmpTraps\.linkDown' => { group => 'IFMIB', service => 'link', status => 'ok', }, '\.iso\.org\.dod\.internet\.snmpV2\.snmpModules\.snmpMIB\.snmpMIBObjects\.snmpTraps\.linkUp' => { group => 'IFMIB', service => 'link', status => 'ok', }, ########### WHAT I DO WITH THESE SNMP2MONTRAP DEFAULT LINES ???????? ########### '^enterprises\.1302\.3\.3\.5(.*)' => { group => 'tr', ### mon.cf mapped ### service => 'tre', ### mon.cf mapped ### }, '\.iso\.org\.dod\.internet\.snmpV2\.snmpModules\.snmpMIB\.snmpMIBObjects\.snmpTraps\.authenticationFailure' => { ignore => 1}, }; ###################################################################################### ######### snmptrapd
deamon with a little problem ########
[root@mail andre]# /usr/sbin/snmptrapd
-P
2002-11-08 16:16:04 UCD-snmp version 4.2 Started. 2002-11-08 16:16:07 192.168.0.130 [192.168.0.130] (via 148.5.7.130 [148.5.7.130]) enterprises.3.1.1 Link Up Trap (0) Uptime: 16 days, 8:11:50.61 Use of uninitialized value in concatenation
(.) at /home/andre/mont line 99, <> line 7.
Use of uninitialized value in concatenation (.) at /home/andre/mont line 99, <> line 7. ######### These are the lines
of the log files on snmp2montrap ########
>>>>> Fri Nov 8
16:16:07 2002 /home/andre/mont <<<<<
148.5.7.130 148.5.7.130 system.sysUpTime.0 16:8:11:50.61 .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.snmpMIBObjects.snmpTrap.snmpTrapOID.0 .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.snmpMIBObjects.snmpTraps.linkUp .iso.org.dod.internet.snmpV2.snmpModules.snmpCommunityMIB.snmpCommunityMIBObjects.snmpTrapAddress.0 192.168.0.130 .iso.org.dod.internet.snmpV2.snmpModules.snmpCommunityMIB.snmpCommunityMIBObjects.snmpTrapCommunity.0 "public" .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.snmpMIBObjects.snmpTrap.snmpTrapEnterprise.0 enterprises.3.1.1 ######### This is the e-mail
output that works for the trap ########
Summary output : 148.5.7.130:
#####################################################
There´s a problem here, in the
detailed text, theres no information of traps, 'LinkUp', 'LinkDown',
'ColdStart'.
I hope you understand...
----- Original Message -----
|
- RE: Hello !!! I would like a help please .... it´s about snmp2m... Ralph.Bugg
- RE: Hello !!! I would like a help please .... it´s about s... Ralph.Bugg
- André Leão