struggling to write any alarm thats not in the system allready

Started by brettjones, September 17, 2014, 06:21:41 PM

Previous topic - Next topic

brettjones

HI all.
ok i must be thick. i simply do not get this program.    i am trying to create an alarm that shows a cisco router has re-booted.

now this should be quite simple as all i need to do is specify a smaller value of what the normal snmp is monitoring and then the alarm will mail me that a router has been rebooted.
however.  i have absolutely no idea how or where to set this value specific to this alarm situation.

So i have created an event in event configuration  called SNMP_REBOOT with message of snmp reboot as i have no idea what else is needed.
then  i have created a snmp trap configuration with name SNMP_UPTIME with the correct trap OID of 1.3.6.1.2.1.1.3
then selected the SNMP_REBOOT i created earlier.

finally i have built an event process policy :

if event code is SNMP_REBOOT then generate an alarm and e mail.

but so far it dosnt work and i have no idea what values or where i should be setting these to make this work.

this is the same issue i am having for a great deal more alarms but this is the main example.

can anyone please help?!  i would be most grateful for any info on this as to what i am doing wrong or what i should be doing.

kindest regards

Brett Jones



Victor Kirhenshtein

Hi,

I think that easiest way would be to monitor sysUpTime parameter and generate event of it is less than specific value or less then previous value. To do so, add new DCI with source set to SNMP and SNMP OID set to .1.3.6.1.2.1.1.3.0 (see attached scan). Then set threshold like "last value is less then 3000" (choose value appropriate for you) and set activation event to SNMP_REBOOT. It will fire if system uptime is less than 300 seconds (note that we use value 3000, because system uptime expressed in hundredths of a second), which means that device was just restarted. Threshold configuration screenshot is on attached scan.

Best regards,
Victor


brettjones

Good morning victor, thanks for the hep so far.

Ok so i have tried following your settings:

I have created an unsigned integer but its just not firing at all.

so when i reboot the router i just get the node down alarm and interface down alarms associated with it.

not sure what i am doing wrong!

(see attached doc with pictures)