OVNM 5.3 - Operations Agent for NonStop SNMP Adapter Guide
Displaying Events on Netcool 34
5 Displaying Events on Netcool
Follow the steps listed below to display HP NonStop events on Netcool
1. Open the mttrapd.rules file from the given location.
/opt/netcool/omnibus/probes/solaris2
2. Insert the following entry in the mttrapd.rules file after the below mentioned line
if (match ($generic-trap, "6"))
{
if (match($enterprise, ".1.3.6.1.4.1.11.779"))
{
@Summary = "Event Text: " + $19 + " Application: " + $4 + " Object: "
+ $5 + " Subject: " + $8 + " Subsystem No.: " + $13 + " Event No.: " + $14 +
" Service: " + $15 + "" + " Genration Time: " + $16 + ""
@Agent = "OVNM SNMP Adapter"
@Node = $6 + ""
@AlertGroup = $9 + ""
@Severity = $3
@Customer = $10 + ""
@Location = $11 + ""
@Service = $15 + ""
@Manager = $7 + ""
@AlertKey = $2 + ":" + @Node + ":" + @AlertGroup + ":" + $8 +
":" + $14 + ""
@Identifier = @Agent + ":" + @Node + ":" + $generic-trap +
":" + $specific-trap + ":" + $2 + ":" + @AlertGroup + ":" + $8 + ":" + $14 +
""
}
}
3. Now, move to specified location:- /opt/netcool/omnibus/probes and run the following command
./nco_p _mttrapd
Displaying Events on Netcool