11-03-2015 01:26 AM - edited 03-08-2019 02:32 AM
I'm writing an SNMP Manager Application with C#. But first I want to try to retreive some Trap notifications about Optical power from my Cisco3400 ME.
I applied these command to the CLI :
snmp-server community nm54MANE RW
snmp-server community public RO
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps transceiver all
snmp-server enable traps entity
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps config
snmp-server enable traps syslog
snmp-server enable traps alarms informational
snmp-server host 172.16.253.10 version 2c public
After that, i ran my application (just to catch the trap messages). It was able to receive every trap messages such as :config, link up/down... but not somethings like optical transceiver, entity...
I tried to loose the fiber cables to make optical power violate the threshold. And then in CLI, I got it:
Nothing like this in my Application. Did i forget somethings?
11-03-2015 05:41 AM
Hello ,
I just want to understand the issue. Are you concerned about Threshold violation messges? These messges are informstional and doesn't have any impact on switching performance.
BEst Regards
Arjun
11-03-2015 09:13 AM
Hello,
Thanks for your reply... So it still unavailable if i do "no switch-port" and give it an IP, doesn't it? I don't think so? Because i can get the current Optical Power of SFP port by make SNMP GET request manually, I just used it as a router with nothing like switching performance!
I was only supplied this kind of Cisco devices to study, i think use it as a router also be ok.
Can you share me some experiences working with "Threshold Violation Messages".
Are there any others solution to get Optical Power Status automatically?
In fact, I want to draw a realtime chart on a web site with JQuery, which shows Power status of a specific SFP Interface (of course i must save the status values on a SQL server). I used to think about making SNMP GET requests periodically, but it seem to be bad for traffic and causes"crossing prolems", server permission... (because we must imagine that we don't have only one node)!
It's my final thesis. i'm very close... Give me some suggestions, please!!
Grateful,
VinhThuy
11-03-2015 11:22 PM
Hello ,
These messges usually comes up if you have bad SFPs / Fiber. As per the troueblshooing steps we sugegst to reseat SFP / Fiber or someimes reseat of SFP solves theses alarmas to go off.
Hope this helps..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide