Community discussions

MikroTik App
 
prosas
just joined
Topic Author
Posts: 3
Joined: Fri Oct 11, 2013 9:39 pm

Show OID value in notification

Fri Oct 11, 2013 9:43 pm

Hi Everyone,

I would like to provide the value of an OID in a notification email.

Basically I have a bunch of routers with two interfaces, ETH1 for primary T1, and ETH2 for the backup connection. When we notify someone that the active interface has changed I would like to show if we are running on ETH1 or ETH2. I'm sure there a lot of other OID values I'd like to place in a notification as well that could be useful for our support teams.

Is there a way to do this? I see that I can use some variables in the email notification, but I'm not seeing a way to provide a polled OID value.

Thanks!

Paul Rosas
 
prosas
just joined
Topic Author
Posts: 3
Joined: Fri Oct 11, 2013 9:39 pm

Re: Show OID value in notification

Tue Nov 05, 2013 3:07 am

I'm still just hoping someone has an answer to this?
 
User avatar
itsupportschulen
just joined
Posts: 22
Joined: Fri May 24, 2013 10:57 am
Location: Germany, Herford
Contact:

Re: Show OID value in notification

Tue Nov 05, 2013 9:15 pm

Hello Paul,

interesting question and maybe an interesting feature for an upcoming version (I hope there comes on).

I've also tryed to read an OID in the notification text but failed.
My first idea:
[oid("1.3.6.1.2.1.1.3.0", 5,5, "[Device.FirstAddress]")]

It seems that this problem is similiar to the following:
http://forum.mikrotik.com/viewtopic.php ... el#p371738

In some situations in the Dude you can only use variables and no snmp requests. For example in your case or in the link label... :(

regards
Sebastian
 
prosas
just joined
Topic Author
Posts: 3
Joined: Fri Oct 11, 2013 9:39 pm

Re: Show OID value in notification

Tue Nov 05, 2013 11:55 pm

Hi Sebastian,

Yes, that was exactly what I have found as well. I can only use variables in my notifications. There is so much great data in the OIDs which I would love to add in for assistance in initial troubleshooting for Lvl1/2 support teams.

Hopefully someone has an idea, or like you said, maybe something may be added in the next rev......

Paul

Who is online

Users browsing this forum: No registered users and 66 guests