translated SNMP-Descriptions

Need new test, action, option? Post request here.
Post Reply
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

translated SNMP-Descriptions

Post by MirkoW »

HI,

HM does still translate only the OID but not the Values / Descriptions.

i have add the mib-files into Mib-Browser. but values are not translated

for example:

upsMIB.upsObjects.upsAlarm.upsAlarmTable.upsAlarmEntry.upsAlarmId = 1

upsMIB.upsObjects.upsAlarm.upsAlarmTable.upsAlarmEntry.upsAlarmId = 1 upsMIB.upsObjects.upsAlarm.upsAlarmTable.upsAlarmEntry.upsAlarmDescr = 1.3.6.1.2.1.33.1.6.3.2

but 1.3.6.1.2.1.33.1.6.3.2 must be translated in "alarmOnBattery"
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What exactly test method/macro variable are you trying to use? Are you asking about SNMP Get test method, or you are using SNMP Trap test method and some macro variable like %MibName%?

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

Hi,

i use the SNMP Trap Test method with sendmail-alert and follow profile:

Message from HostMonitor (host changed status)

Test : %TestName%
Method: %TestMethod%
Status : %STATUS%
Date : %DATETIME%
Reply : %Reply%

%MibNameShort% = %MibValue%

%TrapAllValues_NameShort%

%TrapType%

%EnterpriseNameShort%

Recurrences : %Recurrences%
Last status: %LastStatus%
Total tests: %TotalTests%
Alive ratio : %AliveRatio%
Dead ratio: %DeadRatio%

Source: %Folder%
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So, we are talking about %TrapAllValues_NameShort% variable. Right?
Yes, this macro variable translates SNMP variable name, it does not translates variable value.
Yes, we can modify it... I just not sure what exactly should we do: modify behaviour of this variable or add another macro variable like %TrapAllValues_NameValueShort% :roll:

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

Hi, %TrapAllValues_NameValueShort% is not known. but you can test it with TrapReceiver (http://www.trapreceiver.com/) . After you import the mib files so it display all values translated.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Hi, %TrapAllValues_NameValueShort% is not known
Yes, its "not known".
I said "I just not sure what exactly should we do: modify behaviour of this variable (%TrapAllValues_NameShort%) or add another macro variable like %TrapAllValues_NameValueShort%

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

i think there shouldn't be a problem to add one more macro ?
Last edited by MirkoW on Tue Aug 11, 2009 12:14 pm, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, we can do this

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

okay thanks,

when does this function are available ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, I am not sure. We have hundreds tasks in "to do" list. I have assigned medium priority to this task.

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

There is update: www.ks-soft.net/download/hm825c.zip
It allows you to use 2 new variables for actions triggered by SNMP Trap tests
- %TrapAllValues_NameValueShort%
- %TrapAllValues_NameValue%

Please install version 8.24 before using this update!

Regards
Alex
Post Reply