unable to generate a new alarm in netsight console

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
i am unable to generate a new alarm which i configured for a specific device /IP port /link failure alarm through edit critetia in the alarm manager configuration
Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 47,040 Points 20k badge 2x thumb
Please take a look into this post and check whether the settings are correct.
https://community.extremenetworks.com/extreme/topics/create-a-port-specific-alarm-in-netsight

If it still doesn't work please provide screenshots of the configuration.

-Ron
Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb

Thanks for your suggestion..

i am just using the option of By custom criteria .all the defaults alarms from this switch are working.

Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 47,040 Points 20k badge 2x thumb
OK, does the switch sent the trap = could you see the trap in Netsight Console in the "Traps" tab in the lower part of the window.

Doubleclick the trap and please attach a screenshot of the trap so we'd make sure that the custom criteria that you've configured in the alarm manager matches the trap that is coming from the device.

BTW, what kind of device is it.
Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb

yes ,switch send the trap message and with this trap message ,the default alarm Link down is appearing for this port.

But my requirement is that I want to create a new specific alarm (V90 Link) for this ge.1.25 port from A4 switch.Attached the trap and alarm snap ,where you can see the default alarm is appearing for the same port.

Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb
Attached the trap message details
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 47,040 Points 20k badge 2x thumb
Could you please try the following in "Edit Custom Alarm Criteria"...

Match on Severity - set only to Warning

Match on Host/IP - disable this for the test

Match on Information Text - add a new line with only "Agent Interface Down"
!!! please note that the I in Interface is a capital letter - I'm not sure whether Netsight checks for upper/lower case letters!!!

Please try again - for me it works with this settings.

If you get the alarm you'd enable the match for host/IP.
FYI, that wasn't working for me but I think it's because my trap source is "10.12.0.249(via 10.12.0.249)" instead of only the IP, might be that I've done something wrong in the trap config of the switch - need to check that....
Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb

I tried without IP and it is working ,but I want to only for a specific device/switch port ,so I need to enable with the IP option ,but it is not working.

Could you please guide me with a IP solution.

Thanks for your help

Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 47,040 Points 20k badge 2x thumb
Ok, found the issue....

If the trap vom the switch i.e. 10.12.0.249 is send via SNMPv1 then the source field in Netsight show "10.12.0.249(via 10.12.0.249)".
If you use SNMPv2 then the Source is "10.12.0.249" and the alarm works.

If someone could explain that it would be great.....

So just change the switch to send v2 instead of v1 and it should work.

-Ron

Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb

this is the config related to SNMP in the switch and I am using SCAS to deploy the config/commands:

#snmp
clear snmp access public security-model v1
clear snmp access public security-model v2c
clear snmp access public security-model usm
set snmp access ro security-model v1 exact read All notify All nonvolatile
set snmp access ro security-model v2c exact read All notify All nonvolatile
set snmp access public security-model v1 exact read All notify All nonvolatile
set snmp access public security-model v2c exact read All notify All nonvolatile
set snmp access public security-model usm exact read All notify All nonvolatile
set snmp community :3fb03022e4966512343b511c263dcf1240739359ec6cad7d8c6277007e7e0657521e0641967b150156:
set snmp group ro user ro security-model v1
set snmp group public user public security-model v1
set snmp group ro user ro security-model v2c
set snmp group public user public security-model v2c
set snmp group public user public security-model usm
set snmp notify workstation tag snmptag
set snmp targetaddr Admin0 151.128.81.61 param snmptarget mask 255.255.0.0 taglist snmptag nonVolatile
set snmp targetaddr Admin1 151.128.152.8 param snmptarget mask 255.255.0.0 taglist snmptag nonVolatile
set snmp targetaddr primary 151.128.152.8 param snmptarget mask 255.255.0.0 taglist snmptag nonVolatile
set snmp targetparams snmptarget user public security-model v1 message-processing v1 noauthentication
set snmp user public authentication sha :c29c1997f5bd6c84533019dc1d0fbefcce6b0cea: encryption aes privacy :c29c1997f5bd6c84533019dc1d0fbefc:
set snmp view viewname All subtree 1


What I need to change here.

Thansks.

Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 47,040 Points 20k badge 2x thumb
# clear snmp targetparams snmptarget user

# set snmp targetparams snmptarget user public security-model v2c message-processing v2c noauthentication

# save config

I think that should do the job....
Photo of Degalesan D

Degalesan D

  • 132 Points 100 badge 2x thumb

Yes it is working with V2 ,but our IA systems only support SNMP V1 ..Is this possible to do with V1.

Thanks for your support.

Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 47,040 Points 20k badge 2x thumb
There are 2 things here...
1) why does the source field in Netsight show "x.x.x.x(via x.x.x.x)" instead of just "x.x.x.x" if SNMPv1 is used
2) how could you create a custom alarm on source if the field is "x.x.x.x(via x.x.x.x)"

I don't have an answer for you so my advice is to open a GTAC ticket and just refer to this post.

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-contact-Extreme-Networks-Global-Tec...

-Ron