create a port specific alarm in netsight

  • 0
  • 1
  • Question
  • Updated 11 months ago
  • Answered
how i can create a alarm from specific port in switch ?(x450,x670,x460)
Photo of jaime quintana

jaime quintana

  • 302 Points 250 badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
I believe traps for port up/down would be enable by default on switch.

Could you please let us know which specific alarms you are looking at?
Photo of jaime quintana

jaime quintana

  • 302 Points 250 badge 2x thumb
where can I configure this option, in the alarm manager dont see this, need to generate a script specific option?
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 48,846 Points 20k badge 2x thumb
You might want to check whether the switch has Netsight set as a trap receiver and the correct community is choosen.

So in the Netsight Console device tree right click on the switch and select "Trap Receiver Configuration" and Apply the settings to the device if there is no trap destination set / or the wrong community.

 
Photo of Yusuf Kabbara

Yusuf Kabbara

  • 524 Points 500 badge 2x thumb
Hi,

# of Receivers in my case is 0 ... could you help!?

Thanks
Photo of jaime quintana

jaime quintana

  • 302 Points 250 badge 2x thumb
What I look for is a similar set Epicenter option, give me the option to choose specific ports on a switch. 
As shown in attached image


Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 48,846 Points 20k badge 2x thumb
So if you want only specific ports one way (could be that there is another one) is to create a port group.
In Netsight Console in the device tree right click on "my Network" and choose "add device group" and for this example let's name it "PortGroup1".
Then click on the switch that you want to add ports from and in the ïnterface summary" select all the ports that you want in your alarm group.
i.e. I've selected ports ge.1.1-12


Then right click on the ports that you've selected and click "add port elements to group" and select the PortGroup1.

The next step is to configure the Alarm Manager to only report a link down of PortGroup1.
So go to the Alarm Manager and select "link down" in the Alarm table.
On the bottom of the window in the "Additional Criteria" section click on Device Groups and select PortGroup1.


As I've mentioned before make sure that the trap receiver is set correcty so the switch forwards the traps to Netsight.

In my lab with my G&D series switches it worked so I hope that is the same with the X series.
Photo of Tavares Belmont

Tavares Belmont

  • 638 Points 500 badge 2x thumb
@Ron,

In my case i cant see the "ïnterface summary" see my pic pls.

Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 48,846 Points 20k badge 2x thumb
What switch model is that and have you clicked on the green arrow icon on the upper right to query for interfaces ?
Photo of Tavares Belmont

Tavares Belmont

  • 638 Points 500 badge 2x thumb
@Ron,

Bingo! got it...Because i stay connected by VPN and the client use my local ip address, now i tried remote session directory server were the netsight installed and got it, sorry for my mistake.;)

now i gonna create the alarms!
Thanks again!
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 48,826 Points 20k badge 2x thumb
You'd change that behavior in the Netsight options so all request are done from Netsight and not from your local client.

Netsight Console > Tools > Options > Suite Options > Client Connections > SNMP redirection > Redirect Client/Server SNMP Communications
Photo of Tavares Belmont

Tavares Belmont

  • 638 Points 500 badge 2x thumb
Photo of Tavares Belmont

Tavares Belmont

  • 638 Points 500 badge 2x thumb
@Ron,

I found one filed to create email sender and receiver email and i created the correct alert, however when i tri "disable ports x and enable ports x" the X port are present in the group... I was unable to receiver the email :(

I must create other configuration before?

i tried:

set mail config put my credentials email and smtp server domain;
action table "edit email list" and add email receivers
enable alarm of course...
other options "select alarm" option Link up 
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 48,846 Points 20k badge 2x thumb
Let's make sure that your email settings are correct... just click on the "test email action" button in the alarm settings to send a test mail.

Photo of Tavares Belmont

Tavares Belmont

  • 638 Points 500 badge 2x thumb
@Ron,

I got it receive this message bellow with your test advice...

Conditions: 
IP: $ipaddress
MAC: $macaddress

However continue without message when ports goes down.
Photo of Tavares Belmont

Tavares Belmont

  • 638 Points 500 badge 2x thumb
So, 

I have more than 10 ports in the same group, are my trunk and uplink ports the software consider just if all ports goes down or not?
Photo of Murilo Melo

Murilo Melo

  • 216 Points 100 badge 2x thumb
Responding to my brother...

Even having a "trunk" doors, the NetSight will monitor each port individually.

Example here:
# enable sharing 1:24 grouping 1:24 2:24 algorithm address-based L2

If the status of the door (2:24) was changed to down, the Alarm "Link down" will indicate the fall of the door. The same goes for the door 1:24
Photo of Murilo Melo

Murilo Melo

  • 216 Points 100 badge 2x thumb
But...

We are trying to monitor only the uplink ports of Extreme switches park (all x440 - XOS 15.7.1.4).

Without the Port Elements Group, the Alarm "Link down" and "Link Up" detect the status of the ports and generate Alarms, but with the Port Elements Group on any port, generates no Alarm.

Netsight 6.2 here.

EDIT:
complementing ... during testing, the NetSight records the fall of the link in the syslog and trap
(Edited)