Hi all! I use the precious Thomas' s trick to enable snmp trap receiving in bigsister > "If a file adm/bstrapd.cfg > exists during uxmon startup the boot script (bb_start) > will start up an additional daemon called 'bstrapd'. > This daemon will listen to the SNMP trap port, receive > traps and log them to var/snmp_traplog." Now i can receive traps that are displayed on the web interface. (To make a test i swap the redundant power supplies) The status of trap became yellow and it is displayed in the trap details (it is the same logged in var/snmp_traplog). My question is: How can i handle the trap for example making the dot becoming from green to red instead of yellow and to have more readable messages in the event details? There is the event detail (for example it will be useful to receive only : power - bay 1 generalFailure) like the power check in the module cpqhlth. Host Check Status Date Text unipvtest01 trap yellow (1201864979) Fri Feb 1 12:22:59 2008 received trap community=public enterprise=1.3.6.1.4.1.232 agent=77.0.0.48 generic=6 specific=6048 sysuptime=220247806 trap=1.3.6.1.4.1.232.0.6048 time=12:19:15 argument 1 sysName => unipvtest01 argument 2 1.3.6.1.4.1.232.11.2.11.1 => 0 argument 3 cpqHeFltTolPowerSupplyChassis.2 => 0 argument 4 cpqHeFltTolPowerSupplyBay.2 => 2 argument 5 cpqHeFltTolPowerSupplyStatus.2 => 1 argument 6 cpqHeFltTolPowerSupplyModel.2 => argument 7 cpqHeFltTolPowerSupplySerialNumber.2 => argument 8 cpqHeFltTolPowerSupplyAutoRev.2 => argument 9 cpqHeFltTolPowerSupplyFirmwareRev.2 => argument 10 cpqHeFltTolPowerSupplyHwLocation.2 => argument 11 1.3.6.1.4.1.232.2.2.4.17 => CPQ0722 received trap community=public enterprise=1.3.6.1.4.1.232 agent=77.0.0.48 generic=6 specific=6054 sysuptime=220247808 trap=1.3.6.1.4.1.232.0.6054 time=12:19:15 argument 1 sysName => unipvtest01 argument 2 1.3.6.1.4.1.232.11.2.11.1 => 0 argument 3 cpqHeFltTolPowerSupplyChassis.2 => 0 received trap community=public enterprise=1.3.6.1.4.1.232 agent=77.0.0.48 generic=6 specific=6032 sysuptime=220216849 trap=1.3.6.1.4.1.232.0.6032 time=12:14:05 argument 1 sysName => unipvtest01 argument 2 1.3.6.1.4.1.232.11.2.11.1 => 0 argument 3 cpqHeFltTolPowerSupplyChassis.2 => 0 received trap community=public enterprise=1.3.6.1.4.1.232 agent=77.0.0.48 generic=6 specific=6050 sysuptime=220216841 trap=1.3.6.1.4.1.232.0.6050 time=12:14:05 argument 1 sysName => unipvtest01 argument 2 1.3.6.1.4.1.232.11.2.11.1 => 0 argument 3 cpqHeFltTolPowerSupplyChassis.2 => 0 argument 4 cpqHeFltTolPowerSupplyBay.2 => 2 argument 5 cpqHeFltTolPowerSupplyStatus.2 => 2 argument 6 cpqHeFltTolPowerSupplyModel.2 => argument 7 cpqHeFltTolPowerSupplySerialNumber.2 => argument 8 cpqHeFltTolPowerSupplyAutoRev.2 => argument 9 cpqHeFltTolPowerSupplyFirmwareRev.2 => argument 10 cpqHeFltTolPowerSupplyHwLocation.2 => argument 11 1.3.6.1.4.1.232.2.2.4.17 => CPQ0722 Last status change: Fri Feb 1 12:18:00 2008 TY! - polluz - ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bigsister-general mailing list suppressed https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.