Catalina--
You want to look at what the agent itself is sending in the
first line, as that's the enterprise OID NV needs to be formatted for. The
next line is the generic/specific trap ID within this particular enterprise OID.
In this case, the Enterprise OID is 1.3.6.1.4.1.4484.1
I searched Google and also looked at our Solarwinds DB.
Nothing turns up for 4484. The vendor for this particular device should be able
to supply you with a MIB to run mib2trap against. I'm guessing you've tried this
and they weren't helpful. If so, welcome to the club. You can build your own
addtrap command based on the information passed to trapd. For the example you
have below, it could look like this--you would want to come with more
interesting names..
/usr/OV/bin/addtrap -l TrapNameYouPick -g 6
-s 401 \
-n TrapEnterpriseNameYouPick -i 1.3.6.1.4.1.4484.1 \
-o
A -c "LOGONLY" -t 0 \
-S 1 \
-D "Have no idea what this trap should be
called or what it means." \
-e TrapNameYouPick \
-F '$E $G $S $#
args: $*'
The
upside to this is you can get something in NetView that will process this
particular trap. But there may be others as well, and this is where it gets
frustrating, because you have no way of knowing what else may be coming. What I
do is cron a command that greps trapd daily and looks for anything coming
in with a [. This tells me I have traps where either a) it's totally
unformatted, or b) it's formatted, but passing all variables ($*), so I
need to go in and analyze/clean up the variables passed to make the trap message
more useful to Ops.
Hopefully I haven't fatfingered/fatbrained anything and this is
helpful--Drew
This is what Netview is
getting:
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? Trap found with no known format in trapd.conf(4)
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? Enterprise ENTERPRISES (1.3.6.1.4.1.4484.1) community
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? generic trap:6 specific trap:401
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? Timestamp:177375740 Agentaddr:10.20.10.70
args(7):
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? [1] private.enterprises.ibm.ibmProd.182.1.2.11.1 (OctetString): 3584 L53
7821132
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? [2] private.enterprises.ibm.ibmProd.182.1.2.111.1
(OctetString): 0
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? [3] private.enterprises.ibm.ibmProd.182.1.2.101.1 (OctetString):
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? [4] private.enterprises.ibm.ibmProd.182.1.2.41.1 (OctetString):
01
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? [5] private.enterprises.ibm.ibmProd.182.1.2.71.1 (OctetString): The
Import/Export station is full.
1173848880 3 Wed Mar 14
00:08:00 2007
10.20.10.70
? [6] private.enterprises.ibm.ibmProd.182.1.2.151.1 (Integer):
1
Does anyone have the mibs for
enterprise id 1.3.6.1.4.1.2.6.182
(SILO). Not sure what the enterprise id "1.3.6.1.4.1.4484.1" is
(from above events). I need to generate traps using a mib2trap
script.
Catalina
Aix 5.2 Netview
7.1.5