Hi all,
Is it possible to falsify the hostname when sending an alarm from a LUA script?
I have a script that works fine, but the alert it fires comes from our Primary NMS Server instead of the original host. I have put the a.hostname variable in the text, but I'd prefer it to look as if it's coming from the correct source.
nimbus.alarm (1,""..a.message.." from hostname "..a.hostname.."")
Is it something like:
nimbus.alarm (1,a.hostname""..a.message.." from hostname "..a.hostname.."")
I've searched everywhere for examples but struggling to find any!