Question to snmp trap und %reply% value

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
mp1
Posts: 199
Joined: Tue Mar 07, 2006 3:24 am

Question to snmp trap und %reply% value

Post by mp1 »

Hi,

We have an SNMP Trap test with "Display" configuration "OID & Value".
Within in RCC we will get as reply, the value which we want, although when we use the %reply% macro f.e. within a mail alert, we will get "another" reply.

f.e. reply within RCC:

1.3.6.1.4.1.xxx Quota Event: status=exceeded, type=soft, volume=xxx, limit_item=disk, limit_value=7371, treeid=1

reply with %reply% within mail alert:

1.3.6.1.4.1.xxx Soft block limit exceeded for tree 1 on volume vol_VibkUSR_vf0

Shouldn't be the %reply% the same value as we get in the RCC?
I tried different macro variables.

Where I my problem? ;-)

Thanks in advance

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

Post by KS-Soft »

Yes, %Reply% variable and Reply field of the test displayed by HostMonitor/RCC/WebService should be the same.

Unless you are using undocumented option that allows to replace text... do you have "SubstituteFieldFrom" line in hostmon.ini file?
What version of HostMonitor and RCC do you use?

Regards
Alex
mp1
Posts: 199
Joined: Tue Mar 07, 2006 3:24 am

Post by mp1 »

KS-Soft wrote: Unless you are using undocumented option that allows to replace text... do you have "SubstituteFieldFrom" line in hostmon.ini file?
Hi Alex,

No, I can't find such an entry in the ini file.
What version of HostMonitor and RCC do you use?
At the moment we are still using HM 8.58

Regards,

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

Post by KS-Soft »

We checked our code and do not see how its possible :roll:
Are you sure you are using %Reply% variable in e-mail template?

May be one trap comes after another so HostMonitor sets one reply string, starts alert then it receives another trap message and changes reply string.
Have you checked log file (if you are using full or reply logging mode)?

Regards
Alex
mp1
Posts: 199
Joined: Tue Mar 07, 2006 3:24 am

Post by mp1 »

KS-Soft wrote: Are you sure you are using %Reply% variable in e-mail template?
Yes, I am sure ;-) - I checked it several times.
KS-Soft wrote:May be one trap comes after another so HostMonitor sets one reply string, starts alert then it receives another trap message and changes reply string.
I don't think, that this is possibile, we have a filter for this test.
KS-Soft wrote:Have you checked log file (if you are using full or reply logging mode)?
Not yet, I will do this.

I'm just out office, so I can't do further tests now, although I got the new license key, so I will update on monday to the newest HM version and will do some further tests.

In the meantime thanks again and have a nice weekend :-)

Regards,

Martin
mp1
Posts: 199
Joined: Tue Mar 07, 2006 3:24 am

Post by mp1 »

May be one trap comes after another so HostMonitor sets one reply string, starts alert then it receives another trap message and changes reply string.
Have you checked log file (if you are using full or reply logging mode)?
Alex - as always - you have right ;-)
There are really two traps, the log file did help.

Thanks again,

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

Post by KS-Soft »

You are welcome :)

Regards
Alex
Post Reply