I've dug around a bit and can't seem to word my searches to come back with the answer I'm looking for.
I have a several tests that is utilizing the SNMP GET test method and they all work great. As our company is growing though, I'd like to find a way to make my alerts more user friendly.
Example, I am polling ifOperStatus on T1 interfaces on a Cisco device. The 3 common reply are 1 (UP), 2 (DOWN), 3 (TEST). But my email alerts is sending the numeral Value of what it is and what it should be. Works great for me... but I'd like to make it more user friendly for our entry level techs.
Is there a way to process the returned result to show a friendly text value that I specify instead of the 1,2,3...?
Friendly SNMP Reply Values
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Friendly SNMP Reply Values
Sure, you may use "Tune up Reply value" option, located on Test properties dialog, with expression like the following:
IF ('%SuggestedReply%'=='1') UP; IF ('%SuggestedReply%'=='2') DOWN; IF ('%SuggestedReply%'=='3') TEST; else UNKNOWN
Please check the manual or visit our web site for more information at:
Tune up Reply value option: http://www.ks-soft.net/hostmon.eng/mfra ... uneupreply
If/else statements: http://www.ks-soft.net/hostmon.eng/mfra ... m#tuneupif
IF ('%SuggestedReply%'=='1') UP; IF ('%SuggestedReply%'=='2') DOWN; IF ('%SuggestedReply%'=='3') TEST; else UNKNOWN
Please check the manual or visit our web site for more information at:
Tune up Reply value option: http://www.ks-soft.net/hostmon.eng/mfra ... uneupreply
If/else statements: http://www.ks-soft.net/hostmon.eng/mfra ... m#tuneupif
Apparently I'm doing something wrong. On my test port...
I have enabled Reverse Alert and Tune Up Reply. Under Reply Value I added a similar expression:
IF ('%SuggestedReply%'=='1') 'T1 is UP'; IF ('%SuggestedReply%'=='2') 'T1 is DOWN'; IF ('%SuggestedReply%'=='3') TEST; else UNKNOWN
On my Email alert I have told it to send variables:
%Reply%,%SuggestedStatus%, %SuggestedSimpleStatus%, %SuggestedReply%
When the test fails, the email sends and I receive the below info.
IF ('2'=='1') 'T1 is UP'; IF ('2'=='2') 'T1 is DOWN'; IF ('2'=='3') TEST; else UNKNOWN,Bad, DOWN
I'm guessing I'm using the wrong variable in my email alert but I'm just wanting to see 'T1 is DOWN'
I have enabled Reverse Alert and Tune Up Reply. Under Reply Value I added a similar expression:
IF ('%SuggestedReply%'=='1') 'T1 is UP'; IF ('%SuggestedReply%'=='2') 'T1 is DOWN'; IF ('%SuggestedReply%'=='3') TEST; else UNKNOWN
On my Email alert I have told it to send variables:
%Reply%,%SuggestedStatus%, %SuggestedSimpleStatus%, %SuggestedReply%
When the test fails, the email sends and I receive the below info.
IF ('2'=='1') 'T1 is UP'; IF ('2'=='2') 'T1 is DOWN'; IF ('2'=='3') TEST; else UNKNOWN,Bad, DOWN
I'm guessing I'm using the wrong variable in my email alert but I'm just wanting to see 'T1 is DOWN'
This option was implemented in version 8.64
http://www.ks-soft.net/hostmon.eng/news8.htm
Regards
Alex
http://www.ks-soft.net/hostmon.eng/news8.htm
Regards
Alex