Piece of code I've found in this lists archives - my ($alarm) = &ma_snmp::snmpget ($chassname, $community,"1.3.6.1.2.1.10.18.6.1.10.$t1"); print "[No Alarm] - $chassname - slot $i\n " if $alarm & 1; print MAILFILE "[Far-End LOF (YELLOW)] - $chassname - slot $i\n" if $alarm & 2; print MAILFILE "[Near-End Sending LOF] - $chassname - slot $i\n" if $alarm & 4; print MAILFILE "[Far-End AIS] - $chassname - slot $i\n" if $alarm & 8; print MAILFILE "[Near-End AIS] - $chassname - slot $i\n" if $alarm & 16; print MAILFILE "[Near-End LOF (RED)] - $chassname - slot $i\n" if $alarm & 32; print MAILFILE "[Near-End LOS] - $chassname - slot $i\n" if $alarm & 64; print MAILFILE "[Near-End Looped] - $chassname - slot $i\n" if $alarm & 128; print MAILFILE "[E1 TS16 AIS] - $chassname - slot $i\n" if $alarm & 256; print MAILFILE "[Far-End TS16 LOMF] - $chassname - slot $i\n" if $alarm & 512; print MAILFILE "[Near-End TS16 LOMF] - $chassname - slot $i\n" if $alarm & 1024; print MAILFILE "[Near-End Testcode] - $chassname - slot $i\n" if $alarm & 2048; print MAILFILE "[??] - $chassname - slot $i\n" if $alarm & 4096; I beleive the original posts gives a full script. Hope this helps... matthew extolled:
we have a monitoring program that check to make sure everything is up and functioning normally...
it has an snmp monitor that we haven't used, does anyone know if it is doable to monitor each hiper dsp and have it notify us if the circuit is busied out?
or any other snmp tricks we can do to monitor a chassis with hiper arc's, a hiper nmc and hiper dsp's?
matthew
_______________________________________________ USR-TC mailing list USR-TC@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/usr-tc