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).
hopefully you can help me with a small(for me big) problem.
i'd like to send smtp trap on some tests(on bad status) to my alarmserver. this works, but i can't send Testname or Hostname within the trap.
I read in your help that i can use macro variables within the Enterprise field, but %TestName% or %Hostname% won't work.
I get in this field on my received SNMP Trap only 0.0
Enterprise is integer number, you cannot send name using this field (you can send TestID but I think its more logical to use this field as some HostMonitor ID - e.g. Enterprise=101 for all messages from HostMonitor).
Why you are not using MIB OID and MIB Value fields?
(MIB Type: OCTET STRING)
is there any other posibility to send TestName via SNMP Trap?
Well, if you send SNMP Trap then you can provide data as variable within this Trap message. This is the only way and I do not see any problem with this.
how can i use MIB to send SNMP Trap to other host with TestName if bad status occurs
Just use %TestName% as value.
Question is what to do on another end - does your alarmserver understand what to do with such Trap message and how it should be processes? Does it expect some specific Enterprise value, specific variable OID, etc?